
On Sunday, 21 October 2018 11:38:06 PM AEDT Craig Sanders via luv-main wrote:
My partner needs to use dropbox to share files with people at work, and her desktop machine here runs ZFS. When dropbox announced this ext4-only thing a few months ago, I just created a 20GB ZVOL (with "zfs create -V 20G poolname/dropbox"), formatted it as ext4, mounted it as ~/dropbox in /etc/fstab (which is what the dropbox client is configured to use), and chown-ed the mounted fs to her uid & gid.
What will happen with the zfs snapshots that the box takes every minute?
The SD card isn't part of zpool so won't be snapshotted. if you're rsyncing or copying it to ZFS, that's only a read (remember to use the noatime or relatime mount option), not a write so won't affect the SD card's lifespan.
If you use a ZVOL you can make snapshots of that. If you use a filesystem other than ZFS or Ext4 you can use a loopback mount, just create a regular file of a suitable size, run mkfs.ext4, then mount -o loop. If you use BTRFS then you can have a loopback ext4 filesystem snapshotted as part of the subvol that contains it. This will be more of a problem for Windows users who aren't using NTFS as they don't have the options for loopback filesystems that we have (I'm running a corporate Dropbox account and got an email about the Windows users who aren't using NTFS). -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/