vmkfstools – Extension of a Clustered (shared) VMDK

vmkfstools - Extension of a Clustered (shared) VMDK


Implementation plan
1.Disable monitoring
2.Stop Applicationon servers if needed.
3.Disable DRS on Vmware cluster ( To avoid any migration )
4.Shutdown servers f.e ( server1 , server2, server3, server4_disk_owner )
5.Clone server4_disk_owner before disx extention.
6.SSH to esx related with vm's 
7.Run command vmkfstools --extendvirtualdisk 2048G /vmfs/volumes/5adyya766-e21d5177-4kdb-7cd30ae2b398/server4_disk_owner/server4_disk_owner.vmdk -d eagerzeroedthick 
8.Start vm's in oposite order (server4_disk_owner, server3, server2, server1 )
9.Edit disk to check if new space was alocate to 2048G 
10.Login to server server4_disk_owner and extend disk on OS level using dispart (for Windows only :)
Command:
   -diskpart
   -list disk
   -select disk
   -list volume
   -select volume
   -extend
10.Start application on servers if needed.



More VMKFSTOOLS Virtual Disk Options

1.Create a Virtual Disk with vmkfstools
By default this will create a thick disk using a Bus Logic virtual adapter
vmkfstool -c 2048m testdisk11.vmdk

2.To create a thin provisioned virtual disk we need to use the diskformat option
vmkfstools -c 5G –diskformat thin testdisk22.vmdk.

3.Extending a Virtual Disk with vmkfstools
vmkfstools -X 10GB test11.vmdk.

4.Clone a Virtual Disk with vmkfstools
vmkfstools -i test22.vmdk test22clone.vmdk -d thin

5.Delete a Virtual Disk using vmkfstools
vmkfstools -U test22.vmdk

6.Renaming a Virtual Disk using vmkfstools
vmkfstools -E test22clone.vmdk new_name_disk.vmdk




Please Subscribe

 

 132 total views,  2 views today