From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 06:56:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EBD437B401; Thu, 24 Jul 2003 06:56:35 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE0B043F93; Thu, 24 Jul 2003 06:56:34 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 601CE3ABB51; Thu, 24 Jul 2003 15:57:07 +0200 (CEST) Date: Thu, 24 Jul 2003 15:57:07 +0200 From: Pawel Jakub Dawidek To: freebsd-current@freebsd.org Message-ID: <20030724135707.GW43543@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2D20dG0OqTzqkNh7" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: File system deadlock. GBDE(4) and/or MD(4) related. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 13:56:35 -0000 --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--