From owner-freebsd-geom@FreeBSD.ORG Mon Feb 21 18:36:17 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 068E2106564A for ; Mon, 21 Feb 2011 18:36:17 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [95.108.253.141]) by mx1.freebsd.org (Postfix) with ESMTP id 93B038FC19 for ; Mon, 21 Feb 2011 18:36:16 +0000 (UTC) Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward16.mail.yandex.net (Yandex) with ESMTP id BE484D4189A; Mon, 21 Feb 2011 21:36:14 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1298313374; bh=7/RfWIM7eUxHKoBKQL5Scs9oyMoy2kibb53KtdFreVc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=v/Hyem8yqwGe00K/sQyPstZQbiqerVtCqpA2v/9ynCM3LBR1gQsCIstTaQDB5roiq xFngPpELkOqud/+3//sd9bhcC9LxxNW+0EvVHTBnrOX4ds99XkUJiAFMp3gAPxSsvm QMxgPqsXSCw+5CFpkEBsKtfu2VCYJF0ZiVSq8Kzo= Received: from [178.141.127.248] (dynamic-178-141-127-248.kirov.comstar-r.ru [178.141.127.248]) by smtp18.mail.yandex.net (Yandex) with ESMTPSA id 866283678098; Mon, 21 Feb 2011 21:36:14 +0300 (MSK) Message-ID: <4D62B086.9020907@yandex.ru> Date: Mon, 21 Feb 2011 21:35:50 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110122 Thunderbird/3.1.7 MIME-Version: 1.0 To: Alexander Best References: <20110221002619.GA28780@freebsd.org> In-Reply-To: <20110221002619.GA28780@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC23A6C26DB2DD5198B9CF6A5" Cc: freebsd-geom@freebsd.org Subject: Re: strange behavior after gpart {recover, resize} X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 18:36:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC23A6C26DB2DD5198B9CF6A5 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 21.02.2011 03:26, Alexander Best wrote: > i noticed ada0's status was CORRUPTED. that's why i ran gpart recover a= da0. > that worked. however now gpart was showing some freespace after the las= t > partition, which never showed up beforehand. that's why i did sysctl > kern.geom.debugflags=3D16 and ran gpart resize -i3 ada0 which also work= ed 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 u= p 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. --=20 WBR, Andrey V. Elsukov --------------enigC23A6C26DB2DD5198B9CF6A5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enigC23A6C26DB2DD5198B9CF6A5--