LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2009, 02:14 AM   #1
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Rep: Reputation: 15
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.
 
Old 03-25-2009, 03:27 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I'm missing step five where you restart the virtual system...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase the Size of Xen VM using XM BLOCK-ATTACH lakshmi4linux Linux - Server 0 03-25-2009 02:14 AM
Attach cdrom in Xen vm moosport Linux - Software 0 08-06-2007 01:31 AM
need to mount extra / space Geist3 Slackware 5 01-17-2005 08:31 PM
Install XP in extra space jdmml Linux - Newbie 4 08-31-2004 01:42 PM
extra hd space? adam_boz Linux - Newbie 2 10-24-2002 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration