This is an old revision of the document!
This guide assumes you are using ESXI with passthrough for storage disks and a faster datastore drive.
DiskIdxMap=0C SataPortMap=1 to DiskIdxMap=0C0001 SataPortMap=11 in the set sata_args line in grub.cfg (This limits the two esxi sata controllers to one disk each)Control Panel:Notifications:
: setup emailFile Services:SMB > Advanced Settings:Allow symbolic links within shared foldersAllow symbolic links across shared foldersApply default UNIX permissions (It sets 744/755 instead of 777 for permissions)
Shared Folder:
Group:Create the following groups:people with access to the shares that all the non-Application user accounts should have access to, and the other options left as defaultfamily with access to shares restricted to family and the other options left as defaultlimited with the options left as default, except denying access to all applicationsUser:Create user for all the desired people and Applications/VMs that need accessSend a notification email and enter the user's email addresspeople and any other desired groupsForce users to change password after the administrator resets the password under Advanced while making these accountsSend a notification emailDisallow the user to change account passwordForce users to change password after the administrator resets the password under AdvancedSecurity:Security > Trusted Proxies > Add > Enter the IP address of the Caddy reverse proxy server
: Add other stuff…Video and Music in the Downloads shareln -s /volume1/Video /volume1/Downloads/ln -s /volume1/Music /volume1/Downloads/System:
DSM > Control Panel > Update & Restore > DSM Update:DownloadUpdate Now when the download is finishedPackages:
Package Center > Installed > Attention Required:Update All or Update each package individuallyMoving/Copying between shares that have different file compression settings will not use the quick reflink move/copy, but instead will have to re-write the file even though it is on the same volume. Therefore, if shares are likely to have files copied between them it is recommended to ensure they both have compression enabled or disabled. Since the performance cost is minor, I would recommend keeping it enabled for all shares unless you know a share will almost entirely contain already compressed files and isn't likely to transfer between shares.
Transfers between shared folders even on the same server is slow because it transfers through the client over the network; this is an issue for things like video downloading and transferring to the video share automatically. SMB server-side-copy is only for within a share. NFS 4.2 and Linux kernel 5.5 support NFS server-side-copy between shares/severs, though even Debian 10 doesn't use kernel 5 yet. Even then, I'm unsure whether it supports reflink moves/copies.
The solution I am choosing is to use symlinks with SMB. This requires enabling Allow symbolic links within shared folders and Allow symbolic links across shared folders. And I'll only be using SMB until the NFS server-side-copy is widely supported.