From owner-freebsd-geom@freebsd.org Sat Jul 9 08:23:40 2016 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 048F2B841C3 for ; Sat, 9 Jul 2016 08:23:40 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1h.cmail.yandex.net (forward1h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 829511318 for ; Sat, 9 Jul 2016 08:23:39 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward1h.cmail.yandex.net (Yandex) with ESMTP id 21912206D3; Sat, 9 Jul 2016 11:23:36 +0300 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 1FAB32C0366; Sat, 9 Jul 2016 11:23:36 +0300 (MSK) Received: by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dFge2kJknb-NZLeouer; Sat, 09 Jul 2016 11:23:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1468052615; bh=FDHLtoJacDpEEronlf1cT0FNrsNyYgwMLt37qqYIqjc=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=qVV/U/fx+iO/QBij0IjTQBhT50lZRHu3bqUx0n1YEdFWbIpTTJ25t4eM75COT2rmQ m3ipGLRXw1W7sYjmIEdGwKNWXit1/oBWZe02dVcq6WOTZaDJOX6zfSdHngBwwLSA1h zMDJhSXpxlf/1lawHngC9byQ4vdGK4y1eLAocHKU= Authentication-Results: smtp4h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: How to force GEOM to recalculate the free space after the disk is resized? To: Dexuan Cui , "freebsd-geom@freebsd.org" References: <577FE380.8020601@yandex.ru> From: "Andrey V. Elsukov" Message-ID: <5780B436.4070309@yandex.ru> Date: Sat, 9 Jul 2016 11:22:14 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gb5tjjch1rokNjVPaiopVo9K4A9d8pguJ" X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 08:23:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gb5tjjch1rokNjVPaiopVo9K4A9d8pguJ Content-Type: multipart/mixed; boundary="qaSCJ1FDcHTVMao2DiCcMaV3JB4O4cCf5" From: "Andrey V. Elsukov" To: Dexuan Cui , "freebsd-geom@freebsd.org" Message-ID: <5780B436.4070309@yandex.ru> Subject: Re: How to force GEOM to recalculate the free space after the disk is resized? References: <577FE380.8020601@yandex.ru> In-Reply-To: --qaSCJ1FDcHTVMao2DiCcMaV3JB4O4cCf5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 09.07.16 05:32, Dexuan Cui wrote: >> What FreeBSD version do you use? >> What messages do you see in the console/dmesg after resizing of disk? >> >> WBR, Andrey V. Elsukov >=20 > I'm using 11-CURRENT, but I also tried 10.3 and got the same result. GEOM should be notified by disk driver, but I don't see that it did. I think you need to try `camcontrol reprobe` command https://svnweb.freebsd.org/base?view=3Drevision&revision=3D299371 --=20 WBR, Andrey V. Elsukov --qaSCJ1FDcHTVMao2DiCcMaV3JB4O4cCf5-- --gb5tjjch1rokNjVPaiopVo9K4A9d8pguJ 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 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXgLQ2AAoJEAHF6gQQyKF6JdMH/A27/I8IhxPi+BCAVRnzNWuH oSqglEYNnVhg6a+zyF1wlbExoTZgd3G4mkNHMBI0wm8MbmNVII3gtQaFV9cWphfm ymU6bJ/gq7/kZenwzRiWZ3LhwAbqKoX/M3rg14c00TqwENcT1FLn8sDtu7EqlNmU DysIYC9/ktoo2+maxRKYK+igKG9wkQsUcrdsCSeSVcC5DxnUV8AlHFU8gq2iLg9C e6Bb+tpYw31oY8Tk+dxTTe0aVgQjJbpkgokiYCcMT1yTj/6sYDKLDJUX324OQiC/ 0x959PRv6jygNVn4YeIsDMzjALhWuOewx01YAU2DDXwsuMvFlY68bWDfM/5UyCc= =om9Z -----END PGP SIGNATURE----- --gb5tjjch1rokNjVPaiopVo9K4A9d8pguJ--