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] Re: how do I add more partitions for a XEN domU VM?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: how do I add more partitions for a XEN domU VM?
From: Aleksandar Ivanisevic <aleksandar@xxxxxxxxxxxxx>
Date: Thu, 19 Jun 2008 10:55:50 +0200
Cancel-lock: sha1:xNvUBxfkTGantai36GahFQwEzWs=
Delivery-date: Thu, 19 Jun 2008 01:56:32 -0700
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>
Organization: Individual
Original-sender: aleksandar@xxxxxxxxxxxxx
References: <485A180E.3000004@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Rudi Ahlers <Rudi@xxxxxxxxxxx> writes:

> Hi all
>
> I couldn't find a concise answer no Google for this one.
>
> If I have a server with 2x HDD's, and I want to have 2x separate
> partitions (/dev/sda3 & /dev/sdb1) in the domU VM, how do I actually
> get it in there?
>
> Is it as easy as putting in a second "disk = [
> "phy:/dev/data/cPanel,xvda,w" ]" entry into the /etc/xen/cPanel
> file,

Yes.

> or is there a specific way of doing it?

You can even resize the lv or pad the image file at the end, after you
reboot xen will adjust the geometry and you will get bigger disk.

> I am using LVM on the server, but don't want to add both HDD's to the
> same LVM group, i.e. they will still function individually

Does not matter, block device is a block device.

-- 
To sto si frustriran, zavidan tko zna na cemu i sto ne vidis dalje od
svoje guzice je tuzno. Da onda barem imas toliko samokontrole da
sutis umjesto da pravis budalu od sebe... izgleda da si prestar da se
promjenis na bolje. - Davor Pasaric, hr.comp.mac


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>