On my recently set up machine I use ZFS under Linux Mint (LMDE 6) for creating storage pools and using the ZFS filesystem.The specific storage setup is four 1 TB HDD arranged in RAID-Z2 topology.The OS itself was installed to a ext4 partition on a separate SSD drive, while the partitioning was done by the installer.I have moved the \home directory to the ZFS pool by
- copying its contents to a dataset named zpool\home
- removing the original \home directory on the root filesystem
- creating a mountpoint for the dataset on the root filesystem by
zfs set mountpoint="\home" zpool\home
Moving the \home directory to the zpool worked without problems.
Now I am structuring the filesystems, e.g. creating datasets, setup compression, snapshots etc..When it comes to mountpoints it is clear to me that any dataset and its childs can be mounted anywhere in the Linux filesystem.My question is if there could arise any problems when trying to mount datasets to locations in the new \home directory. For example as with:zfs create zpool\very-important-documents
zfs set mountpoint="\home\user\very-important-documents" zpool\very-important-documents
Is it considered bad practice to set mountpoint of datasets to locations in directories which themselfes are located inside datasets? If yes what are the specific problems that could arise? Would it be better to set the mountpoints in the root filesystem directly?