I use the ZFS on my Ubuntu natively (on root). I have two 2TB Seagate
Hard drives, one 1TB also Seagate which is the oldest and the failed
2TB hard drive. I can't tell which one is going to fail next. It is
never about the hours and years it has been spinning. The youngest
drive is 1 year and 1 month old. The oldest drive is 7 years plus
months.
It is the Operating System and or the motherboard itself which tells
you when a hard drive is failing. When this happens, ZFS will also
concur and declares the pool degraded. I have three hard drives
(devices) that form the pool plus one hard drive for parity. Parity
means 1 drive can fail without data loss.
I have to take the failed drive offline. The command for that is:
#zpool offline [pool] [device]
You can use the device GUID or the name of the device.
I then replaced the old hard drive with the new one. The command for
that is :
#zpool replace [pool] [old device] [new device]
You can use the device GUID or the name of the device.
Information on the device can be found on $zpool status [pool] or $zdb.
ZFS will resilver and calculate parity using the new device. All you
have to do is wait until it finishes. The data is available for use.
ZFS does this in the background.
Hard drives, one 1TB also Seagate which is the oldest and the failed
2TB hard drive. I can't tell which one is going to fail next. It is
never about the hours and years it has been spinning. The youngest
drive is 1 year and 1 month old. The oldest drive is 7 years plus
months.
It is the Operating System and or the motherboard itself which tells
you when a hard drive is failing. When this happens, ZFS will also
concur and declares the pool degraded. I have three hard drives
(devices) that form the pool plus one hard drive for parity. Parity
means 1 drive can fail without data loss.
I have to take the failed drive offline. The command for that is:
#zpool offline [pool] [device]
You can use the device GUID or the name of the device.
I then replaced the old hard drive with the new one. The command for
that is :
#zpool replace [pool] [old device] [new device]
You can use the device GUID or the name of the device.
Information on the device can be found on $zpool status [pool] or $zdb.
ZFS will resilver and calculate parity using the new device. All you
have to do is wait until it finishes. The data is available for use.
ZFS does this in the background.
Comments