Hello, not found something about thick or this in this doc : vSphere Documentation Center svmotion --url= https://myvc.mycorp.com/sdk --username=me --password=secret --da...
See more...
Hello, not found something about thick or this in this doc : vSphere Documentation Center svmotion --url= https://myvc.mycorp.com/sdk --username=me --password=secret --datacenter=DC1 --vm='[old_datastore] myvm/myvm.vmx: new_datastore' How to tell I need 'eager zeroed thick' ? I have 'lazy thick' I prefer to not use 'vmkfstools' if possible, it's very long to extend a disk with this. Regards
Sorry, I forgot to said from a VM name an expected input/output : -------8<----------------------- any_command --vm VM-NAME --server vc1.example.com [...] esx42.example.com [...] ----...
See more...
Sorry, I forgot to said from a VM name an expected input/output : -------8<----------------------- any_command --vm VM-NAME --server vc1.example.com [...] esx42.example.com [...] -------8<-----------------------
Hi, I wonder how can I discover the esx host from a call or a command to vSphere 6.0.0, Linux from the VM name. Possibly via vSphere API, govc, pyvmomi, perl SDK Regards, GQ
Hi, after successfully resized a disk with : vmkfstools -X 25G -d eagerzeroedthick /vmfs/volumes/FOOBAR/FOOBAR.vmdk How can I update inventory programmaticaly, via a Linux command lin...
See more...
Hi, after successfully resized a disk with : vmkfstools -X 25G -d eagerzeroedthick /vmfs/volumes/FOOBAR/FOOBAR.vmdk How can I update inventory programmaticaly, via a Linux command line or via any API/script ? The size did not changed in vsphere 6.0.0 web client even after disconnecting and reconnecting, I need to unregister the VM manually from inventory and re-add it to see the disk changes via vSphere. Regards, GQ
The script vmkfstools have bug, the --datastore was not well implemented. (as seen in this post https://communities.vmware.com/thread/409275) This works : https://pastebin.com/raw/cE8vFRDe
For information, the command works because I can run successfully : -------8<----------------------- # vmkfstools --vihost esx24cli3.example.com --server virtualcenter2.example.com --username...
See more...
For information, the command works because I can run successfully : -------8<----------------------- # vmkfstools --vihost esx24cli3.example.com --server virtualcenter2.example.com --username me -P /vmfs/volumes/LUN_100 Enter password: VMFS-5.61 file system spanning 1 partitions. Capacity : 10994847842304, 4721890820096 avail File system label : LUN_100 UUID : FFFFFFFF-AAAAAAAA-EEEE-000000000000 path : /vmfs/volumes/FFFFFFFF-AAAAAAAA-EEEE-000000000000 Partitions spanned: naa.70001ac000000000000000070001abcd:1 Mounted : Yes VAAI Supported: Yes -------8<----------------------- In the /usr/local/bin/vmkfstools code, I can see -------8<----------------------- sub inflate_disk { my ($vdm, $disk) = @_; #bug 376684 eval { my $task_ref = $vdm->InflateVirtualDisk_Task(name => $disk, datacenter => undef); my $task_view = Vim::get_view(mo_ref => $task_ref); print "\nProcess start\n"; track_progress($task_view); print "\nEnd process\n"; }; if ($@) { VIExt::fail("Unable to inflate virtual disk : " . ($@->fault_string)); } } -------8<-----------------------
I think this is a better way : Can't run vmkfstools remotly, vSphere 6.0.0 vmkfstools -X 15G -d eagerzeroedthick /vmfs/volumes/LUN_100/VMNAME/VMNAME.vmdk But can't figure out the way ...
See more...
I think this is a better way : Can't run vmkfstools remotly, vSphere 6.0.0 vmkfstools -X 15G -d eagerzeroedthick /vmfs/volumes/LUN_100/VMNAME/VMNAME.vmdk But can't figure out the way to do it remotly
Hi, I had downloaded VMware-vSphere-CLI-6.0.0-2503617.x86_64.tar.gz on a Debian9, modified the install script to run on Debian 9 (removed rpm specific commands). If I run the tool on the es...
See more...
Hi, I had downloaded VMware-vSphere-CLI-6.0.0-2503617.x86_64.tar.gz on a Debian9, modified the install script to run on Debian 9 (removed rpm specific commands). If I run the tool on the esx server, it works well : vmkfstools -X 15G -d eagerzeroedthick /vmfs/volumes/LUN_100/VMNAME/VMNAME.vmdk But when I run from my desktop, I have : vmkfstools --vihost esx42.example.com --server vc1.example.com --username me -X 20G -d eagerzeroedthick /vmfs/volumes/LUN_100/VMNAME/VMNAME.vmdk Attempting to extend disk [LUN_100] VMNAME/VMNAME.vmdk Unable to extend virtual disk : Any clue ? I would like to be able to run this command remotly and not via ssh.
Hi, I use Ansible 2.6 and pyvmomi 6.7.0 to create some vm via vSphere 6.0.0. When I resize disk, I loose 'eager zeroed thick' disk setting. What is the simplest way to get back to this s...
See more...
Hi, I use Ansible 2.6 and pyvmomi 6.7.0 to create some vm via vSphere 6.0.0. When I resize disk, I loose 'eager zeroed thick' disk setting. What is the simplest way to get back to this setting remotly (not from esx server) via API or a Linux command line ? I prefer another solution than ssh to esx server, then using 'vmkfstool -d zeroedthick...' Regards.