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

RE: [Xen-users] disk devices are always /dev/xvdX

To: Mark Pryor <tlviewer@xxxxxxxxx>
Subject: RE: [Xen-users] disk devices are always /dev/xvdX
From: "Fan, Huaxiang" <hufan@xxxxxxxxxxxx>
Date: Thu, 12 May 2011 05:10:37 +0000
Accept-language: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 May 2011 22:11:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <697078.94163.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <697078.94163.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHMEGHbwNp+Pn2y70mEaPC+QTuNmJSIpA+g
Thread-topic: [Xen-users] disk devices are always /dev/xvdX
Thanks Mark,
I used the domu kernel built from stable/2.6.32.x git branch. It seems only 
accept xvdX. Any workaround you can offer to rename xvdX to sdX? Otherwise, we 
might need to change our codes.

Thanks in advance
Huaxiang

-----Original Message-----
From: Mark Pryor [mailto:tlviewer@xxxxxxxxx] 
Sent: Thursday, May 12, 2011 1:03 PM
To: Fan, Huaxiang
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] disk devices are always /dev/xvdX


--- On Wed, 5/11/11, Fan, Huaxiang <hufan@xxxxxxxxxxxx> wrote:

From: Fan, Huaxiang <hufan@xxxxxxxxxxxx>
Subject: [Xen-users] disk devices are always /dev/xvdX
To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, May 11, 2011, 9:50 PM



Hi gurus, 
   
The page 
http://wiki.xensource.com/xenwiki/XenParavirtOps says disk devices on domu are 
always /dev/xvdX. And I failed when I try to map a raw disk to domu with the 
name /dev/sdb. The line  ‘phy:sdb,sdb,w’ in domu config file doesn’t take 
effect. Actually I found
 a raw disk named /dev/xvdf on the domu. 
Anybody got any idea why xen4 put such restriction? How to map to other names 
such as /dev/sdb on domu? 
   
Thanks, 
   
HUAXIANG FAN
-------------------

Maverick (10.10) will accept sdX from the xm config. Maybe Natty will too, but 
not Lucid or Karmic, which want xvdX.

See also:
http://lists.xensource.com/archives/html/xen-users/2011-01/msg00120.html

-- 
Mark
<br>To report this as spam, please forward to spam@xxxxxxxxxxxxx  Thank you.

Protected by Websense Email Security Gateway — www.websense.com


 Protected by Websense Hosted Email Security -- www.websense.com 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users