IntroductionAfter many time with / on the venerable UFS file system, I decided to spare a weekend and dedicate it to backing up my data and reinstalling Solaris from scratch and (finally!) having a ZFS root filesystem. My experience with ZFS is so good that I simply could bear no longer the clumsiness of partitioning and slicing. The available Solaris flavors were the following:
- Solaris 10 10/08
- Solaris Express Community Edition
- OpenSolaris 2008.11
/var should reside on / filesystem or if it should be another one.
/zones, and was preparing another set of ZFS file systems below /zones, one for each zone I was going to create. When I installed the first zone, because of a typo on the path I configured for the zone, I realized on zoneadm console output that it was creating a ZFS file system for me! No need of further configuration to do that! Great.
/export/home. When I create a user, I create a ZFS file system for it and mount it on /export/home/username. This way, for example, I can control user quotas and snapshots.
- user disk quotas: having a ZFS file system for every user is very easy for quota management.
- backing up: having separate file systems for /export/home and for every user, snapshotting and backing up individual home directories is straight forward.
- sharing: sharing a ZFS file system is straight forward too, just set ZFS property sharenfs to on.
- time slider: I didn't try this feature (yet), but it seems great. That's what I had been doing with custom script for quite a while, but much cooler (at least because it's SMF managed and has a configuration GUI).
- no partitions: a beginner is not going to plan its installation to determine the necessary partitions/slices and their sizes. A zpool on an entire device is a great advantage to take advantage of all of the available space on your disk(s) without concerns about file system layouts.