Date: Mon, 06 Feb 2012 08:38:12 +0400 From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: Yar Tikhiy <yar@freebsd.org> Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org> Subject: Re: bin/145309: bsdlabel: Editing disk label invalidates the whole device Message-ID: <4F2F5934.1020207@FreeBSD.org> In-Reply-To: <201202040350.q143oAw4086985@freefall.freebsd.org> References: <201202040350.q143oAw4086985@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 04.02.2012 7:50, Yar Tikhiy wrote: > Hi there, > > 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-only. When you run bsdlabel it opens geom provider for writing and this triggers spoiling for it. When bsdlabel closes provider GEOM_PART destroys it and creates again. But VFS code seems loses it. -- WBR, Andrey V. Elsukov [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2F5934.1020207>
