Chris Cantwell
Cadet
- Joined
- Apr 3, 2012
- Messages
- 2
Hello,
I have FreeNAS 8.0.4 running a ZFS RAIDZ array of four 2GB Western Digital 20GB (4K sector) drives. I configured FreeNAS to use 4K sector drives in the GUI.
FreeNAS is reporting bad sectors on one of the drives (ada1), so I need to replace it. I have identified the serial number of the faulty ada1 drive.
The normal commands for replacing the drive are:
#zfs offline <poolname> ada1
(power down, replace drive, restart system)
#zfs replace <poolname> ada1
However ZFS is modified with the gnop command to accomodate 4K sector drives; the command for setting up an unformatted drive using gnop is:
#gnop create -S 4096 /dev/ada1
Do I have to make sure the replacement drive is also configured with gnop? I don't want to destroy the zfs array by not doing it, on the other hand I don't want to do this if it is not necessary.
Does anyone have any comments?
Thanks,
Chris
I have FreeNAS 8.0.4 running a ZFS RAIDZ array of four 2GB Western Digital 20GB (4K sector) drives. I configured FreeNAS to use 4K sector drives in the GUI.
FreeNAS is reporting bad sectors on one of the drives (ada1), so I need to replace it. I have identified the serial number of the faulty ada1 drive.
The normal commands for replacing the drive are:
#zfs offline <poolname> ada1
(power down, replace drive, restart system)
#zfs replace <poolname> ada1
However ZFS is modified with the gnop command to accomodate 4K sector drives; the command for setting up an unformatted drive using gnop is:
#gnop create -S 4096 /dev/ada1
Do I have to make sure the replacement drive is also configured with gnop? I don't want to destroy the zfs array by not doing it, on the other hand I don't want to do this if it is not necessary.
Does anyone have any comments?
Thanks,
Chris