LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Attach Extra space to Xen VM (https://www.linuxquestions.org/questions/linux-newbie-8/attach-extra-space-to-xen-vm-714254/)

lakshmi4linux 03-25-2009 02:14 AM

Attach Extra space to Xen VM
 
Hi,

i'm running a Xen virtual machine in my Debian box. No problem in that.

Now i want to increase the size of the Virtual machine. I use the following procedure,but it doesn't work out. pl help me out.

Procedure:

1) create a logical volume.(lvcreate)
2)make into a filesystem.(mkfs)
3)mount the LV filesystem in mother machine (mount /dev/XenvloG/VM_SVN /xen)
4)Implement the xm block-attach(xm block-attach 3 phy:/xen /dev/xvda2 w)

Now when i get into the domU and give ls -l /dev/xvda2. it shows "No such files or directory".

Thanks in advance.

zhjim 03-25-2009 03:27 AM

I'm missing step five where you restart the virtual system...


All times are GMT -5. The time now is 03:52 AM.