I just installed FreeBSD 12.1-RELEASE with "ZFS on root" and I am overwhelmed by all the datasets it has generated. So I have found out that datasets are cheap and of high use, but I still don't get it.
1. Why is the topmost dataset zroot mounted in /zroot? Its an empty directory. Whats the sense of this? Can I just delete it?
2. When datasets are so cheap and useful while (at the same time) you are not able to snapshot single directories, why isnt FreeBSD creating a new dataset for each user in /home automatically?
3. So it is true that a pool is always completely grabbed by all ZFS datasets on it? So if some bad guy expands a 30TB RAID-Z 3 pool with a cheap usb-stick, he has sucessfully ruined the whole installation, because it immediately grabs the space of the usb-stick, adds it to the pool, all datasets claiming the space and I am unable to remove the usb-stick anymore forever without reinstalling the whole operating system? (I know that a dude with physical and root access can just delete everything for good, but that bad dude is an evil bastard! Seriously, its more an academic question.)
I am completely new to ZFS
1. Why is the topmost dataset zroot mounted in /zroot? Its an empty directory. Whats the sense of this? Can I just delete it?
2. When datasets are so cheap and useful while (at the same time) you are not able to snapshot single directories, why isnt FreeBSD creating a new dataset for each user in /home automatically?
3. So it is true that a pool is always completely grabbed by all ZFS datasets on it? So if some bad guy expands a 30TB RAID-Z 3 pool with a cheap usb-stick, he has sucessfully ruined the whole installation, because it immediately grabs the space of the usb-stick, adds it to the pool, all datasets claiming the space and I am unable to remove the usb-stick anymore forever without reinstalling the whole operating system? (I know that a dude with physical and root access can just delete everything for good, but that bad dude is an evil bastard! Seriously, its more an academic question.)
I am completely new to ZFS