Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

RE: [Xen-users] Adding a new Hard Drive on Xen VMs

To: "'gorkhe'" <gorkhe.la@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Adding a new Hard Drive on Xen VMs
From: "Jeroen Torrekens" <jeroen.torrekens@xxxxxxxxxxx>
Date: Fri, 29 Feb 2008 09:18:39 +0100 (CET)
Delivery-date: Fri, 29 Feb 2008 00:19:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <a6a07360802281519h7a74fe8an7840cacf9f40e841@xxxxxxxxxxxxxx>
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
Thread-index: Ach6YHIcs0nagwhLQp+x0ZmHFIo3PgASp5ew

>I am running Xen VMs and recently I needed more disk space for one of the VMs. I am not sure if it is possible to add a new (physical) Hard Drive and the Xen VM talk to it. Has any body have any >experiences with it. I would appreciate it.
>
>-gorkhe

Hi,

 

All you need to do is make a partition on that hard drive and edit the configuration file of the VM in /etc/xen/ It should say something like:

 

disk = ['phy:/dev/sdb1,hda,w', 'phy:/dev/sdc1,hdb,w']

 

Where /dev/sdc1 is the partition on your new hard drive. Reboot the VM and it will be available

 

Jeroen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>