Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2014 06:46:11 -0400
From:      Michael Jung <mikej@mikej.com>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        owner-freebsd-current@freebsd.org, Matthew Grooms <mgrooms@shrew.net>, =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Resizing a zpool as a VMware ESXi guest ...
Message-ID:  <5ca164a5bdd2d44d0b60a7fab5066fa2@mail.mikej.com>
In-Reply-To: <DE8844AA-7DC3-44C9-BEF4-A45DFD0A966A@gmail.com>
References:  <543841B8.4070007@shrew.net> <20141016081016.GA4670@brick.home> <DE8844AA-7DC3-44C9-BEF4-A45DFD0A966A@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-10-16 04:17, Garrett Cooper wrote:
>> On Oct 16, 2014, at 1:10, Edward Tomasz NapieraƂa <trasz@FreeBSD.org> 
>> 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



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