Hi all,
I initialized a scrub on my home NAS, and directly aftwards initialized a sleep function on myself, then when I woke up the next morning, the NAS had rebooted and hung after starting ZFS with Fatal trap 12. If I started it up without ZFS, it was OK. Then directly after I tried to mount the ZFS filesystems, it paniced again. That system ran FreeBSD 8.0 i386 compiled from cvsup. I consulted mister Google, found some information where the tip was to upgrade FreeBSD since 8-STABLE has many ZFS-oriented fixes and improvements. So after upgrading, I started it up with 8.1-STABLE without ZFS- still OK so far. Next step would be to try and import the pool, since the new system didn´t know it had a pool imported before;
So I thought: Could this be caused by me running FreeBSD on a non-generic system?
Since i run my root disk on a CF card, I just popped the card out, in with a empty one, installed 8.1-RELEASE, and booted generic kernel. Like the last time, everything works fine until I try to import the pool, and then it panics.
The pool itself however seems to be OK, ´cause if just run
I can see the pool, and there are no errors reported.
This absolutely sucks an elephants *something*! Ugh, I thought I had taken every precaution- building a storage system with redundancy up the wazzoo:
Boots from USB-key (and have a spare lying in case)
Mounts / from CF-drive (have spare for that as well)
ZFS then mounts /home /tmp /usr /var from pool
Pool is built with two parity disks and also one hotspare to be certain I could rely on it.
Damn you, Murphys Law!
Stored on this system is about 2TB of personal data that is extremely dear to me, especially all the images of my daughter. I need help.
/Sebulon
I initialized a scrub on my home NAS, and directly aftwards initialized a sleep function on myself, then when I woke up the next morning, the NAS had rebooted and hung after starting ZFS with Fatal trap 12. If I started it up without ZFS, it was OK. Then directly after I tried to mount the ZFS filesystems, it paniced again. That system ran FreeBSD 8.0 i386 compiled from cvsup. I consulted mister Google, found some information where the tip was to upgrade FreeBSD since 8-STABLE has many ZFS-oriented fixes and improvements. So after upgrading, I started it up with 8.1-STABLE without ZFS- still OK so far. Next step would be to try and import the pool, since the new system didn´t know it had a pool imported before;
Code:
#zpool import -f zpool
Nov 7 20:59:48 main kernel: ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable,
Nov 7 20:59:48 main kernel: add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
Nov 7 20:59:48 main kernel: ZFS filesystem version 13
Nov 7 20:59:48 main kernel: ZFS storage pool version 13
Nov 7 21:01:25 main syslogd: kernel boot file is /boot/kernel/kernel
Nov 7 21:01:25 main kernel:
Nov 7 21:01:25 main kernel:
Nov 7 21:01:25 main kernel: Fatal trap 12: page fault while in kernel mode
Nov 7 21:01:25 main kernel: cpuid = 1; apic id = 01
Nov 7 21:01:25 main kernel: fault virtual address = 0x201f1f4
Nov 7 21:01:25 main kernel: fault code = supervisor read, page not present
Nov 7 21:01:25 main kernel: instruction pointer = 0x20:0x80662d54
Nov 7 21:01:25 main kernel: stack pointer = 0x28:0xfe90f12c
Nov 7 21:01:25 main kernel: frame pointer = 0x28:0xfe90f174
Nov 7 21:01:25 main kernel: code segment = base 0x0, limit 0xfffff, type 0x1b
Nov 7 21:01:25 main kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 7 21:01:25 main kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Nov 7 21:01:25 main kernel: current process = 937 (thread_enter)
Nov 7 21:01:25 main kernel: trap number = 12
Nov 7 21:01:25 main kernel: panic: page fault
Nov 7 21:01:25 main kernel: cpuid = 0
Nov 7 21:01:25 main kernel: KDB: stack backtrace:
Nov 7 21:01:25 main kernel: #0 0x8069019f at kdb_backtrace+0x4a
Nov 7 21:01:25 main kernel: #1 0x806582f2 at panic+0x150
Nov 7 21:01:25 main kernel: #2 0x8099ff36 at trap_fatal+0x427
Nov 7 21:01:25 main kernel: #3 0x8099faad at trap_pfault+0x306
Nov 7 21:01:25 main kernel: #4 0x8099f412 at trap+0x59a
Nov 7 21:01:25 main kernel: #5 0x8097a0ec at calltrap+0x6
Nov 7 21:01:25 main kernel: #6 0x80662699 at __sx_xlock+0x5b
Nov 7 21:01:25 main kernel: #7 0x80662a43 at _sx_xlock+0x38
Nov 7 21:01:25 main kernel: #8 0x875683af at dsl_pool_scrub_clean_cb+0x145
Nov 7 21:01:25 main kernel: #9 0x87567113 at scrub_visitbp+0x729
Nov 7 21:01:25 main kernel: #10 0x87566f12 at scrub_visitbp+0x528
Nov 7 21:01:25 main kernel: #11 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #12 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #13 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #14 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #15 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #16 0x87566d10 at scrub_visitbp+0x326
Nov 7 21:01:25 main kernel: #17 0x875670da at scrub_visitbp+0x6f0
Nov 7 21:01:25 main kernel: Uptime: 10m42s
Nov 7 21:01:25 main kernel: Cannot dump. Device not defined or unavailable.
Nov 7 21:01:25 main kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Since i run my root disk on a CF card, I just popped the card out, in with a empty one, installed 8.1-RELEASE, and booted generic kernel. Like the last time, everything works fine until I try to import the pool, and then it panics.
The pool itself however seems to be OK, ´cause if just run
#zpool import
I can see the pool, and there are no errors reported.
This absolutely sucks an elephants *something*! Ugh, I thought I had taken every precaution- building a storage system with redundancy up the wazzoo:
Boots from USB-key (and have a spare lying in case)
Mounts / from CF-drive (have spare for that as well)
ZFS then mounts /home /tmp /usr /var from pool
Pool is built with two parity disks and also one hotspare to be certain I could rely on it.
Damn you, Murphys Law!
Stored on this system is about 2TB of personal data that is extremely dear to me, especially all the images of my daughter. I need help.
/Sebulon