zpool import hangs

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

zpool import hangs

Post by scasady » Fri Aug 16, 2013 11:09 am

Trying to import an 8 disk raidz2
zpool import
shows a degraded pool with a degraded vdev. It was resilvering a replaced disk when the system panicked.
zpool import pool
says need -f flag
zpool import -f pool
hangs and is unkillable even on shutdown.
console shows these errors for the disks
8/16/13 10:51:50.000 AM kernel[0]: ldi_open_by_name: $import /dev/dsk/GPTE_AA3F682A-0136-42FB-B47B-FE0D65D53AC7 error 2, flag 1
The disks are all readable by dd and obviously by zfs since they all show up in the zpool output.

Any ideas on what to try next.
scasady Offline


 
Posts: 45
Joined: Sat Sep 15, 2012 8:00 am

Re: zpool import hangs

Post by grahamperrin » Sun Aug 18, 2013 12:11 am

For what it's worth, as reassurance: I'm certain that in the past I encountered unwanted interruptions during a resilver, and those interruptions might have been kernel panics, ultimately no detriment to the pool (subsequently scrubbed without error). But that pool was simple, nothing like your eight-disk arrangement.

Someone with good zdb knowledge (that's not me) might advise a next step.

At some point you might cautiously suppress dynamic import.

ldi_open_by_name

There's a man page for ldi_open_by_name(9F) in the Oracle area (SunOS 5.10, 2004-08-09) where ld is probably logical domain.

Maybe relevant: part of thr3ads.net - zfs discuss - zfs import fails even though all disks are online [Feb 2010], although the context there may be inapplicable on OS X:

> One thing you can try is to use dtrace to look at any ldi_open_by_name(),
> ldi_open_by_devid(), or ldi_open_by_dev() calls that zfs makes. That may
> give a clue as to what's going wrong.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: zpool import hangs

Post by scasady » Tue Aug 20, 2013 10:09 am

something is busted with zevo and/or os x I suspect both.
openindiana live dvd imported the pool and is currently resilvering. When it is done I will try again with zevo and os x.

the ldi... errors were normal missing disks from previous attempts to replace a disk so not relevant.
scasady Offline


 
Posts: 45
Joined: Sat Sep 15, 2012 8:00 am

Re: zpool import hangs

Post by scasady » Wed Aug 21, 2013 2:06 pm

Openindiana successfully imported the pool and started to resilver with the original drive which I believe is going to fail soon.
After the resilver finished I detached the nonexistent drives form the failed replace attempts.

started another replace with a third drive.

The replace started and zpool status looked as it should, no extra drives listed.

Exported the drive and rebooted into OS X. The replace started where it left off on openindiana.

So test your spare drives, on your mac, thoroughly !
scasady Offline


 
Posts: 45
Joined: Sat Sep 15, 2012 8:00 am


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs, toduefiwu and 0 guests

cron