Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 08:53:08 +0200
From:      Patrick Proniewski <patpro@patpro.net>
To:        freebsd-fs@freebsd.org
Subject:   [zfs] need help with a bug (PR 156781)
Message-ID:  <9A54A14B-7DA4-48AD-8198-63A8572D3DB3@patpro.net>

next in thread | raw e-mail | index | archive | help
Hello,

I'm running various FreeBSD 8 amd64 servers, and some of them use ZFS =
extensively. Unfortunately, I'm hit by the bug "PR 156781" =
(<http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D156781&cat=3Dkern>).

After an undetermined uptime, the affected server will lose the ability =
to list some of its .zfs/.snappshot:

ls -l .zfs
ls: snapshot: Bad file descriptor

It doesn't look critical at this point, because snapshots still work =
(creation/deletion), but you won't be able to access them via cd =
.zfs/snapshot/...

In fact, it is critical. If you try to unmount the affected ZFS volume, =
your shell will freeze, and you have to reconnect in a new one. And more =
importantly, the whole OS will freeze when you issue a reboot, meaning =
it will never reboot until someone pushes the power button of the box.
It's a very nasty bug when your box is 400 km away in a data center, and =
you need to ask your hosting provider to push that button.

I would be happy if the PR 156781 could be modified so that it says its =
Severity is critical, and it affects both FreeBSD 8.1-RELEASE-p5 amd64, =
FreeBSD 8.2-RELEASE-p3 amd64, and FreeBSD 8.2-STABLE sparc64 (ie. not =
just FreeBSD 8.2-STABLE sparc64).
And I would be very very happy, if someone could fix this bug, it's =
unfortunately way out of my reach :/


	FreeBSD si 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 =
18:45:57 UTC 2011    =20
	root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  =
amd64

	$ grep ZFS /var/run/dmesg.boot
	ZFS filesystem version 4
	ZFS storage pool version 15

	$ zpool upgrade -a
	This system is currently running ZFS pool version 15.

	All pools are formatted using this version.

	$ zfs upgrade -a
	0 filesystems upgraded
	265 filesystems already at this version

and=20

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

	$ grep ZFS /var/run/dmesg.boot=20
	ZFS filesystem version 3
	ZFS storage pool version 14

	$ zpool upgrade -a
	This system is currently running ZFS pool version 14.

	All pools are formatted using this version.

	$ zfs upgrade -ra
	0 filesystems upgraded
	19 filesystems already at this version



regards,
patpro
(I'm subscribed to the digest, fell free to Cc. me)=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A54A14B-7DA4-48AD-8198-63A8572D3DB3>