WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Adding a new virtual block device to a guest os
From: "Trung Hoang" <inquiries@xxxxxxxxxxxxxx>
Date: Wed, 15 Aug 2007 09:13:09 +1000
Delivery-date: Tue, 14 Aug 2007 16:13:41 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=A+Kx8bW8LOkdhLjtxJF+ei+8T4jufRXKQ7lN/m/bvbtrP2AvjyC892edo34idBjXwi2u1kcFkIWE+7XIxq8ZbDpPrKu7ZInmcz1wAyQpn8hxm5vsBsv6IqilL2MD1BnBBvpl1nYKiybucP8YqVNamPpSd0LZp3/mAn66pRGLyGc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>