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

Pawel Jakub Dawidek nick at
Thu Jul 24 06:56:35 PDT 2003


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]
	# sync;sync

Pawel Jakub Dawidek                       pawel at
UNIX Systems Programmer/Administrator
Am I Evil? Yes, I Am!           
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list