[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Adding a new virtual block device to a guest os


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Trung Hoang" <inquiries@xxxxxxxxxxxxxx>
  • Date: Wed, 15 Aug 2007 09:13:09 +1000
  • Delivery-date: Tue, 14 Aug 2007 16:13:41 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=iEzpD/YYgWeAGOOruSsWDlwLRSnMsRJqRaeqdy0AFScZimgxBf1techhqya9HLVOQ5JAGqnCDSfT2LoIjMaxzXCKMTgB6fiE2vBUEnsmDhTch/ku9sJKa2Ju5WACcMOaslMqXuiEUN+rAvCY1pfoRFaGjLCI5UKdwL3K0LwHYic=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.