Hello,
Pardon a very stupid question, but I searched prior and couldn't make out the exact answer = \
Anyways,
I have 4 new drives. I am trying to format them, with 4k alignment, and then group them into one RAID-Z vdev and than either attach them to existing pool or create a new pool using it.
or if I am attaching
Then if I want to add facilities like slog for example, I don't format those, correct? So I would just do
zpool attach pool-name-here log sdb1
Then make my file systems etc. with
And so to mount this at boot time I add (zfs_enable="YES") into rc.conf and (zfs_load="YES") into loader.conf correct?
Could you please let me know if I am missing something? I always done this automagically at installation, now taking it seriously etc. doing it manually..
Pardon a very stupid question, but I searched prior and couldn't make out the exact answer = \
Anyways,
I have 4 new drives. I am trying to format them, with 4k alignment, and then group them into one RAID-Z vdev and than either attach them to existing pool or create a new pool using it.
Code:
gpart create -s GPT ad0 (repeat n times for all drives)
gpart add -t freebsd-zfs -a 4k ad0 (repeat n times for all drives)
zpool create pool-name-here raidz ad0 ad1 ad2 ad3
or if I am attaching
zpool add pool-name-here raidz ad4 ad5 ad6 ...
Then if I want to add facilities like slog for example, I don't format those, correct? So I would just do
zpool attach pool-name-here log sdb1
Then make my file systems etc. with
zfs create
And so to mount this at boot time I add (zfs_enable="YES") into rc.conf and (zfs_load="YES") into loader.conf correct?
Could you please let me know if I am missing something? I always done this automagically at installation, now taking it seriously etc. doing it manually..