- Code: Select all
$ zpool status
pool: Midden
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: resilvered 284K in 0h0m with 0 errors on Mon Mar 14 02:01:48 2016
config:
NAME STATE READ WRITE CKSUM
Midden DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
disk6 ONLINE 0 0 0
media-2AAD0BEC-7AB3-A744-80CA-CA21F00A59A4 OFFLINE 0 0 0
mirror-1 ONLINE 0 0 0
media-A833F256-1C6B-2F4D-AFBD-03DB0B3D2ADA ONLINE 0 0 0
media-6B747E0C-CD67-224E-8837-5CDBAF94FCA5 ONLINE 0 0 0
The offlined disk (...9A4) used to show a "4" in the CKSUM column until I offlined it and cleared it.
My intention was to resilver it with the contents of disk6. (The problem disk is currently known as disk5.)
Now I can't get ZFS to accept the drive back into the pool:
- Code: Select all
$ sudo zpool replace Midden media-2AAD0BEC-7AB3-A744-80CA-CA21F00A59A4 disk5
cannot replace media-2AAD0BEC-7AB3-A744-80CA-CA21F00A59A4 with disk5: no such device in pool
$ sudo zpool attach Midden disk6 disk5
cannot attach disk5 to disk6: disk5 is busy
I don't have another disk this large to replace it with at the moment, and I'm not convinced the problem is with the disk, anyway. The earlier symptom is that the disk enclosure lights started behaving erratically, so I moved both disks to separate USB enclosures, and am trying to rebuild the pool in that temporary state while I diagnose the enclosure.
The physical layout is two Lacie 2big Thunderbolt enclosures, daisy-chained. These are not RAID enclosures; the OS sees them as hosting two separate disks. I started with one 2x4TB mirror, then later added a 2x6TB mirror. It is the latter that is having trouble.
EDIT: I've already tried exporting the pool and reimporting. I've also rebooted several times. I even tried to work on it in single-user-mode, but I couldn't get the driver to load; something about "Trust cache is disabled." and invalid driver signatures.