Xenserver and storage

Discussion in 'Server Operation' started by edge, Feb 17, 2011.

  1. edge

    edge Active Member Moderator

    I've just increased the storage of one of my running VM's from 8GB to 40GB

    To do this I needed to shutdown the running VM, and increase the size of the disk (with XenCenter)

    After restarting the VM again the disk size is still 8GB *, but when I look at the disk properties with XenCenter for that VM I do see the 40GB.

    df -h
    Filesystem            Size  Used Avail 
    Use% Mounted on
    /dev/xvda1            7.5G  3.4G  3.8G  48% /
    tmpfs                 1.5G     0  1.5G   0% /lib/init/rw
    udev                   10M  496K  9.6M   5
    % /dev
    tmpfs                 1.5G     0  1.5G   0
    % /dev/shm
    Anyone here who might know what's going on here, and how to fix this?

    Thank you.
    Last edited: Feb 17, 2011
  2. Flash

    Flash New Member

    Increasing storage on a virtual machine is a multi-tier process.

    1. Increase the size of the virtual harddisk
    2. Increase the size of the partition
    3. increase the size of the filesystem

    you did 1, but I think you still need to do 2 and 3 on the virtual system. Depending on weather you use LVS or normal partitions etc.
  3. edge

    edge Active Member Moderator

    Yes.. So I've been reading (after I posted the message).
    Not sure how this is going to go, but will try 1st on a testing server.
    Thank you for the info.

Share This Page