As some of you may already know, I'm setting up a NAS at home using FreeBSD.
After such a long time, I got all the hardware I need.
I still have one question concerning the installation of FreeBSD itself ("root" disc).
I have read http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror, and plan to use 2x1TB HDDs for "root" partition.
I see 3 partitions are required/suggested in that tutorial: one for the bootloader (I think that's what's required on GNU/Linux when Grub2 + GPT are used), one for swap and one for the "/" device.
Maybe I didn't understand all of ZFS (yet), but I see you have to sub-partition the ZFS pool (?) by using the command
to create the "/usr" partition.
Is it normal you don't have to specify a partition's size? Being used to GNU/Linux I usually specify the sizes of all of my partitions (even though with LVM I may be able to resize them easily).
Is therefore ZFS providing some kind of "dynamic space allocation"?
I read somewhere on the FreeBSD community forums that most of the times multiple partitions are suggested and in that case a size was specified for them. Or this is all UFS-related? For a ZFSOnRoot setup, are there additionnal partitions not listed in that guide?
I think I only need to setup one single slice and 3 partitions in fdisk/gpart. The rest should be taken care by "zfs" / "zpool", right?
Isn't there a way to fix the partition's (or whatever it would be called) size with the "zpool" command? Sometimes you just don't want some partitions to become too big ...
Or is using ZFS for Root just asking for problems?
After such a long time, I got all the hardware I need.
I still have one question concerning the installation of FreeBSD itself ("root" disc).
I have read http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror, and plan to use 2x1TB HDDs for "root" partition.
I see 3 partitions are required/suggested in that tutorial: one for the bootloader (I think that's what's required on GNU/Linux when Grub2 + GPT are used), one for swap and one for the "/" device.
Maybe I didn't understand all of ZFS (yet), but I see you have to sub-partition the ZFS pool (?) by using the command
Code:
zfs create zroot/usr
Is it normal you don't have to specify a partition's size? Being used to GNU/Linux I usually specify the sizes of all of my partitions (even though with LVM I may be able to resize them easily).
Is therefore ZFS providing some kind of "dynamic space allocation"?
I read somewhere on the FreeBSD community forums that most of the times multiple partitions are suggested and in that case a size was specified for them. Or this is all UFS-related? For a ZFSOnRoot setup, are there additionnal partitions not listed in that guide?
I think I only need to setup one single slice and 3 partitions in fdisk/gpart. The rest should be taken care by "zfs" / "zpool", right?
Isn't there a way to fix the partition's (or whatever it would be called) size with the "zpool" command? Sometimes you just don't want some partitions to become too big ...
Or is using ZFS for Root just asking for problems?