misc/144213: Disappearing zvols on reboot
Ruben van Staveren
ruben at verweg.com
Mon Feb 22 19:10:02 UTC 2010
>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 at 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:
More information about the freebsd-bugs
mailing list