Re: [zfs-discuss] Faulted raidz1 shows the same device twice ?!?

2007-12-11 Thread Jeff Thompson
Genius!  The export/import worked great.  With the new drive plugged in, I got:
# zpool status
  raidz1  DEGRADED 0 0 0
c18t0d0   ONLINE   0 0 0
17017229752965797825  FAULTED  0 0 0  was 
/dev/dsk/c18t0d0s0

Then I was able to replace:
# zpool replace external 17017229752965797825 c19t0d0

After resilvering, I'm up and running!

(For the question of where it was showing c18t0d0, it's interesting that it 
thought the second drive was c18t0d0s0.  Can you have a raidz1 with c18t0d0 and 
c18t0d0s0?)
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Faulted raidz1 shows the same device twice ?!?

2007-12-11 Thread Richard Kowalski
To resolve this issue you need to run:

# zdb -l /dev/dsk/c18t0d0

# zpool export external
# zpool import external

# zpool clear external
# zpool scrub external
# zpool clear external


(I do not have specific answers to your questions at this time, only a fix.)
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Faulted raidz1 shows the same device twice ?!?

2007-12-10 Thread Jeff Thompson
zpool status shows:
NAME STATE READ WRITE CKSUM
external DEGRADED 0 0 0
  raidz1 DEGRADED 0 0 0
c18t0d0  ONLINE   0 0 0
c18t0d0  FAULTED  0 0 0  corrupted data

I used to have a normal raidz1 with devices c18t0d0 and c19t0d0 but c19t0d0 
broke. So, I plugged a new drive in its slot.  But attach and replace give 
errors:

# zpool replace external c19t0d0
cannot replace c19t0d0 with c19t0d0: no such device in pool

# zpool attach external c18t0d0 c19t0d0
cannot attach c19t0d0 to c18t0d0: can only attach to mirrors and top-level disks

Why does zpool status show the same drive twice?  How can I clear the fault and 
attach a new good drive in c19t0d0?

Any help appreciated,
- Jeff
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss