I have searched the forums and google wide, but cannot find a fix for the issue 
I'm currently experiencing. Long story short - I'm now at a point where I 
cannot even import my zpool (zpool import -f tank) without causing a kernel 
panic

I'm running OpenSolaris snv_111b and the zpool is version 14. 

This is the panic from /var/adm/messages;  (full output attached);

genunix: [ID 361072 kern.notice] zfs: freeing free segment 
(offset=3540185931776 size=22528)

This is the output I get from zpool import;

# zpool import
  pool: tank
    id: 15136317365944618902
 state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
        the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:

        tank        ONLINE
          raidz1    ONLINE
            c9t4d0  ONLINE
            c9t5d0  ONLINE
            c9t6d0  ONLINE
            c9t7d0  ONLINE
          raidz1    ONLINE
            c9t0d0  ONLINE
            c9t1d0  ONLINE
            c9t2d0  ONLINE
            c9t3d0  ONLINE

I tried pulling back some info via this zdb command, but i'm not sure if i'm on 
the right track here (as zpool import seems to see the zpool without issue). 
This result is similar from all drives;

# zdb -l /dev/dsk/c9t4d0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3

I also can complete zdb -e tank without issues – it lists all my snapshots and 
various objects without problem (this is still running on the machine at the 
moment) 

I have put the following into /etc/system;

set zfs:zfs_recover=1
set aok=1 

i've also tried mounting the zpool read only with zpool import -f -o ro tank 
but no luck.. 

I dont know where to go next? – am I meant to try and recover using an older 
txg? Errrr.

I would be extremely grateful to anyone who can offer advice on how to resolve 
this issue as the pool contains irreplaceable photos. Unfortunately I have not 
done any backups for a while as I thought raidz would be my savour. :( 

please help
-- 
This message posted from opensolaris.org
Oct 11 17:16:55 opensolaris unix: [ID 836849 kern.notice] 
Oct 11 17:16:55 opensolaris ^Mpanic[cpu0]/thread=ffffff000b6f7c60: 
Oct 11 17:16:55 opensolaris genunix: [ID 361072 kern.notice] zfs: freeing free 
segment (offset=3540185931776 size=22528)
Oct 11 17:16:55 opensolaris unix: [ID 100000 kern.notice] 
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f75f0 
genunix:vcmn_err+2c ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f76e0 
zfs:zfs_panic_recover+ae ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7770 
zfs:space_map_remove+13c ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7820 
zfs:space_map_load+260 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7860 
zfs:metaslab_activate+64 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7920 
zfs:metaslab_group_alloc+2b7 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7a00 
zfs:metaslab_alloc_dva+295 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7aa0 
zfs:metaslab_alloc+9b ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7ad0 
zfs:zio_dva_allocate+3e ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7b00 
zfs:zio_execute+a0 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7b60 
zfs:zio_notify_parent+a6 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7b90 
zfs:zio_ready+188 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7bc0 
zfs:zio_execute+a0 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7c40 
genunix:taskq_thread+193 ()
Oct 11 17:16:55 opensolaris genunix: [ID 655072 kern.notice] ffffff000b6f7c50 
unix:thread_start+8 ()
Oct 11 17:16:55 opensolaris unix: [ID 100000 kern.notice] 
Oct 11 17:16:55 opensolaris genunix: [ID 672855 kern.notice] syncing file 
systems...
Oct 11 17:16:55 opensolaris genunix: [ID 904073 kern.notice]  done
Oct 11 17:16:56 opensolaris genunix: [ID 111219 kern.notice] dumping to 
/dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
Oct 11 17:17:09 opensolaris genunix: [ID 409368 kern.notice] ^M100% done: 
168706 pages dumped, compression ratio 3.58, 
Oct 11 17:17:09 opensolaris genunix: [ID 851671 kern.notice] dump succeeded
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to