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

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
_______________________________________________
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®.