Date: Mon, 22 Feb 2010 20:02:26 +0100 (CET) From: Ruben van Staveren <ruben@verweg.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/144213: Disappearing zvols on reboot Message-ID: <201002221902.o1MJ2Q3c009638@helium.verweg.com> Resent-Message-ID: <201002221910.o1MJA2Zr055672@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144213 >Category: misc >Synopsis: Disappearing zvols on reboot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 22 19:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ruben van Staveren >Release: FreeBSD 8.0-STABLE i386 >Organization: >Environment: System: FreeBSD helium.verweg.com 8.0-STABLE FreeBSD 8.0-STABLE #4: Sun Feb 14 20:11:33 CET 2010 root@helium.verweg.com:/usr/obj/usr/cvsup/8-stable/src/sys/HELIUM-SMP i386 >Description: Upon reboot, zvols disappear on zfs-on-root systems (not tested on non-zfs-on-root systems) a zfs volinit cures this problem. zfs volinit is safe to run multiple times Also see some discussion at http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009589.html >How-To-Repeat: Create zvol (zfs create -V 1g zpool/zvol) reboot see that /dev/zvol has gone >Fix: --- /usr/src/etc/rc.d/zfs 2009-08-03 10:13:06.000000000 +0200 +++ /etc/rc.d/zfs 2010-02-21 22:46:57.116222069 +0100 @@ -25,6 +25,7 @@ { zfs mount -a zfs share -a + zfs volinit if [ ! -r /etc/zfs/exports ]; then touch /etc/zfs/exports fi >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002221902.o1MJ2Q3c009638>