As the subject says, I can't import a seemingly okay raidz pool and I really
need to as it has some information on it that is newer than the last backup
cycle :-( I'm really in a bind; I hope anyone can help...
Background: A drive in a four-slice pool failed (I have to use slices due to a
motherboard BIOS limitation; EFI labels cause POST to choke). I exported the
pool, powered down, replaced the drive, and now the entire server locks up when
I attempt an import. At first I suspected the .cache was fubar'd so I did an
export to clear it:
--begin--
r...@fortknox:~# zpool export vault
cannot open 'vault': no such pool
===end===
Okay, so the .cache is good. And it can somehow see there is a pool there, but
when trying to import:
--begin--
r...@fortknox:~# zpool import
pool: vault
id: 12084546386451079719
state: DEGRADED
status: One or more devices are offlined.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
config:
vault DEGRADED
raidz1 DEGRADED
c8t0d0s6 ONLINE
c8t1d0s6 ONLINE
c9t0d0s6 OFFLINE
c9t1d0s6 ONLINE
r...@fortknox:~# zpool import vault
===end===
...it hangs indefinitely, entire server locked up (although it responds to
pings). But I know the info is there because zdb -l /dev/dsk/c8t0d0s6 shows:
--begin--
r...@fortknox:~# zdb -l /dev/dsk/c8t0d0s6
LABEL 0
version=14
name='vault'
state=1
txg=689703
pool_guid=12084546386451079719
hostid=4288054
hostname='fortknox'
top_guid=18316851491481709534
guid=9202175319063431582
vdev_tree
type='raidz'
id=0
guid=18316851491481709534
nparity=1
metaslab_array=23
metaslab_shift=35
ashift=9
asize=6000749838336
is_log=0
children[0]
type='disk'
id=0
guid=9202175319063431582
path='/dev/dsk/c8t0d0s6'
devid='id1,s...@sata_st31500341as9vs0n9kw/g'
phys_path='/p...@0,0/pci1462,7...@7/d...@0,0:g'
whole_disk=0
children[1]
type='disk'
id=1
guid=14662350669876577780
path='/dev/dsk/c8t1d0s6'
devid='id1,s...@sata_st31500341as9vs20p51/g'
phys_path='/p...@0,0/pci1462,7...@7/d...@1,0:g'
whole_disk=0
children[2]
type='disk'
id=2
guid=12094645433779503688
path='/dev/dsk/c9t0d0s6'
devid='id1,s...@sata_st31500341as9vs1l8vy/g'
phys_path='/p...@0,0/pci1462,7...@8/d...@0,0:g'
whole_disk=0
DTL=179
offline=1
faulted=1
children[3]
type='disk'
id=3
guid=15554931888608113584
path='/dev/dsk/c9t1d0s6'
devid='id1,s...@sata_st31500341as9vs232h8/g'
phys_path='/p...@0,0/pci1462,7...@8/d...@1,0:g'
whole_disk=0
LABEL 1
version=14
name='vault'
state=1
txg=689703
pool_guid=12084546386451079719
hostid=4288054
hostname='fortknox'
top_guid=18316851491481709534
guid=9202175319063431582
vdev_tree
type='raidz'
id=0
guid=18316851491481709534
nparity=1
metaslab_array=23
metaslab_shift=35
ashift=9
asize=6000749838336
is_log=0
children[0]
type='disk'
id=0
guid=9202175319063431582
path='/dev/dsk/c8t0d0s6'
devid='id1,s...@sata_st31500341as9vs0n9kw/g'
phys_path='/p...@0,0/pci1462,7...@7/d...@0,0:g'
whole_disk=0
children[1]
type='disk'
id=1
guid=14662350669876577780
path='/dev/dsk/c8t1d0s6'
devid='id1,s...@sata_st31500341as9vs20p51/g'
phys_path='/p...@0,0/pci1462,7...@7/d...@1,0:g'
whole_disk=0
children[2]
type='disk'
id=2
guid=12094645433779503688
path='/dev/dsk/c9t0d0s6'
devid='id1,s...@sata_st31500341as9vs1l8vy/g'
phys_path='/p...@0,0/pci1462,7...@8/d...@0,0:g'
whole_disk=0
DTL=179
offline=1
faulted=1
children[3]
type='disk'