Create Mirror from Existing Stripped Configuration

Status
Not open for further replies.

LarryG

Dabbler
Joined
Aug 1, 2013
Messages
13
I have a FreeNAS 9.1 system with an original disk configuration that included one stripped array of 2 disk drives

NAME STATE READ WRITE CKSUM
volume1 ONLINE 0 0 0
gptid/2b992176-0789-11e3-b7c6-ac220b27a6d7 ONLINE 0 0 0
gptid/2bfa0166-0789-11e3-b7c6-ac220b27a6d7 ONLINE 0 0 0

I want to add 2 additional disk drives set up to mirror the original drives above. Following information I found, I used the 'zpool attach' command to link my first new disk to the first disk show above. This was successful and the resilvering process started and completed normally. Mirror seems to have been created . However, now a 'zpool status' command shows me the following

[root@StorageServer ~]# zpool status volume1
pool: volume1
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://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 0 in 4h47m with 0 errors on Thu Sep 12 01:50:39 2013
config:
NAME STATE READ WRITE CKSUM
volume1 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
gptid/2b992176-0789-11e3-b7c6-ac220b27a6d7 ONLINE 0 0 0
12853405053314916433 UNAVAIL 0 0 0 was /dev/gptid/58bb3563-1b5f-11e3-ac49-ac220b27a6d7
gptid/2bfa0166-0789-11e3-b7c6-ac220b27a6d7 ONLINE 0 0 0

The device shown as /dev/gptid/58bb... linked to the mirror entry 1285... is the new disk I added. I'm trying to clear up this situation with little success. I followed the instruction about using the online command and get the following

[root@StorageServer ~]# zpool online volume1 12853405053314916433
warning: device '12853405053314916433' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present

I tried about every derivation of the zpool replace command but am having no success. Do I have do first do another attach? Looking for some help in clearing this error up.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
Code:
zpool status -v
 
camcontrol devlist
 
gpart show
 
glabel status

Be sure to use [code][/code] tags.
 
Status
Not open for further replies.
Top