From owner-freebsd-stable@FreeBSD.ORG Thu Jun 11 12:13:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B52106564A for ; Thu, 11 Jun 2009 12:13:28 +0000 (UTC) (envelope-from vilmos.gyorgy@gmail.com) Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by mx1.freebsd.org (Postfix) with ESMTP id 57CC28FC1D for ; Thu, 11 Jun 2009 12:13:27 +0000 (UTC) (envelope-from vilmos.gyorgy@gmail.com) Received: by bwz17 with SMTP id 17so156789bwz.43 for ; Thu, 11 Jun 2009 05:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ZiZgGKi/h50uJFZBSSsW2qgzJi1pbeflunVqekEKaRc=; b=rwuIicQeiupH2pO8QBIQGgVAmhWCiKpKcE8mlTcCvfJfszhjFqGeXVKI65Ox85aTSt r6YzWab9pnUeF8DITA+j/NaNksR9VfaYyJsoz7wGPPwK2c5rSaPksQ7hdTfVI2stNxR5 gALIiSZbYrrq+j9yzPzcVdvNqnMqlwGOECl8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bxrDY36C0Gfr/QmVy2iPpnoKkE8cQW5O9BJKAajStVcS1FC6r12CWwjZBEr38uCD1g tYLGPztC65C3QnoTOHLcxge1MNwjhpnbeUHk4gyLijDfoTMK74rkCu5BJRaeLivH3z31 TuN5QZC0rvGYLlY+oArIh3SvO7r79331S5yFM= MIME-Version: 1.0 Received: by 10.204.69.133 with SMTP id z5mr2360799bki.163.1244720410140; Thu, 11 Jun 2009 04:40:10 -0700 (PDT) Date: Thu, 11 Jun 2009 13:40:10 +0200 Message-ID: From: =?ISO-8859-1?Q?Gy=F6rgy_Vilmos?= To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: .zfs snapshot dir disappears and a crash later on, while umounting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 12:13:29 -0000 Hi All! (please keep me on cc) FreeBSD 7/amd64 stable compiled with GENERIC on May 23 22:22:00 CEST 2009 (csuped sources around that time) on an IBM xSomething. I have a single disk zfs pool for backup purposes, the fs is compressed and the stuff goes onto it every night and then snapshotted once. I have a nullfs mount from that to a UFS partition, like this: bkp on /bkp (zfs, local) bkp@20090607 on /bkp/.zfs/snapshot/20090607 (zfs, local, noatime, read- only) bkp@20090610 on /bkp/.zfs/snapshot/20090610 (zfs, local, noatime, read- only) bkp@20090609 on /bkp/.zfs/snapshot/20090609 (zfs, local, noatime, read- only) bkp@20090608 on /bkp/.zfs/snapshot/20090608 (zfs, local, noatime, read- only) /bkp/hosting on /data/jail/hosting/bkp (nullfs, local) The strange thing is that while did the above, I lost .zfs, so an ls wrote this: ls /bkp/.zfs/snapshot ls: /bkp/.zfs/snapshot: Bad file descriptor df also didn't show the snapshot dirs after it, but I could do snapshots and zfs list -t snapshot showed them, I just couldn't access them. Today, I've tried to umount the nullfs mount and the zfs pool to see whether it helps the situation, but it didn't, I was awarded with a crashdump. What I did is: umount /data/jail/hosting/bkp (went fine, I haven't got back the .zfs snapshot dir) then: zfs export bkp (crash) The crashdump says: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xc0 fault code = supervisor write data, page not present instruction pointer = 0x8:0xffffffff80517925 stack pointer = 0x10:0xffffff80780249d0 frame pointer = 0x10:0xffffff8078024a50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 35021 (zpool) trap number = 12 panic: page fault cpuid = 1 Uptime: 14d22h20m56s Physical memory: 4082 MB bt says: (kgdb) bt #0 doadump () at pcpu.h:195 #1 0x0000000000000004 in ?? () #2 0xffffffff8050ff29 in boot (howto=260) at /usr/src/sys/kern/ kern_shutdown.c:418 #3 0xffffffff80510332 in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:574 #4 0xffffffff807d5a33 in trap_fatal (frame=0xffffff0020214390, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:757 #5 0xffffffff807d5e05 in trap_pfault (frame=0xffffff8078024920, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:673 #6 0xffffffff807d6744 in trap (frame=0xffffff8078024920) at /usr/src/ sys/amd64/amd64/trap.c:444 #7 0xffffffff807ba96e in calltrap () at /usr/src/sys/amd64/amd64/ exception.S:209 #8 0xffffffff80517925 in _sx_xlock (sx=0xa0, opts=0, file=0xffffffff80f045e8 "/usr/src/sys/modules/zfs/../../cddl/contrib/ opensolaris/uts/common/fs/zfs/zfs_ctldir.c", line=1288) at atomic.h:143 #9 0xffffffff80e97e55 in zfsctl_umount_snapshots (vfsp=Variable "vfsp" is not available. ) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/ common/fs/zfs/zfs_ctldir.c:1288 #10 0xffffffff80ea3560 in zfs_umount (vfsp=0xffffff00048b7380, fflag=0, td=Variable "td" is not available. ) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/ common/fs/zfs/zfs_vfsops.c:1003 #11 0xffffffff8058e1a7 in dounmount (mp=0xffffff00048b7380, flags=0, td=0xffffff0020214390) at /usr/src/sys/kern/vfs_mount.c:1290 #12 0xffffffff8058e975 in unmount (td=0xffffff0020214390, uap=0xffffff8078024bf0) at /usr/src/sys/kern/vfs_mount.c:1186 #13 0xffffffff807d6087 in syscall (frame=0xffffff8078024c80) at /usr/ src/sys/amd64/amd64/trap.c:900 #14 0xffffffff807bab7b in Xfast_syscall () at /usr/src/sys/amd64/amd64/ exception.S:330 #15 0x000000080102e5cc in ?? () Previous frame inner to this frame (corrupt stack?) I have the dump, if any further info could help. Thank you in advance.