From owner-freebsd-fs@FreeBSD.ORG Mon Feb 6 04:53:36 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C13471065670; Mon, 6 Feb 2012 04:53:36 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA118FC0C; Mon, 6 Feb 2012 04:53:36 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id 7A44FB8024; Mon, 6 Feb 2012 08:38:18 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id 74AC7B801F; Mon, 6 Feb 2012 08:38:18 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 70A68B8F56; Mon, 6 Feb 2012 08:38:18 +0400 (MSK) Received: from [127.0.0.1] (elsukov.kirov.oduur.so [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id 37A1FB8F3E; Mon, 6 Feb 2012 08:38:18 +0400 (MSK) Message-ID: <4F2F5934.1020207@FreeBSD.org> Date: Mon, 06 Feb 2012 08:38:12 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Yar Tikhiy References: <201202040350.q143oAw4086985@freefall.freebsd.org> In-Reply-To: <201202040350.q143oAw4086985@freefall.freebsd.org> X-Enigmail-Version: 1.3.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4D8074A4DD087803BEA61118" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: bin/145309: bsdlabel: Editing disk label invalidates the whole device X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 04:53:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4D8074A4DD087803BEA61118 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 04.02.2012 7:50, Yar Tikhiy wrote: > Hi there, > =20 > Sorry but FreeBSD 9.0-RELEASE still appears to have this issue. When > installed using BSD label partitioning scheme, a modification to > ada0's label seems to nuke the kernel's view of the disk -- I can't > think of a better way to explain it. The disk itself is OK and the > change makes it OK to the disk but the kernel can no more use the root= > partition until rebooted, returning weird errnos such as EIO or EXIO. > No idea here if the bug is limited to BSD label scheme. Hi, Yar When you are in single user mode your root filesystem is mounted read-onl= y. When you run bsdlabel it opens geom provider for writing and this trigger= s spoiling for it. When bsdlabel closes provider GEOM_PART destroys it and creates again. But VFS code seems loses it. --=20 WBR, Andrey V. Elsukov --------------enig4D8074A4DD087803BEA61118 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.10 (MingW32) iQEcBAEBAgAGBQJPL1k6AAoJEAHF6gQQyKF66lkH/iiXEWBI9bxoWoIJRH0WVD+Y 6ZE1ASIYv0EaEqZEDpOTede5em1JdwpUg/XLYGZcG3qK8PeIA5FG2eFTL5AyDtqK LuinN19Bo6qPxqIUB7LX4EQyQ0Z7crfoWiUPxg2dHIjHgmXQw6GeDeoAIwrEevhV j1wL11YOHpszeWctriF3r1JE0tKLwzmm9nA6kMu/hbbQDQkR7RGpas4VaenrSGIU J2GvY7DqVdnToviSxjppGdTFhHm5LPpB47eHBl/QWCF4W+23naDodYP46ENCcXBC 9E+fGxsQsGw4jbbPWGG0yFcju5POon+VcKanls+Lzp4yF613fv4Sx0tyDwmns+Q= =bOTP -----END PGP SIGNATURE----- --------------enig4D8074A4DD087803BEA61118--