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

xen-users

[Top] [All Lists]

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

To: Trung Hoang <inquiries@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Adding a new virtual block device to a guest
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: 2007年8月18日 15:46:27 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年8月18日 06:47:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e6329dca0708151801x7c93f3e7ta298907e6310e4e4@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>
References: <e6329dca0708151801x7c93f3e7ta298907e6310e4e4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006年08月11日)
On Thu, Aug 16, 2007 at 11:01:10AM +1000, Trung Hoang wrote:
>
> I notice when i mkfs -ext 3 my new vbd with dd, it says it's not a block
> device.. i have a feeling im doing this wrong. can you suggest steps in:
>
> 1. creating a new block device
> 2. preparing it (mkfs)
> 3. attaching it (block-attach)
> 4. mounting it (inside the domU)
The steps are correct:
dom0> dd if=/dev/zero of=/mnt/storage/xen/diskfile bs=128M count=1 
dom0> xm block-attach 82 tap:aio:/mnt/storage/xen/flux_diskfile sdd w 0
dom0> ssh sles10sp1
domU> cat /proc/partitions |tail -1 # now new space comes up
 8 48 131072 sdd
domU> mkfs.ext3 /dev/sdd # and is usable
Also added to http://fluxcoil.net/doku.php/xen/docs .
Christian
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Xen + LVM + drbd crash , Marcin Owsiany
Next by Date: Re: [Xen-users] Fedora, SuSE, Gentoo, Slackware as domU , Christian Horn
Previous by Thread: Re: [Xen-users] Adding a new virtual block device to a guest , Pradeep Parmar
Next by Thread: [Xen-users] why I cann't send email to Xen-devel : xen-devel@xxxxxxxxxxxxxxxxxxx , Steven Hu
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /