XenServer: Difference between revisions

From Network Security Wiki
Content added Content deleted
(page created)
 
Line 1: Line 1:
=Adding Ubuntu VM free disk space=
=Increasing free disk space in Ubuntu VM=
Source: [https://www.vmotionhost.com/client-area/knowledgebase.php?action=displayarticle&id=177 vmotionhost.com]
Source: [https://www.vmotionhost.com/client-area/knowledgebase.php?action=displayarticle&id=177 vmotionhost.com]

Increase disk size under Storage section in XenCenter.

Boot up the VM & log into it.


Verify Disk Space:
Verify Disk Space:
df -h
df -h



Check the partition layout
Check the partition layout

Revision as of 19:33, 21 December 2016

Increasing free disk space in Ubuntu VM

Source: vmotionhost.com

Increase disk size under Storage section in XenCenter.

Boot up the VM & log into it.

Verify Disk Space:

df -h

Check the partition layout

sudo fdisk -l /dev/xvda

To create new partitions, all old partiotions have to be deleted. To be able to delete the swap partitions the swap has to be turned off.

Verify Swap usage:

free -m

Turn off Swap disk

sudo swapoff -a

Now delete all partitions

sudo fdisk /dev/xvda