benamira
Explorer
- Joined
- Oct 12, 2011
- Messages
- 61
Hi,
I have a problem trying to replace a hard drive that shows a SMART error with a new one in the same position.
Here you have the pictures of the config before replacing.
Here is the output from the cli: zpool status NFS
pool: NFS
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-2Q
scrub: scrub completed after 9h9m with 0 errors on Tue Dec 13 12:10:50 2011
config:
NAME STATE READ WRITE CKSUM
NFS DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
gptid/127a73df-f4eb-11e0-a31f-f46d0473b996 UNAVAIL 3 1.15M 17 cannot open
gptid/132699fa-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/13dddd61-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/148d9aa8-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/153d15cd-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/15f92898-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
It seems no data loss and raidz1 is working as expected, but when trying to replace the issues come in.
I shutdown the system, pull out the bad drive, and then insert in the same position the new one (same manufacturer, same size) because i dont have more ports available.
My guess was that i would be able to rebuild the volume with the new drive, but it seems it detects the new drive inside the Volume again, and each old drive takes a new name like: the current ada 1 becomes ada0, ada2 becomes ada 1 and so on.
I am not sure to do a "zpool replace NFS ada0" because ada0 now is one of the good drives, so i will miss data, wont i?
Any ideas about the procedure to follow to replace this drive??
Thanks a lot
I have a problem trying to replace a hard drive that shows a SMART error with a new one in the same position.
Here you have the pictures of the config before replacing.
Here is the output from the cli: zpool status NFS
pool: NFS
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-2Q
scrub: scrub completed after 9h9m with 0 errors on Tue Dec 13 12:10:50 2011
config:
NAME STATE READ WRITE CKSUM
NFS DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
gptid/127a73df-f4eb-11e0-a31f-f46d0473b996 UNAVAIL 3 1.15M 17 cannot open
gptid/132699fa-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/13dddd61-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/148d9aa8-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/153d15cd-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
gptid/15f92898-f4eb-11e0-a31f-f46d0473b996 ONLINE 0 0 0
It seems no data loss and raidz1 is working as expected, but when trying to replace the issues come in.
I shutdown the system, pull out the bad drive, and then insert in the same position the new one (same manufacturer, same size) because i dont have more ports available.
My guess was that i would be able to rebuild the volume with the new drive, but it seems it detects the new drive inside the Volume again, and each old drive takes a new name like: the current ada 1 becomes ada0, ada2 becomes ada 1 and so on.
I am not sure to do a "zpool replace NFS ada0" because ada0 now is one of the good drives, so i will miss data, wont i?
Any ideas about the procedure to follow to replace this drive??
Thanks a lot