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: "erwan.renier@xxxxxxxxxxx" <erwan.renier@xxxxxxxxxxx>
Subject: RE: [Xen-users] disk devices are always /dev/xvdX
From: "Fan, Huaxiang" <hufan@xxxxxxxxxxxx>
Date: Fri, 13 May 2011 02:07:54 +0000
Accept-language: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 12 May 2011 19:10:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DCBDD2B.9030801@xxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwQYBIrNM6138XiQPugl+hL3KeS4gAanEsAAAWqVYAAC8R/kA==
Thread-topic: [Xen-users] disk devices are always /dev/xvdX

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@xxxxxxxxxxxxx  Thank you.
 
Protected by Websense Email Security Gateway - www.websense.com
 

 

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