Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 15:57:07 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        freebsd-current@freebsd.org
Subject:   File system deadlock. GBDE(4) and/or MD(4) related.
Message-ID:  <20030724135707.GW43543@garage.freebsd.pl>

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

--2D20dG0OqTzqkNh7
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 20=
48
	        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

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

--2D20dG0OqTzqkNh7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iQCVAwUBPx/lsz/PhmMH/Mf1AQEm/AP/Xnm8uiH0NH1lTxVLT2jIjDWfoS2d9UDc
3nho3hb7Q6fNdK7w3rIR/eUuInrqmvFr1KCkBRAyOZqiBKMFO8fRvjkJATanbEIa
u0qacf+VWGbToFezJYwgltfJHS7IiKj/8Qylg7kStvOcJdHC1ys0bThgwIwF1eSv
XC0a34FWmxM=
=AhzT
-----END PGP SIGNATURE-----

--2D20dG0OqTzqkNh7--



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