File system deadlock. GBDE(4) and/or MD(4) related.

From: Pawel Jakub Dawidek <nick_at_garage.freebsd.pl>
Date: Thu, 24 Jul 2003 15:57:07 +0200
Hello.

I've found deadlock in gbde(4) and/or md(4).

Here is a complete procedure hot to repeat it:

	# touch /mnt/test.file
	# mdconfig -a -t vnode -f /mnt/test.file -s 512M -u 1
	# mkdir /etc/gbde
	# gbde init /dev/md1 -L /etc/gbde/md1
	Enter new passphrase:
	Reenter new passphrase:
	Wrote key 0 at 25444352
	# gbde attach md1 -l /etc/gbde/md1
	Enter passphrase:
	# newfs -U -O2 /dev/md1.bde
	/dev/md1.bde: 496.5MB (1016768 sectors) block size 16384, fragment size 2048
	        using 4 cylinder groups of 124.12MB, 7944 blks, 15936 inodes.
	        with soft updates
	super-block backups (for fsck -b #) at:
	 160, 254368, 508576, 762784
	# mkdir /mnt/test
	# mount /dev/md1.bde /mnt/test
	# cp -R /usr/src /mnt/test &
	[ wait about 10 seconds ]
	# ls /mnt/te[TAB]
	or
	# sync;sync

-- 
Pawel Jakub Dawidek                       pawel_at_dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

Received on Thu Jul 24 2003 - 04:56:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC