From owner-freebsd-stable@FreeBSD.ORG Tue Nov 22 22:40:39 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1104C16A447 for ; Tue, 22 Nov 2005 22:40:39 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id A213043D45 for ; Tue, 22 Nov 2005 22:40:37 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 2E7531A352B; Tue, 22 Nov 2005 23:40:36 +0100 (CET) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32449-05; Tue, 22 Nov 2005 23:40:32 +0100 (CET) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service.sh.cvut.cz (Postfix) with ESMTP id 02C751A351E; Tue, 22 Nov 2005 23:40:32 +0100 (CET) Received: from [192.168.1.2] (localhost [127.0.0.1]) by logout.sh.cvut.cz (Postfix) with ESMTP id 3748E61C1D; Tue, 22 Nov 2005 23:40:39 +0100 (CET) Message-ID: <43839E63.9070707@sh.cvut.cz> Date: Tue, 22 Nov 2005 23:40:35 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug White References: <20051122142927.Y24336@carver.gumbysoft.com> In-Reply-To: <20051122142927.Y24336@carver.gumbysoft.com> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=733031B4 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUnMzWJm5S+0864pn5r blp/hnW2up7X7uqftbNRVUrW1LGBdGfHwJqPi3ScoYtBQzhDxGEwAAAAB3RJTUUH1QoQDDgyQtx8 HQAAAkNJREFUeJzFU0toU0EUPYu66CpGdCUUmoUJkpUDQUoNBVEUrBJsq1Ki2EIKIUZ8mydBhYi0 wVUXJVCLCrFN4DIEQdxIqdBIFsMkWD9YJClCRGKjJaviynjfe8RPogtXPcObuXPOPXd+PHj+Aeyo QNmobGLXVeANGM+GsP0B2yqHHNVoCD2LwLglVGZx7yXSlADR0uZu9C4Bpy3hUxPvH/cuUw6UoPCL h64I8KAJuMpwRU8uUMJy0OIpHVeXmulZoCc/t0LlTbJLEY1EudPRcnVjgAP5Osdl4K5HVP4+2bAI okaUA0Iq6Q59+Zy2eMWN6EpFTsa3+uD1+JKj4TPHuYTSMaLScLAaqk94YJqG4ds30hojOVgYoNJc NTztNU2TBYbhu9Aafnq08ORja37da1NwBrN/b7NVEc+b8yecuYkp08vNvLYneVZRaSH1vS0UnfHm OUPzWaZufHPmCWSdWrfeGVQQKmcsO4If8pAdXJ/xF4QQAeOVY1AQQcfirwkLUWeWVTgi6vaGt2xe BGzBEIMQorru8RxgPqY1V6uxYnwVBRZEI1ytCm3dE8mC2DgcbzCJGHdBEVDKuWDSwsrSGoqzJmNt 2jJpNueIH0qS8/0JrDKnVBdvOzIsdVr4zaX9dn9xcLLKdCtQGfutVacLE9Ja+yfbDvO4aMWrklfK /JYv15C8Kw9S10kup5Bys0N1bLdcn4HvTl/Xlh6Fpllwj5/XpH9BUXn/ym0Dvv7Rt2MywojpYiSi i7Hsscaa19zZ//y/hR+BT/ns80nmJAAAAABJRU5ErkJggg== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6F4AF62C096620751DA0556C" X-Virus-Scanned: by amavisd-new at sh.cvut.cz Cc: freebsd-stable@freebsd.org Subject: Re: Mount related panic with FreeBSD 6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 22:40:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6F4AF62C096620751DA0556C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Doug White wrote: > On Sun, 20 Nov 2005, [UTF-8] V=C3=A1clav Haisman wrote: >=20 >=20 >>Hi, >>I got this panic on freshly installed FreeBSD 6. I did this df -h and >>noticed that /mnt/oldroot/home is somewhat mangled. The /mnt/oldroot is= >>root of FreeBSD 4.11 system. I successfully copied some settings and al= l >>user accounts from that /mnt/oldroot/home earlier today. This is what I= >>did before the panic: >=20 >=20 > [...] >=20 > I discovered this by accident with a CDROM the other day. In 6.0 you ca= n > overlay read-only mounts (i.e., mount the same R/O FS on top of itself)= > but unmounting it will cause GEOM to tear down the underlying device wh= ile > leaving the first mount behind. Next access to the mountpoint will pani= c > the system. >=20 > You can't mount a read/write mount on top of itself, or a r/o mount on = a > r/w mount -- you get an error. A quick discussion with phk points to a > faulty or missing access check in GEOM. I'm not familiar with the VFS > operations required to mount a filesystem, though, so I'm not sure wher= e > to look to put in the fix. >=20 > In the interim, be careful not to mount a read-only FS multiple times. >=20 Thanks, I will remember this. Though it really was not my intention to mount it twice. I did so because I got confused by the mangled `/mnt/oldroot/hom' name in the df output and thought it was not mounted. Vaclav Haisman --------------enig6F4AF62C096620751DA0556C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQ4Oeam56zbtzMDG0AQKjWAf9F5M6GEbVa1c7SrRbTIr2jOUU9GnSovOb fV+AZgWXlZvDqnpZTFNY94rCtpTSLfFEHgYT/8yV4ryT7wwKs3ngb/yyHePRfJ7L kRmdzHycZeww14RWYYUNAl4ZqXb4Lk1e18vXpyM55Y5zhO1fx0TfDe3j9OzibzuT e/GScUx1XqlEjNq2B9i3wEBpKCuf8VQ55nMlBZ2DA8GhbXKmg0CMrvsdAwe94h4t jFq9ZviaPatdl04SdKSyyVGBcJRurvjawS6xOGZDFkVInviTsiOdgEJqBnQ049Gs NAEdGRvlDCeg00MaNL0Pg1jyeUm2DqyYAx9gVflqvyQtEjxJK3xUfg== =TeUQ -----END PGP SIGNATURE----- --------------enig6F4AF62C096620751DA0556C--