strange behavior after gpart {recover, resize}

Andrey V. Elsukov bu7cher at yandex.ru
Mon Feb 21 18:36:17 UTC 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20110221/be96434a/signature.pgp


More information about the freebsd-geom mailing list