"Device not ready" while resilvering

Status
Not open for further replies.

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Motherboard: Asus F1A75-V Pro
CPU: AMD A4 3400
RAM: 2x G.Skill F3-12800CL9D-8GBRL
HDD: 4x Seagate ST32000641AS in RaidZ1 (Plus one identical drive as spare)

Although the SeaTools utility showed no errors on any of the drives, I kept getting checksum errors on ada1 (even after disconnecting and reconnecting all cables), so I replaced ada1 by the spare. But now drive activity seems to have stopped, and from the console I see "drive not ready" messages.

Is it safe to reboot at this stage?

Oh, now I see that drive activity has resumed, and there are no more "drive not ready" messages, but I am still curious: Would it have been OK to reboot if I had been impatient and had not taken the time to seek advice here?

And how long should resilvering take?
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
can you run this and show us the output?

Code:
zpool status -v
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
OK. This after resilvering has completed:

Code:
zpool status -v
 
pool: SATA2TBx4
state: DEGRADED
  scan: resilvered 23.8G in 5h57m with 0 errors on Wed Jun 19 16:19:13 2013
config:
 
    NAME                                              STATE    READ WRITE CKSUM
    SATA2TBx4                                        DEGRADED    0    0    0
      raidz1-0                                              DEGRADED    0    0    0
        gptid/4d416db4-e3e4-11e0-bdad-0013d4f46173    ONLINE      0    0    0
        replacing-1                                      OFFLINE      0    0    0
          12931747995223786210                        OFFLINE      0    0  448 
        was /dev/gptid/9587867e-e3df-11e0-85ef-0013d4f46173
        gptid/91490a65-d8eb-11e2-87a8-001b21c4dc34  ONLINE      3 43.4M    0
        gptid/03e4ad90-f08f-11e1-8cae-001b21c4dc34    ONLINE      0    0    0
        gptid/67c6b8b1-e3cb-11e0-b828-0013d4f46173    ONLINE      0    0    0
 
errors: No known data errors


Note: I had offlined and detached the original ada1 and then unplugged the drive (AHCI) and replaced it by the original ada4. Would this have confused the system? Should I have left the old ada4 in its original slot (in a 5-drive cage) and then done the replace?

I have left the machine running: I don't dare reboot now. What should my next move be?
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
In the GUI I see that the status of ada0p2, ada2p2, and apa3p2 is shown as ONLINE (with Available Actions being Edit, Replace, and Offline).

The status of 12931747995223786210 is shown as OFFLINE (with the only Available Action being Detach).

And the status of ada1p2 is shown as null (with the only Available Actions being Edit and Detach).
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
I forgot to mention that at the same time as I was seeing that information yesterday, the Alert indicator in the GUI was green, and if I click on it I see"

"OK: The volume SATA2TBx4 (ZFS) status is HEALTHY"

Likewise, the overnight status report includes the following:

"Last dump(s) done (Dump '>' file systems):

Checking status of zfs pools:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
SATA2TBx4 7.27T 6.03T 1.24T 82% 1.00x DEGRADED /mnt

all pools are healthy"

I am Konfused: how can the pool be both Degraded and Healthy?

And how come the size is shown as 7.27T with 1.24T free? The original capacity would have been just under 6T (3 x 2TB drives + 1 x 2TB for parity), and I distinctly remember that the Free figure immediately before I did the drive replacement was 800+ GB.
 
Status
Not open for further replies.
Top