Re: [zfs-discuss] Problem with a failed replace.

2010-12-07 Thread Mark J Musante

On Mon, 6 Dec 2010, Curtis Schiewek wrote:


Hi Mark,

I've tried running zpool attach media ad24 ad12 (ad12 being the new 
disk) and I get no response.  I tried leaving the command run for an 
extended period of time and nothing happens.


What version of solaris are you running?
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Problem with a failed replace.

2010-12-06 Thread Curtis Schiewek
Hi Mark,

I've tried running zpool attach media ad24 ad12 (ad12 being the new disk)
and I get no response.  I tried leaving the command run for an extended
period of time and nothing happens.

Thoughts?

On Fri, Dec 3, 2010 at 2:09 PM, Mark J Musante mark.musa...@oracle.comwrote:



 On Fri, 3 Dec 2010, Curtis Schiewek wrote:

  cannot detach ad24: no valid replicas


 I bet that's an instance of CR 6909724.  If you have another disk you can
 spare, you can do a zpool attach media ad24 newdisk, wait for it to
 finish resilvering, and then zfs should automatically clean up ad24  ad18
 for you.



 On Fri, Dec 3, 2010 at 1:38 PM, Mark J Musante mark.musa...@oracle.com
 wrote:

  On Fri, 3 Dec 2010, Curtis Schiewek wrote:

NAME   STATE READ WRITE CKSUM

   media  DEGRADED 0 0 0
 raidz1   ONLINE   0 0 0
   ad8ONLINE   0 0 0
   ad10   ONLINE   0 0 0
   ad4ONLINE   0 0 0
   ad6ONLINE   0 0 0
 raidz1   DEGRADED 0 0 0
   ad22   ONLINE   0 0 0
   ad26   ONLINE   0 0 0
   replacing  UNAVAIL  0 66.4K 0  insufficient replicas
 ad24 FAULTED  0 75.1K 0  corrupted data
 ad18 FAULTED  0 75.2K 0  corrupted data
   ad24   ONLINE   0 0 0


 What happens if you try zpool detach media ad24?





___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Problem with a failed replace.

2010-12-03 Thread Curtis Schiewek
I was in the middle of doing a replace on a bad drive and I lost power.  Now 
the replacement won't finish and I'm not sure what to do.  I've tried 
detaching, reataching, moving drives around, and nothing works.  Here's my 
zpool status:


  pool: media
 state: DEGRADED
 scrub: scrub completed after 10h7m with 0 errors on Thu Dec  2 09:05:04 2010
config:

NAME   STATE READ WRITE CKSUM
media  DEGRADED 0 0 0
  raidz1   ONLINE   0 0 0
ad8ONLINE   0 0 0
ad10   ONLINE   0 0 0
ad4ONLINE   0 0 0
ad6ONLINE   0 0 0
  raidz1   DEGRADED 0 0 0
ad22   ONLINE   0 0 0
ad26   ONLINE   0 0 0
replacing  UNAVAIL  0 66.4K 0  insufficient replicas
  ad24 FAULTED  0 75.1K 0  corrupted data
  ad18 FAULTED  0 75.2K 0  corrupted data
ad24   ONLINE   0 0 0

I've actually moved the drive (which is fine) that was on ad20 to the ad24 port 
on my controller, which is why it's showing up twice.  

Any thoughts on how to cancel the replace and restart it?
-- 
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] Problem with a failed replace.

2010-12-03 Thread Mark J Musante

On Fri, 3 Dec 2010, Curtis Schiewek wrote:


NAME   STATE READ WRITE CKSUM
media  DEGRADED 0 0 0
  raidz1   ONLINE   0 0 0
ad8ONLINE   0 0 0
ad10   ONLINE   0 0 0
ad4ONLINE   0 0 0
ad6ONLINE   0 0 0
  raidz1   DEGRADED 0 0 0
ad22   ONLINE   0 0 0
ad26   ONLINE   0 0 0
replacing  UNAVAIL  0 66.4K 0  insufficient replicas
  ad24 FAULTED  0 75.1K 0  corrupted data
  ad18 FAULTED  0 75.2K 0  corrupted data
ad24   ONLINE   0 0 0


What happens if you try zpool detach media ad24?
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Problem with a failed replace.

2010-12-03 Thread Curtis Schiewek
cannot detach ad24: no valid replicas

On Fri, Dec 3, 2010 at 1:38 PM, Mark J Musante mark.musa...@oracle.comwrote:

 On Fri, 3 Dec 2010, Curtis Schiewek wrote:

 NAME   STATE READ WRITE CKSUM
media  DEGRADED 0 0 0
  raidz1   ONLINE   0 0 0
ad8ONLINE   0 0 0
ad10   ONLINE   0 0 0
ad4ONLINE   0 0 0
ad6ONLINE   0 0 0
  raidz1   DEGRADED 0 0 0
ad22   ONLINE   0 0 0
ad26   ONLINE   0 0 0
replacing  UNAVAIL  0 66.4K 0  insufficient replicas
  ad24 FAULTED  0 75.1K 0  corrupted data
  ad18 FAULTED  0 75.2K 0  corrupted data
ad24   ONLINE   0 0 0


 What happens if you try zpool detach media ad24?

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Problem with a failed replace.

2010-12-03 Thread Mark J Musante



On Fri, 3 Dec 2010, Curtis Schiewek wrote:


cannot detach ad24: no valid replicas


I bet that's an instance of CR 6909724.  If you have another disk you can 
spare, you can do a zpool attach media ad24 newdisk, wait for it to 
finish resilvering, and then zfs should automatically clean up ad24  ad18 
for you.




On Fri, Dec 3, 2010 at 1:38 PM, Mark J Musante mark.musa...@oracle.comwrote:


On Fri, 3 Dec 2010, Curtis Schiewek wrote:

NAME   STATE READ WRITE CKSUM

   media  DEGRADED 0 0 0
 raidz1   ONLINE   0 0 0
   ad8ONLINE   0 0 0
   ad10   ONLINE   0 0 0
   ad4ONLINE   0 0 0
   ad6ONLINE   0 0 0
 raidz1   DEGRADED 0 0 0
   ad22   ONLINE   0 0 0
   ad26   ONLINE   0 0 0
   replacing  UNAVAIL  0 66.4K 0  insufficient replicas
 ad24 FAULTED  0 75.1K 0  corrupted data
 ad18 FAULTED  0 75.2K 0  corrupted data
   ad24   ONLINE   0 0 0



What happens if you try zpool detach media ad24?






___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Problem with a failed replace.

2010-12-03 Thread Günther
i have had the same problem a few weeks ago
and destroyed/rebuilded my pool (NexentaCore)

this seems to be a zfs bug, see

* http://bugs.opensolaris.org/bugdatabase and goto bug_id=6782540
* fixed in zpool version 28

gea
napp-it.org
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss