Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 14:42:41 +0100
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   mksnap_ffs woes
Message-ID:  <424AACD1.3060802@netfence.it>

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

I've got some scripts like the following:

/sbin/mksnap_ffs /usr /tmp/snapshot
/sbin/mdconfig -a -t vnode -f /tmp/snapshot -u 0
/sbin/mount -r /dev/md0 /usr/local/etc/snapmnt
... (backup data, transfer data, do anything)
/sbin/umount /usr/local/etc/snapmnt
/sbin/mdconfig -d -u 0
/bin/rm -f /tmp/snapshot



This will sometimes more or less lock my system, since every write 
access to /usr gets stuck.

ps or top show mksnap_ffs running, but apparently doing nothing, and 
every attempt to kill it will fail. Not even a clean shutdown is possible.



Any hint?



  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424AACD1.3060802>