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: "Fan, Huaxiang" <hufan@xxxxxxxxxxxx>
Subject: Re: [Xen-users] disk devices are always /dev/xvdX
From: Erwan RENIER <erwan.renier@xxxxxxxxxxx>
Date: Thu, 12 May 2011 12:32:06 +0200
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 12 May 2011 03:33:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E71FC5D6F96C3C4B93FC8FF942D924C637998489@xxxxxxxxxxxxxxxxxxxxxx>
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: <E71FC5D6F96C3C4B93FC8FF942D924C637998489@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: erwan.renier@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
To change it, I think you can try to change this line in the kernel source : drivers/block/xen-blkfront.c
#define DEV_NAME        "xvd"   /* name in /dev */

But i think there is a good reason to it,
probably to avoid conflicts with the scsi driver,
so i'm waiting for your feedback :)


Le 12/05/2011 06:50, Fan, Huaxiang a écrit :

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
Software Engineer II

WEBSENSE NETWORK SECURITY TECHNOLOGY R&D (BEIJING) CO. LTD.
ph: +8610.5884.4327
fax: +8610.5884.4727
www.websense.cn

Websense TRITON™
For Essential Information Protection™
Web Security | Data Security | Email Security



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

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