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 ad8 ONLINE 0 0 0 ad10 ONLINE 0 0 0 ad4 ONLINE 0 0 0 ad6 ONLINE 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
On Fri, 3 Dec 2010, Curtis Schiewek wrote:> NAME STATE READ WRITE CKSUM > media DEGRADED 0 0 0 > raidz1 ONLINE 0 0 0 > ad8 ONLINE 0 0 0 > ad10 ONLINE 0 0 0 > ad4 ONLINE 0 0 0 > ad6 ONLINE 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 0What happens if you try "zpool detach media ad24"?
cannot detach ad24: no valid replicas On Fri, Dec 3, 2010 at 1:38 PM, Mark J Musante <Mark.Musante at 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 >> ad8 ONLINE 0 0 0 >> ad10 ONLINE 0 0 0 >> ad4 ONLINE 0 0 0 >> ad6 ONLINE 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"? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101203/338fb45b/attachment.html>
On Fri, 3 Dec 2010, Curtis Schiewek wrote:> cannot detach ad24: no valid replicasI 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.Musante at 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 >>> ad8 ONLINE 0 0 0 >>> ad10 ONLINE 0 0 0 >>> ad4 ONLINE 0 0 0 >>> ad6 ONLINE 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"? >> >
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
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.Musante at oracle.com>wrote:> > > 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.Musante at 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 >>>> ad8 ONLINE 0 0 0 >>>> ad10 ONLINE 0 0 0 >>>> ad4 ONLINE 0 0 0 >>>> ad6 ONLINE 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"? >>> >>> >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101206/bea765a8/attachment-0001.html>
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?