advancedwera.blogg.se

Ubuntu server vmdk
Ubuntu server vmdk




ubuntu server vmdk ubuntu server vmdk

You should now see an increased disk space for your primary logical volume.Ubuntu cloud images are preconfigured distributions to be run as virtual machines and to be bootstraped with cloud initĪnd traverse to desider ubuntu version to download its vmdk file, in my case it is here:Īfter downloading vmdk upload it to esxi server somewhere in storage ESXi Virtual Machine (this may take some time depending on number of GBs added to the file system. Finally, let's resize the file system to the new allocated space: So if you increased your VM by 20GBs, the command becomes: Make sure you replace X above with the actual number of GBs you've added in your VM's settings. dev/srv/root), which you'll now extend to the newly added partition/physical volume. Since we're (essentially) extending the main logical volume, let's get the name of that:Īnd note down the entry next to "LV Name". Metadata might have gotten corrupt and thus the volume cannot be added to your Volume Group. If you get a message saying /dev/sda3 could not be added to your Volume Group, you need to remove the physical volume and recreate it. $ vgextend EnterVolumeGroupNameHere /dev/sda3 This will give you the info on your current Volume Group. Now let's extend the server's Volume Group to that physical volume. Assuming you created partition /dev/sda3, let's now create the physical volume in that partition: Type w - to write changes and exit - Reboot server: Provide the partition number you previously created Type t - to change the partition type to "Linux LVM" if you got 2 partitions listed as /dev/sda1 & /dev/sda2, for the new partition simply type "3" to create /dev/sda3) Now restart the VM.ī) Login via SSH to the VM and follow this process. I'm assuming the process is the same for ESXi 4. Edit the VM's properties to increase the hard disk size (VM has to be off) - I won't get into details on that, if you have the experience on managing ESXi you know what to do. A) Connect to the VMware ESXi 5 server using the vShpere Client.






Ubuntu server vmdk