Trung Hoang
2007-Aug-14 23:13 UTC
[Xen-users] Adding a new virtual block device to a guest os
Hi, I wish to add a secondary file based block device to a guest os. I''ve read that this could be accomplished by running ''xm block-attach myguestos /vserver/domains/myguestos/disk2.img /dev/sdb w''. Then running ''xm block-list myguestos'' shows that the drive is now available on the guest os. When i ssh into the guest os, i execute ''fdisk -l'' but that fails to show the new drive. What must i do? Do i need to add the vbd to the .cfg file of the guest os? My system configuration: - dom0 running debian etch w/ xen 3.2 (i think) (how can i find out) - my guest os is running debian etch. - im using loop back devices for the guest os'' - to create the new block device i use ''dd'' then ''mkfs -t ext3 ..'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz
2007-Aug-15 00:37 UTC
Re: [Xen-users] Adding a new virtual block device to a guest os
hi, Trung Hoang schrieb:> My system configuration: > - dom0 running debian etch w/ xen 3.2 (i think) (how can i find out) > - my guest os is running debian etch.apt-get install udev and after that, remove the new block-device and add it again. cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users