Shortly after setting up my zpool, one Seagate drive started showing bad sectors ... so it is being returned for a replacement.
The procedure for replacing the drive, seems to be:
Unfortunately, zpool offline does not have the expected result of changing the state to 'OFFLINE' -- the drive still shows up as 'FAULTED'.
Display All
I have tried all the variations of 'zpool offline' I could think of:
Will this cause me trouble when the time comes to 'zpool replace' this drive with a new drive or should I just chill?
Thanks for any insights or shared experiences!
The procedure for replacing the drive, seems to be:
- zpool offline <pool> <bad drive>
- zpool replace <pool> <bad drive> <new drive>
- wait for resilver
Unfortunately, zpool offline does not have the expected result of changing the state to 'OFFLINE' -- the drive still shows up as 'FAULTED'.
Source Code
- root@omv-nas:~# zpool status
- pool: data
- state: DEGRADED
- status: One or more devices are faulted in response to persistent errors.
- Sufficient replicas exist for the pool to continue functioning in a
- degraded state.
- action: Replace the faulted device, or use 'zpool clear' to mark the device
- repaired.
- scan: none requested
- config:
- NAME STATE READ WRITE CKSUM
- data DEGRADED 0 0 0
- mirror-0 ONLINE 0 0 0
- ata-ST12000NM0007-2A1101_ZJV310R4 ONLINE 0 0 0
- ata-ST12000NM0007-2A1101_ZJV3B4T7 ONLINE 0 0 0
- mirror-1 DEGRADED 0 0 0
- ata-ST12000NM0007-2A1101_ZJV24C09 ONLINE 0 0 0
- ata-ST12000NM0007-2A1101_ZJV2LDGN FAULTED 0 0 0 external device fault
- mirror-2 ONLINE 0 0 0
- ata-WDC_WD80EFZX-68UW8N0_VK1B10SY ONLINE 0 0 0
- ata-WDC_WD80EFZX-68UW8N0_VK1E4SPY ONLINE 0 0 0
- mirror-3 ONLINE 0 0 0
- ata-WDC_WD80EFZX-68UW8N0_VK1E696Y ONLINE 0 0 0
- ata-WDC_WD80EFZX-68UW8N0_VLH2U7GY ONLINE 0 0 0
- errors: No known data errors
I have tried all the variations of 'zpool offline' I could think of:
- zpool offline data ata-ST12000NM0007-2A1101_ZJV2LDGN
- zpool offline data /dev/disk/by-id/ata-ST12000NM0007-2A1101_ZJV2LDGN
- zpool offline data 3630560290011746901 (GUID)
- zpool offline -f data 3630560290011746901 (GUID)
Will this cause me trouble when the time comes to 'zpool replace' this drive with a new drive or should I just chill?

Thanks for any insights or shared experiences!
The post was edited 2 times, last by davidknudsen ().