たけふ@大阪豊中です zfs の実験をしていて、障害発生時の対応を調べているのですが、 何処から手を付けていいやらで、zfs お使いの皆さんから、 ノウハウをお聞きしたく思います。
症状: VMware Player の環境下で、10.2-RELEASE-p7(i386) 上で、 ホスト OS の再起動によって、umount せずに電源 OFF となった後の boot で、 zfs のマウント時に、コアダンプ吐いてリブートを繰り返す。 やった事: シングルユーザーモードにて、以下のコマンドを実行すると、 すぐさまコアダンプ吐く。 zfs list zpool list やりたい事: 取り敢えず zfs のマウントがしたい。 まあ、データが救出できれば良いんですが... 「ここ確認した方が良いよ」とか「これこれやってみて」等、 アドバイスくださいm(__)m 以下に、設定ファイル等を記しておきます。 /boot/loader.conf vfs.zfs.recover=1 vm.kmem_size="512M" vm.kmem_size_max="512M" vfs.zfs.prefetch_disable=1 kern.vty=vt zfs_load=yes /etc/rc.conf keymap="jp" dumpdev="AUTO" keyrate="fast" background_fsck="NO" #zfs_enable=yes 注:zfs_enable は元々コメントしていませんでしたが、とりあえずブートさせるためにコメントにしてます。 コアダンプしたときのコンソール表示した文字 Fatal double fault: eip = 0xc181f5cb esp = 0xf70adffc ebp = 0xf70ae010 cpuid = 0; apic id = 00 panic: double fault cpuid = 0 KDB: stack backtrace: #0 0xc0b720f2 at kdb_backtrace+0x52 #1 0xc0b332cb at vpanic+0x11b #2 0xc0b331ab at panic+0x1b #3 0xc10554cb at dblfault_handler+0xab Uptime: 1m3s Physical memory: 2023 MB Dumping 125 MB: 110 94 78 62 46 30 14 Dump complete dmesg -a Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 13:38:49 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". CPU: Intel(R) Xeon(R) CPU E31225 @ 3.10GHz (3100.00-MHz 686-class CPU) Origin="GenuineIntel" Id=0x206a7 Family=0x6 Model=0x2a Stepping=7 Features=0xfa3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,DTS,MMX,FXSR,SSE,SSE2,SS> Features2=0x9eba2223<SSE3,PCLMULQDQ,VMX,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,HV> AMD Features=0x28100000<NX,RDTSCP,LM> AMD Features2=0x1<LAHF> VT-x: HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant Hypervisor: Origin = "VMwareVMware" real memory = 2147483648 (2048 MB) avail memory = 2081132544 (1984 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <PTLTD APIC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 <Version 1.1> irqs 0-23 on motherboard random: <Software, Yarrow> initialized module_register_init: MOD_LOAD (vesa, 0xc0fbe290, 0) error 19 kbd1 at kbdmux0 acpi0: <INTEL 440BX> on motherboard acpi0: Power Button (fixed) hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1060-0x106f at device 7.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 pci0: <bridge> at device 7.3 (no driver attached) vgapci0: <VGA-compatible display> port 0x1070-0x107f mem 0xe8000000-0xefffffff,0xfe000000-0xfe7fffff irq 16 at device 15.0 on pci0 vgapci0: Boot video device mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1400-0x14ff mem 0xfeba0000-0xfebbffff,0xfebc0000-0xfebdffff irq 17 at device 16.0 on pci0 mpt0: MPI Version=1.2.0.0 pcib2: <ACPI PCI-PCI bridge> at device 17.0 on pci0 pci2: <ACPI PCI bus> on pcib2 uhci0: <UHCI (generic) USB controller> port 0x2080-0x209f irq 18 at device 0.0 on pci2 usbus0 on uhci0 em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0x2000-0x203f mem 0xfd5c0000-0xfd5dffff,0xfdff0000-0xfdffffff irq 19 at device 1.0 on pci2 em0: Ethernet address: **:**:**:**:**:** pcm0: <AudioPCI ES1371-A> port 0x2040-0x207f irq 16 at device 2.0 on pci2 pcm0: <Cirrus Logic CS4297A AC97 Codec> pcm0: <Playback: DAC1,DAC2 / Record: ADC> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfd5ef000-0xfd5effff irq 17 at device 3.0 on pci2 usbus1: EHCI version 1.0 usbus1 on ehci0 ahci0: <AHCI SATA controller> mem 0xfd5ee000-0xfd5eefff irq 19 at device 5.0 on pci2 ahci0: AHCI v1.30 with 30 6Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich2: <AHCI channel> at channel 2 on ahci0 ahcich3: <AHCI channel> at channel 3 on ahci0 ahcich4: <AHCI channel> at channel 4 on ahci0 ahcich5: <AHCI channel> at channel 5 on ahci0 ahcich6: <AHCI channel> at channel 6 on ahci0 ahcich7: <AHCI channel> at channel 7 on ahci0 ahcich8: <AHCI channel> at channel 8 on ahci0 ahcich9: <AHCI channel> at channel 9 on ahci0 ahcich10: <AHCI channel> at channel 10 on ahci0 ahcich11: <AHCI channel> at channel 11 on ahci0 ahcich12: <AHCI channel> at channel 12 on ahci0 ahcich13: <AHCI channel> at channel 13 on ahci0 ahcich14: <AHCI channel> at channel 14 on ahci0 ahcich15: <AHCI channel> at channel 15 on ahci0 ahcich16: <AHCI channel> at channel 16 on ahci0 ahcich17: <AHCI channel> at channel 17 on ahci0 ahcich18: <AHCI channel> at channel 18 on ahci0 ahcich19: <AHCI channel> at channel 19 on ahci0 ahcich20: <AHCI channel> at channel 20 on ahci0 ahcich21: <AHCI channel> at channel 21 on ahci0 ahcich22: <AHCI channel> at channel 22 on ahci0 ahcich23: <AHCI channel> at channel 23 on ahci0 ahcich24: <AHCI channel> at channel 24 on ahci0 ahcich25: <AHCI channel> at channel 25 on ahci0 ahcich26: <AHCI channel> at channel 26 on ahci0 ahcich27: <AHCI channel> at channel 27 on ahci0 ahcich28: <AHCI channel> at channel 28 on ahci0 ahcich29: <AHCI channel> at channel 29 on ahci0 pcib3: <ACPI PCI-PCI bridge> at device 21.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 21.1 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 21.2 on pci0 pci5: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> at device 21.3 on pci0 pci6: <ACPI PCI bus> on pcib6 pcib7: <ACPI PCI-PCI bridge> at device 21.4 on pci0 pci7: <ACPI PCI bus> on pcib7 pcib8: <ACPI PCI-PCI bridge> at device 21.5 on pci0 pci8: <ACPI PCI bus> on pcib8 pcib9: <ACPI PCI-PCI bridge> at device 21.6 on pci0 pci9: <ACPI PCI bus> on pcib9 pcib10: <ACPI PCI-PCI bridge> at device 21.7 on pci0 pci10: <ACPI PCI bus> on pcib10 pcib11: <ACPI PCI-PCI bridge> at device 22.0 on pci0 pci11: <ACPI PCI bus> on pcib11 pcib12: <ACPI PCI-PCI bridge> at device 22.1 on pci0 pci12: <ACPI PCI bus> on pcib12 pcib13: <ACPI PCI-PCI bridge> at device 22.2 on pci0 pci13: <ACPI PCI bus> on pcib13 pcib14: <ACPI PCI-PCI bridge> at device 22.3 on pci0 pci14: <ACPI PCI bus> on pcib14 pcib15: <ACPI PCI-PCI bridge> at device 22.4 on pci0 pci15: <ACPI PCI bus> on pcib15 pcib16: <ACPI PCI-PCI bridge> at device 22.5 on pci0 pci16: <ACPI PCI bus> on pcib16 pcib17: <ACPI PCI-PCI bridge> at device 22.6 on pci0 pci17: <ACPI PCI bus> on pcib17 pcib18: <ACPI PCI-PCI bridge> at device 22.7 on pci0 pci18: <ACPI PCI bus> on pcib18 pcib19: <ACPI PCI-PCI bridge> at device 23.0 on pci0 pci19: <ACPI PCI bus> on pcib19 pcib20: <ACPI PCI-PCI bridge> at device 23.1 on pci0 pci20: <ACPI PCI bus> on pcib20 pcib21: <ACPI PCI-PCI bridge> at device 23.2 on pci0 pci21: <ACPI PCI bus> on pcib21 pcib22: <ACPI PCI-PCI bridge> at device 23.3 on pci0 pci22: <ACPI PCI bus> on pcib22 pcib23: <ACPI PCI-PCI bridge> at device 23.4 on pci0 pci23: <ACPI PCI bus> on pcib23 pcib24: <ACPI PCI-PCI bridge> at device 23.5 on pci0 pci24: <ACPI PCI bus> on pcib24 pcib25: <ACPI PCI-PCI bridge> at device 23.6 on pci0 pci25: <ACPI PCI bus> on pcib25 pcib26: <ACPI PCI-PCI bridge> at device 23.7 on pci0 pci26: <ACPI PCI bus> on pcib26 pcib27: <ACPI PCI-PCI bridge> at device 24.0 on pci0 pci27: <ACPI PCI bus> on pcib27 pcib28: <ACPI PCI-PCI bridge> at device 24.1 on pci0 pci28: <ACPI PCI bus> on pcib28 pcib29: <ACPI PCI-PCI bridge> at device 24.2 on pci0 pci29: <ACPI PCI bus> on pcib29 pcib30: <ACPI PCI-PCI bridge> at device 24.3 on pci0 pci30: <ACPI PCI bus> on pcib30 pcib31: <ACPI PCI-PCI bridge> at device 24.4 on pci0 pci31: <ACPI PCI bus> on pcib31 pcib32: <ACPI PCI-PCI bridge> at device 24.5 on pci0 pci32: <ACPI PCI bus> on pcib32 pcib33: <ACPI PCI-PCI bridge> at device 24.6 on pci0 pci33: <ACPI PCI bus> on pcib33 pcib34: <ACPI PCI-PCI bridge> at device 24.7 on pci0 pci34: <ACPI PCI bus> on pcib34 acpi_acad0: <AC Adapter> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xdc000-0xdffff,0xe0000-0xe7fff pnpid ORM0000 on isa0 ppc0: parallel port not found. smist0: <SpeedStep SMI> on cpu0 device_attach: smist0 attach returned 6 smist1: <SpeedStep SMI> on cpu1 device_attach: smist1 attach returned 6 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen0.1: <0x15ad> at usbus0 uhub0: <0x15ad UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 usbus1: 480Mbps High Speed USB v2.0 ugen1.1: <0x15ad> at usbus1 uhub1: <0x15ad EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 uhub0: 2 ports with 2 removable, self powered ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: <VMware Virtual IDE Hard Drive 00000001> ATA-4 device ada0: Serial Number 00000000000000000001 ada0: 33.300MB/s transfers (UDMA2, PIO 32768bytes) ada0: 81920MB (167772160 512 byte sectors: 15H 63S/T 16383C) ada0: Previously was known as ad0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: <NECVMWar VMware IDE CDR10 1.00> Removable CD-ROM SCSI device cd0: Serial Number 10000000000000000001 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present cd0: quirks=0x40<RETRY_BUSY> SMP: AP CPU #1 Launched! fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input Root mount waiting for: usbus1 usbus0 ugen0.2: <VMware> at usbus0 Root mount waiting for: usbus1 usbus0 ugen0.3: <vendor 0x0e0f> at usbus0 uhub2: <VMware Virtual USB Hub> on usbus0 uhub1: 6 ports with 6 removable, self powered uhub2: 7 ports with 7 removable, self powered Root mount waiting for: usbus0 Trying to mount root from ufs:/dev/ada0p2 [rw]... WARNING: / was not properly dismounted WARNING: /: mount pending error: blocks 32 files 1 _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscr...@freebsd.org"