From owner-freebsd-current@FreeBSD.ORG Thu Oct 16 10:54:49 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9599DFE; Thu, 16 Oct 2014 10:54:49 +0000 (UTC) Received: from mx2.paymentallianceintl.com (mx2.paymentallianceintl.com [216.26.158.171]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx2.paymentallianceintl.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F08362; Thu, 16 Oct 2014 10:54:48 +0000 (UTC) Received: from firewall.mikej.com (162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65]) by mx2.paymentallianceintl.com (8.14.5/8.13.8) with ESMTP id s9GAkcJi011381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Oct 2014 06:46:39 -0400 (EDT) (envelope-from mikej@mikej.com) Received: from mail.mikej.com ([192.168.6.63]) by firewall.mikej.com (8.14.9/8.14.9) with ESMTP id s9GAkBg2024035; Thu, 16 Oct 2014 06:46:33 -0400 (EDT) (envelope-from mikej@mikej.com) X-Authentication-Warning: firewall.mikej.com: Host [192.168.6.63] claimed to be mail.mikej.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 16 Oct 2014 06:46:11 -0400 From: Michael Jung To: Garrett Cooper Subject: Re: Resizing a zpool as a VMware ESXi guest ... In-Reply-To: References: <543841B8.4070007@shrew.net> <20141016081016.GA4670@brick.home> Message-ID: <5ca164a5bdd2d44d0b60a7fab5066fa2@mail.mikej.com> X-Sender: mikej@mikej.com User-Agent: Roundcube Webmail/1.0.2 Cc: owner-freebsd-current@freebsd.org, Matthew Grooms , =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 10:54:49 -0000 On 2014-10-16 04:17, Garrett Cooper wrote: >> On Oct 16, 2014, at 1:10, Edward Tomasz NapieraƂa >> wrote: > >> "camcontrol rescan" does not force fetching the updated disk size. >> AFAIK there is no way to do that. However, this should happen >> automatically, if the "other side" properly sends proper Unit >> Attention >> after resizing. No idea why this doesn't happen with VMWare. >> Reboot obviously clears things up. >> >> [..] > > Is open-vm-tools installed? > > I ask because if I don't have it installed and the kernel modules > loaded, VMware doesn't notify the guest OS of disks being > added/removed. > > Also, what disk controller are you using? > > Cheers. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" I duplicated this behavior. According to gpart The virtual disk does not grow until the freebsd guest is rebooted. FreeBSD freebsd10 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #0: Tue Jun 24 07:47:37 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC pkg info -- amd64 open-vm-tools-nox11-1280544_8,1 Open VMware tools for FreeBSD VMware guests ESXi reported -- Running, version:2147483647 (3rd-party/Independent) ESXi-5.5-1331820(A00) Guest Hardware version 10 789 - S 0:00.54 /usr/local/bin/vmtoolsd -c /usr/local/share/vmware-tools/ Id Refs Address Size Name 1 12 0xffffffff80200000 15f03b0 kernel 2 1 0xffffffff81a12000 5209 fdescfs.ko 3 1 0xffffffff81a18000 2198 vmmemctl.ko 4 1 0xffffffff81a1b000 23d8 vmxnet.ko 5 1 0xffffffff81a1e000 2bf0 vmblock.ko 6 1 0xffffffff81a21000 81b4 vmhgfs.ko --mikej