Date: Tue, 5 Oct 2010 12:25:40 GMT From: paranormal <akabsd@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/151226: can't delete zfs snapshot Message-ID: <201010051225.o95CPeo7038498@www.freebsd.org> Resent-Message-ID: <201010051230.o95CU7Mv088567@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151226 >Category: misc >Synopsis: can't delete zfs snapshot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 05 12:30:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: paranormal >Release: 8.1-RELEASE >Organization: redtram >Environment: FreeBSD eva02 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r212748: Mon Sep 20 11:47:02 EEST 2010 root@eva02:/usr/obj/usr/src/sys/EVA02 amd64 >Description: I'm use port sysutils/zfs-snapshot-mgmt. and this port make many zfs snapshots for checked file systems. eva02$ zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT zroot/home@auto-2010-10-03_06.50 616K - 124G - zroot/home@auto-2010-10-03_07.00 616K - 124G - zroot/usr@auto-2010-10-02_23.00 250M - 7,91G - zroot/var@auto-2010-10-02_23.00 49,2M - 572M - Yesterday, my laptop after 10-15 min work, doesn't work with fs. Gnome scary me, and other programs not write to hd. Experimentally found problem, this is are zfs destroy zroot/home@auto-2010-10-03_06.50 This command never by done, and lock fs. Kill and kill -9 not work. Shutdown too not work, this write: some process couldn't die, ps axl advised and nothing. zpool scrub not helpful, and hdd check built ibm/lenovo bios utility work fine. Maybe you need other info? >How-To-Repeat: >Fix: Comment all in /usr/local/etc/zfs-snapshot-mgmt.conf due home. :( And not call for current snapshot. Patch attached with submission follows: Copyright (c) 1992-2010 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 8.1-RELEASE #0 r212748: Mon Sep 20 11:47:02 EEST 2010 root@eva02:/usr/obj/usr/src/sys/EVA02 amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz (2593.52-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Family = 6 Model = 17 Stepping = 6 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x8e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4021456896 (3835 MB) ACPI APIC Table: <LENOVO TP-7L > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 (20100331/tbfadt-625) ACPI Warning: Optional field Gpe1Block has zero address or length: 0x 0 102C/0x0 (20100331/tbfadt-655) ioapic0: Changing APIC ID to 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 cryptosoft0: <software crypto> on motherboard acpi0: <LENOVO TP-7L> on motherboard CPU0: local APIC error 0x40 acpi0: [ITHREAD] acpi_ec0: <Embedded Controller: GPE 0x12, ECDT> port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x2000-0x207f mem 0xd2000000-0xd2ffffff,0xe0000000-0xefffffff,0xd0000000-0xd1ffffff irq 16 at device 0.0 on pci1 acpi_video0: <ACPI video extension> on vgapci0 nvidia0: <Quadro NVS 140M> on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] em0: <Intel(R) PRO/1000 Network Connection 7.0.5> port 0x1840-0x185f mem 0xfe200000-0xfe21ffff,0xfe225000-0xfe225fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:1e:37:d4:d1:92 uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x1860-0x187f irq 20 at device 26.0 on pci0 uhci0: [ITHREAD] usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0 uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x1880-0x189f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1 ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xfe226c00-0xfe226fff irq 22 at device 26.7 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0 hdac0: <Intel 82801H High Definition Audio Controller> mem 0xfe220000-0xfe223fff irq 17 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <memory> at device 0.0 (no driver attached) pcib3: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0 pci3: <ACPI PCI bus> on pcib3 ath0: <Atheros 5212> mem 0xd7df0000-0xd7dfffff irq 17 at device 0.0 on pci3 ath0: [ITHREAD] ath0: AR5413 mac 10.3 RF5424 phy 6.1 pcib4: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> irq 23 at device 28.3 on pci0 pci5: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> irq 20 at device 28.4 on pci0 pci13: <ACPI PCI bus> on pcib6 uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x18a0-0x18bf irq 16 at device 29.0 on pci0 uhci2: [ITHREAD] usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2 uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x18c0-0x18df irq 17 at device 29.1 on pci0 uhci3: [ITHREAD] usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3 uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x18e0-0x18ff irq 18 at device 29.2 on pci0 uhci4: [ITHREAD] usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4 ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfe227000-0xfe2273ff irq 19 at device 29.7 on pci0 ehci1: [ITHREAD] usbus6: EHCI version 1.0 usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1 pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci21: <ACPI PCI bus> on pcib7 cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xf8100000-0xf8100fff irq 16 at device 0.0 on pci21 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [FILTER] fwohci0: <1394 Open Host Controller Interface> mem 0xf8101000-0xf81017ff irq 17 at device 0.1 on pci21 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:06:1b:03:2a:28:f5:aa fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 dcons_crom0: <dcons configuration ROM> on firewire0 dcons_crom0: bus_addr 0x2554000 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:06:1b:28:f5:aa fwe0: Ethernet address: 02:06:1b:28:f5:aa fwip0: <IP over FireWire> on firewire0 fwip0: Firewire address: 00:06:1b:03:2a:28:f5:aa @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode pci21: <base peripheral, SD host controller> at device 0.2 (no driver attached) pci21: <base peripheral> at device 0.3 (no driver attached) pci21: <base peripheral> at device 0.4 (no driver attached) pci21: <base peripheral> at device 0.5 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] atapci1: <Intel ICH8M SATA300 controller> port 0x1c48-0x1c4f,0x1c1c-0x1c1f,0x1c40-0x1c47,0x1c18-0x1c1b,0x1c20-0x1c3f mem 0xfe226000-0xfe2267ff irq 16 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI called from vendor specific driver atapci1: AHCI v1.10 controller with 3 1.5Gbps ports, PM not supported ata2: <ATA channel 0> on atapci1 ata2: [ITHREAD] ata3: <ATA channel 2> on atapci1 ata3: [ITHREAD] ichsmb0: <Intel 82801H (ICH8) SMBus controller> port 0x1c60-0x1c7f mem 0xfe227400-0xfe2274ff irq 23 at device 31.3 on pci0 ichsmb0: [ITHREAD] smbus0: <System Management Bus> on ichsmb0 smb0: <SMBus generic I/O> on smbus0 acpi_tz0: <Thermal Zone> on acpi0 acpi_tz1: <Thermal Zone> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 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] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> flags 0x2000 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 battery0: <ACPI Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd3fff,0xe0000-0xeffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version 3 ZFS storage pool version 14 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <Intel> at usbus4 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen5.1: <Intel> at usbus5 uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5 ugen6.1: <Intel> at usbus6 uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6 acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-M10N/1.02> at ata0-master UDMA33 ad4: 190782MB <HITACHI HTS722020K9SA00 FDE DC4LC75A> at ata2-master UDMA100 SATA 1.5Gb/s hdac0: HDA Codec #0: Analog Devices AD1984 hdac0: HDA Codec #1: Conexant (Unknown) pcm0: <HDA Analog Devices AD1984 PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm1: <HDA Analog Devices AD1984 PCM #1 Digital> at cad 0 nid 1 on hdac0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub2: 4 ports with 4 removable, self powered uhub6: 6 ports with 6 removable, self powered acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata0:0:0:0): CAM status: SCSI Status Error (probe0:ata0:0:0:0): SCSI status: Check Condition (probe0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) SMP: AP CPU #1 Launched! cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-M10N 1.02> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from zfs:zroot ugen3.2: <Logitech> at usbus3 ums0: <Logitech G9 Laser Mouse, class 0/0, rev 2.00/50.00, addr 2> on usbus3 ums0: 16 buttons and [XYZT] coordinates ID=0 ukbd0: <Logitech G9 Laser Mouse, class 0/0, rev 2.00/50.00, addr 2> on usbus3 kbd2 at ukbd0 ukbd_set_leds_callback: error=USB_ERR_STALLED GEOM_ELI: Device gpt/swap0.eli created. GEOM_ELI: Encryption: Blowfish-CBC 128 GEOM_ELI: Crypto: software fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010051225.o95CPeo7038498>