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: Fri, 13 May 2011 11:07:06 +0200
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 13 May 2011 02:08:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E71FC5D6F96C3C4B93FC8FF942D924C63799862B@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> <4DCBB726.1070605@xxxxxxxxxxx> <4DCBDD2B.9030801@xxxxxxxxxxx> <E71FC5D6F96C3C4B93FC8FF942D924C63799862B@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
that i don't know, i didn't test all possible configurations,
And i mixed up, it's sd_mod that must not be loaded( but sd_mod use scsi_mod )
if they rename the xen devices i suppose you can make configs that use both.


Le 13/05/2011 04:07, Fan, Huaxiang a écrit :

Thanks Erwan. since all partitions or raw disk on the domu use blkfront driver, I don’t see where the conflict is. Did you mean the domu would use scsi driver for its mapped partitions or disks from dom0?

Thanks,

Huaxiang

 

From: Erwan RENIER [mailto:erwan.renier@xxxxxxxxxxx]
Sent: Thursday, May 12, 2011 9:14 PM
Cc: Fan, Huaxiang; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] disk devices are always /dev/xvdX

 

As i had time to lose, i tested it and... it works :)
Well at least , it seems to work, the VM launch and i see no errors
be carfull to not use scsi_mod in the same time.

Le 12/05/2011 12:32, Erwan RENIER a écrit :

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

 

 

To report this as spam, please forward to spam@xxxxxxxxxxxx.  Thank you.
 
Protected by Websense Email Security Gateway - www.websense.com
 

 

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