Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 21:35:50 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: strange behavior after gpart {recover, resize}
Message-ID:  <4D62B086.9020907@yandex.ru>
In-Reply-To: <20110221002619.GA28780@freebsd.org>
References:  <20110221002619.GA28780@freebsd.org>

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

[-- Attachment #1 --]
On 21.02.2011 03:26, Alexander Best wrote:
> i noticed ada0's status was CORRUPTED. that's why i ran gpart recover ada0.
> that worked. however now gpart was showing some freespace after the last
> partition, which never showed up beforehand. that's why i did sysctl
> kern.geom.debugflags=16 and ran gpart resize -i3 ada0 which also worked as
> expected.

I want to remind that `gpart resize` does only partition table changes.
And if filesystem does not support automatic growing size you may need
to use special tools to tell it about new size.

> however now i can access ada0p3 only by it's /dev node. it won't show up in
> either /dev/ufs, /dev/label or /dev/gptid. i checked with tunefs -p and the
> ufs descriptor is defenately there. nothing in gpart status however. :(
> any clues?

GEOM LABEL class does not create labels when provider is already open.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBAgAGBQJNYrCOAAoJEAHF6gQQyKF6fzQH/2Y5jFxWHfAOAO+gF+2liYjc
dFWvM1qIMP+6HTTOIWcu2HsberKTljzZOL83yeH3U3U9BF++2Neyu+gLVmv7aJN1
WlVQnzkhZU1H+P3EeWrKq5NHDM/oyi39jvwqMqd0fk9bMtRC6gEkGglYjcHViSjP
XDpYbZAdMtitcWvuhDNoAAneQ67oGb8kjDqwto15+hXv9oGbHuJXDj+tphBLEssQ
urv23twlmVxKDcWSPJYwiykI2Y0tgC+A/4YVBBA5as1l47bf6h2PrcFB5qhbJ1eQ
Lxnd7r92RIdKihiODocBkAE8HYT7pPNVTorwIK+//U2whPZ+XN/NBVm7zE58WOU=
=N4Gs
-----END PGP SIGNATURE-----

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