Resizing a zpool as a VMware ESXi guest ...

Michael Jung mikej at mikej.com
Thu Oct 16 10:54:49 UTC 2014


On 2014-10-16 04:17, Garrett Cooper wrote:
>> On Oct 16, 2014, at 1:10, Edward Tomasz Napierała <trasz at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe at 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 at 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


More information about the freebsd-current mailing list