OpenVZ Forum


Home » Mailing lists » Users » DVD burning in a VE
DVD burning in a VE [message #15551] Sun, 05 August 2007 14:54 Go to next message
Steve Hodges is currently offline  Steve Hodges
Messages: 17
Registered: July 2007
Junior Member
Is it possible to access /dev/hdc from a VE?

One of my environments (the central backup server) needs to be able to 
burn collections of backups to a dvd.

I tried to solve this by creating the device in the VE (mknod -m 660 
/dev/hdc b 22 0) but I still get a permission error;

It tells me:  unable to open64("/dev/hdc",O_RDONLY): Permission denied

Ir all works fine outside the VE.

I suspect this may be something I can't do in a VE, but I thought I'd 
ask :-)

Steve
Re: DVD burning in a VE [message #15564 is a reply to message #15551] Mon, 06 August 2007 01:40 Go to previous message
Daniel Pittman is currently offline  Daniel Pittman
Messages: 26
Registered: January 2007
Junior Member
Steve Hodges <shodges@iinet.net.au> writes:

> Is it possible to access /dev/hdc from a VE?
>
> One of my environments (the central backup server) needs to be able to
> burn collections of backups to a dvd.
>
> I tried to solve this by creating the device in the VE (mknod -m 660
> /dev/hdc b 22 0) but I still get a permission error;
>
> It tells me:  unable to open64("/dev/hdc",O_RDONLY): Permission denied
>
> Ir all works fine outside the VE.
>
> I suspect this may be something I can't do in a VE, but I thought I'd
> ask :-)

You can -- see the 'devices' and 'devnodes' settings in vzctl.

The process is that you grant access to specific devices to a specific
VE and, once that is done, the kernel allows them to access the device
directly.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact@digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/
Previous Topic: loading various kernel module
Next Topic: Problem with veth in Fedora Core 6 VM.
Goto Forum:
  


Current Time: Mon Jun 16 22:35:10 GMT 2025

Total time taken to generate the page: 0.01523 seconds