From owner-freebsd-fs@FreeBSD.ORG Sun May 2 16:13:54 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1052D16A4CE for ; Sun, 2 May 2004 16:13:54 -0700 (PDT) Received: from mailspool.ops.uunet.co.za (mailspool.ops.uunet.co.za [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD2B43D3F for ; Sun, 2 May 2004 16:13:53 -0700 (PDT) (envelope-from root@raider.ataris.co.za) Received: from [196.7.86.78] (helo=raider.ataris.co.za) by mailspool.ops.uunet.co.za with esmtp (Exim 3.36 #1) id 1BKQ9f-000AQq-00 for freebsd-fs@freebsd.org; Mon, 03 May 2004 01:13:52 +0200 Received: from root by raider.ataris.co.za with local (Exim 4.30; FreeBSD) id 1BKQEq-00025n-59 for freebsd-fs@freebsd.org; Mon, 03 May 2004 01:19:12 +0200 Date: Mon, 3 May 2004 01:19:12 +0200 From: Jacques Marnweck To: freebsd-fs@freebsd.org Message-ID: <20040502231912.GA7750@raider.ataris.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Issues using unionfs and vnode backed disks X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 23:13:54 -0000 Hi, I'm experiencing some weird issues using unionfs with vnode file backed disks under FreeBSD 5.2.1-RELEASE-p5 on a Intel Celeron 2.4GHz box with 512Mb RAM. I have similar setups using FreeBSD 4.9-STABLE boxes which are in production using vnconfig etc. # df -H Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 6.2G 57M 5.7G 1% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1g 52G 8.1G 39G 17% /home /dev/ad0s1f 1037M 934M 20M 98% /tmp /dev/ad0s1d 8.3G 2.1G 5.6G 27% /usr /dev/ad0s1e 8.3G 45M 7.6G 1% /var /dev/md0c 2.0G 142M 1.7G 8% /home/jails/base /dev/md1c 5.1G 173M 4.5G 4% /home/jails/zzzz.co.za devfs 1.0K 1.0K 0B 100% /home/jails/zzzz.co.za/dev :/home/jails/base 7.1G 2.2G 4.5G 33% /home/jails/zzzz.co.za Basically how I do jail()'ed virtual machines is that I first create a base disk image say base.vn which all the jails get so I only have to maintain one base installation which can be shared amongst multiple jails. Another bug I noticed which had similar side effects was where I had /usr/ports mounted below /home/jails/base/usr/ports and from the jail()'ed virtual machine I typed 'make install clean' to install a port, the box had a deadlock. >From reading various posts here, I'm assuming that unionfs under FreeBSD 5.2.1-RELEASE-p5 should have less issues, and should not cause the problems I'm experiencing? Also I've tested this a couple of times today. Who is maintaining the unionfs code, as I would like to chat to him/her. Regards --jm