I am replacing a hard disk that had some SMART errors. I did it with the zpool command through ssh instead of through the GUI because searching online it just seems like people complain about how the GUI doesn't work for this.
Anyway, The old drive was ada2p2, and the new one is just ada2. I just realized this might be because when I first created the zpool through the GUI it partitioned the drive to create a swap partition. Do I need to redo this drive replacement so that I can have a swap partition on the new drive? What is the benefit of this and how do I do it? Just use the GUI to replace the drive?
Here are the steps I have taken so far:
1. zpool offline pool-name disk-name
2. turned off computer and replaced disk
3. zpool replace pool-name old-disk-name new-disk-name ( old disk name was ada2p2, new disk name was ada2 )
That is all i have done. it is now 70% through resilvering. My plan is that when it is done i will detach ada2p2 and be done with the process. any thoughts on this? Searching the message board it seems like there is no consensus on how to replace a failing drive which kind of scares me.
I am running the 8.0.4 release version. I originally installed the 8.0.3 release then GUI upgraded to 8.0.4-RC and then 8.0.4-Release. The zpool was created through the GUI in 8.0.3 by doing create volume, selecting my four disks, and picking zfs / raidz.
Anyway, The old drive was ada2p2, and the new one is just ada2. I just realized this might be because when I first created the zpool through the GUI it partitioned the drive to create a swap partition. Do I need to redo this drive replacement so that I can have a swap partition on the new drive? What is the benefit of this and how do I do it? Just use the GUI to replace the drive?
Here are the steps I have taken so far:
1. zpool offline pool-name disk-name
2. turned off computer and replaced disk
3. zpool replace pool-name old-disk-name new-disk-name ( old disk name was ada2p2, new disk name was ada2 )
That is all i have done. it is now 70% through resilvering. My plan is that when it is done i will detach ada2p2 and be done with the process. any thoughts on this? Searching the message board it seems like there is no consensus on how to replace a failing drive which kind of scares me.
I am running the 8.0.4 release version. I originally installed the 8.0.3 release then GUI upgraded to 8.0.4-RC and then 8.0.4-Release. The zpool was created through the GUI in 8.0.3 by doing create volume, selecting my four disks, and picking zfs / raidz.