[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.