Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: kern/156781: [zfs] zfs is losing the snapshot directory,

5 views
Skip to first unread message

Patrick Proniewski

unread,
Apr 12, 2012, 6:20:14 PM4/12/12
to
The following reply was made to PR kern/156781; it has been noted by GNATS.

From: Patrick Proniewski <pat...@patpro.net>
To: bug-fo...@FreeBSD.org,
bme...@mesoft.com.au
Cc:
Subject: Re: kern/156781: [zfs] zfs is losing the snapshot directory,
Date: Fri, 13 Apr 2012 00:15:40 +0200

Same problem here:

FreeBSD mybox 8.1-RELEASE-p5 FreeBSD 8.1-RELEASE-p5 #0: Tue Sep 27 =
16:49:00 UTC 2011 =
ro...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

ls of some .zfs directories returns the "Bad file descriptor" error.

zfs list still shows every snapshots, and daily snapshot =
creation/rotation works as expected.

I tried to unmount the faulty zfs volume, but the system froze, I had to =
reboot the server.=
_______________________________________________
freeb...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-...@freebsd.org"

Peter Maloney

unread,
Apr 13, 2012, 3:30:21 AM4/13/12
to
The following reply was made to PR kern/156781; it has been noted by GNATS.

From: Peter Maloney <peter....@brockmann-consult.de>
To: bug-fo...@FreeBSD.org, bme...@mesoft.com.au
Cc:
Subject: Re: kern/156781: [zfs] zfs is losing the snapshot directory,
Date: Fri, 13 Apr 2012 09:25:16 +0200

Is the faulty dataset shared over NFS? If so, is it the new NFS server
(default in 9.0 I think) or the old (default in 8.2)?

My ZFS over NFS on 8-STABLE has slightly similar problems on the NFS
client side, but only when viewed by a Linux client. A simple "ls -l" on
the .zfs/snapshot directory on a Linux client hangs the dataset. And
these lines show up in /var/log/messages when reloading the NFS server:

Apr 12 10:08:38 [hostname] mountd[54479]: can't delete exports for
/tank/[...]/.zfs/snapshot/replication-20120411112000: Invalid argument

And an "ls" without "-l" on a Linux client shows that the ones mentioned
in messages are files and the rest are directories (Linux shells
generally color them blue and append a / for directories).

I can only guess that they may be related.
Message has been deleted
0 new messages