Hi My computer reboots when I try to import my degraded pool. I''m running the OpenSolaris 2008.11 RC1b LiveCD and I have (had) a raidz pool with four drives. I formated one of the disks, so the pool is now in a degraded state. When I do "zpool import -f tank" the computer just reboots without any warning. Is this a known bug? Or is it just pebkac? //Tobbe -- This message posted from opensolaris.org
The pool used to consist of z6d0, c7d0, c4t0d0, and c4t1d0. Now I get the following when doing "zpool import" jack at opensolaris:~# zpool import pool: tank id: 12465835398523411309 state: DEGRADED status: The pool was last accessed by another system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-EY config: tank DEGRADED raidz1 DEGRADED c7d0 FAULTED corrupted data c7d0 ONLINE c4t0d0 ONLINE c4t1d0 ONLINE -- This message posted from opensolaris.org
The output of zpool import is now jack at opensolaris:~# zpool import pool: tank id: 12465835398523411309 state: DEGRADED status: The pool was last accessed by another system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-EY config: tank DEGRADED raidz1 DEGRADED c7d0 UNAVAIL cannot open c6d0 ONLINE c3t0d0 ONLINE c3t1d0 ONLINE Changes being that c7d0 shows up as UNAVAIL instead of FAULTED and that c6d0 shows up at all, it didn''t before. My computer still reboots when trying to import this pool though. Any idea why? -- This message posted from opensolaris.org
Tobbe Lundberg
2009-Jan-14 14:38 UTC
[zfs-discuss] Reboot during import (now with kernel panic log)
I have now installed OpenSolaris 2008.11 to a harddrive so I could catch the shutdown messages that gets written to /var/adm/messages. When my computer reboots I get a kernel panic and this is the relevant part of the log: (also posted here if you don''t like the linebreaks: http://paste2.org/p/129753) Jan 14 15:12:40 opensolaris unix: [ID 836849 kern.notice] Jan 14 15:12:40 opensolaris ^Mpanic[cpu1]/thread=ffffff000c0dec80: Jan 14 15:12:40 opensolaris genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=ffffff000c0de680 addr=0 occurred in module "unix" due to a NULL pointer dereference Jan 14 15:12:40 opensolaris unix: [ID 100000 kern.notice] Jan 14 15:12:40 opensolaris unix: [ID 839527 kern.notice] sched: Jan 14 15:12:40 opensolaris unix: [ID 753105 kern.notice] #pf Page fault Jan 14 15:12:40 opensolaris unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x0 Jan 14 15:12:40 opensolaris unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb84e84b, sp=0xffffff000c0de778, eflags=0x10246 Jan 14 15:12:40 opensolaris unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de> Jan 14 15:12:40 opensolaris unix: [ID 624947 kern.notice] cr2: 0 Jan 14 15:12:40 opensolaris unix: [ID 625075 kern.notice] cr3: 3400000 Jan 14 15:12:40 opensolaris unix: [ID 625715 kern.notice] cr8: c Jan 14 15:12:40 opensolaris unix: [ID 100000 kern.notice] Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] rdi: 0 rsi: 0 rdx: ffffff000c0dec80 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] rcx: 20 r8: 0 r9: ffffff025b247040 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] rax: 0 rbx: 400 rbp: ffffff000c0de7e0 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] r10: 1a6ee4882b124b r11: ffffff025c2173f8 r12: 0 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] r13: 50000f9800 r14: 3191 r15: ffffff02544c0000 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] fsb: 0 gsb: ffffff0252ea8540 ds: 4b Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] es: 4b fs: 0 gs: 1c3 Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] trp: e err: 2 rip: fffffffffb84e84b Jan 14 15:12:40 opensolaris unix: [ID 592667 kern.notice] cs: 30 rfl: 10246 rsp: ffffff000c0de778 Jan 14 15:12:40 opensolaris unix: [ID 266532 kern.notice] ss: 38 Jan 14 15:12:40 opensolaris unix: [ID 100000 kern.notice] Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de560 unix:die+dd () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de670 unix:trap+1752 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de680 unix:_cmntrap+e9 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de7e0 unix:mutex_enter+b () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de850 zfs:metaslab_free+12e () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de870 zfs:zio_dva_free+26 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de8a0 zfs:zio_execute+a0 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de8d0 zfs:zio_nowait+57 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de960 zfs:arc_free+18f () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0de9b0 zfs:dsl_free+30 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0dea40 zfs:dsl_dataset_block_kill+293 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0deac0 zfs:dmu_objset_sync+c4 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0deb30 zfs:dsl_pool_sync+1e8 () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0debc0 zfs:spa_sync+2af () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0dec60 zfs:txg_sync_thread+1fc () Jan 14 15:12:40 opensolaris genunix: [ID 655072 kern.notice] ffffff000c0dec70 unix:thread_start+8 () Jan 14 15:12:40 opensolaris unix: [ID 100000 kern.notice] Jan 14 15:12:40 opensolaris genunix: [ID 672855 kern.notice] syncing file systems... Jan 14 15:12:40 opensolaris genunix: [ID 904073 kern.notice] done Jan 14 15:12:41 opensolaris genunix: [ID 111219 kern.notice] dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel Jan 14 15:12:47 opensolaris genunix: [ID 409368 kern.notice] ^M100% done: 107977 pages dumped, compression ratio 4.62, Jan 14 15:12:47 opensolaris genunix: [ID 851671 kern.notice] dump succeeded -- This message posted from opensolaris.org