Date: Tue, 28 Jul 2009 17:16:12 +0300 From: Artis Caune <artis.caune@gmail.com> To: freebsd-jail@freebsd.org Subject: Jails on ZFS Message-ID: <9e20d71e0907280716m3968f42pe7aeed2b0286302c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm playing with jails on ZFS and everything is fine, except annoying warnings (hopefully just warnings) when doing: # /etc/rc.d/jail stop zfs_umount:971[0]: Force unmount is experimental - report any problems. ... zfs_umount:971[0]: Force unmount is experimental - report any problems. I found that in rc.d/jail secure_umount() it always do "umount -f " Maybe it's better first try to unmount without -f and then use force? --- /etc/rc.d/jail 2009-07-22 23:29:29.000000000 +0300 +++ /etc/rc.d/jail 2009-07-28 14:00:19.998368729 +0300 @@ -270,7 +270,7 @@ _dir=$1 if is_current_mountpoint ${_dir}; then - umount -f ${_dir} >/dev/null 2>&1 + umount ${_dir} >/dev/null 2>&1 || { sleep 2; umount ${_dir} >/dev/null 2>&1 || umount -f ${_dir} >/dev/null 2>&1; } else debug "Nothing mounted on ${_dir} - not unmounting" fi -- Artis Caune Everything should be made as simple as possible, but not simpler.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e20d71e0907280716m3968f42pe7aeed2b0286302c>