How can i access my DVD drive from domU? In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in the config file does not work. Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> How can i access my DVD drive from domU? > > In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in > the config file does not work.Does xend barf, or is it just the case that you can''t see hdc in the domain, or can you see hdc, but you can''t mount it? Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> How can i access my DVD drive from domU? >> >> In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in >> the config file does not work. > > Does xend barf, or is it just the case that you can''t see hdc in the domain, > or can you see hdc, but you can''t mount it?There is a /dev/hdc file, but i can''t mount it. Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Friday 16 September 2005 16:07, Stephan Böni wrote:> >> How can i access my DVD drive from domU? > >> > >> In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in > >> the config file does not work. > > > > Does xend barf, or is it just the case that you can''t see hdc in the > > domain, or can you see hdc, but you can''t mount it? > > There is a /dev/hdc file, but i can''t mount it.AFAIK the additional ioctls for CD/DVD drives are not passed through from domU, and the size of the blockdevice is only determined once, while exporting it. So basically it should work when there''s a dvd/cd in the drive before starting domU, but changing the media and stuff like "eject", "lock tray" etc won''t work. So I think its much easier to mount it inside dom0 and export the filesystem as needed to domU, or simply copy all needed CDs into the domU filesystem. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> How can i access my DVD drive from domU? > > In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in the config > file does not work.Was the DVD in the drive at the time you created the domain? Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe you need to mknod your hdc file. I had to do this for hard disks when I moved a virtual hosts from user mode linux to Xen. Ian Pratt wrote:> > > >>How can i access my DVD drive from domU? >> >>In Dom0 i can use /dev/sr0. Something like ''phy:sr0,hdc,r'' in >>the config file does not work. >> >> > >Does xend barf, or is it just the case that you can''t see hdc in the domain, or can you see hdc, but you can''t mount it? > >Ian > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >-- Michael J. Baysek Systems Analyst Carnegie Mellon University, Auton Lab http://www.autonlab.org mjbaysek@cs.cmu.edu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users