[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Adding a block device to a new Linux Guest
Hi, I am trying to add an additional block device (read-only) to my guest VM where I want to put some additional software necessary for my executing code in the VM. I am following the following steps:
1) add the additional disk entry to the xen configuration disk = ['phy:/dev/volumegroup/xen-root,xvda1,w','phy:/dev/volumegroup/xen-swap,xvda2,w', 'phy:/dev/volumegroup/software,xvdb1,r' ]
2) In the guest OS image /etc/fstab file, I have added the following line to mount the additional block device when booted; /dev/xvdb1 /software ext3 defaults 0 0
3) In guest OS root filesystem, i have created the "software" directory so that fstab could mount it to the additional block device at the boot time 4) Then I start the guest VM.
The problem is that the guest boots up and works fine but there is neither a block device /dev/xvdb1 available nor mounting it manually to /software works! Any ideas? I have tried both "xvdb" and "xvdb1" in the xen configuration files but luck so far!
Thanks for your help in advance! -- Omer ------------------------------------------------------- CERN -- European Organization for Nuclear Research, IT Department, CH-1211, Geneva 23, Switzerland Phone: +41 (0) 22 767 2224 Fax: +41 (0) 22 766 8683 E-mail : Omer.Khalid@xxxxxxx Homepage: http://cern.ch/Omer.Khalid _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |