Hello,
I'm new to both Proxmox and OpenVZ. I was hoping someone could help me with a problem I'm having. I have created a container running Ubuntu 8.04. I want this particular container to have full rw access to a physical hard drive on the system, my intention is to set this up as a local mirror for Ubuntu/Debian. Following the directions from the OpenVZ user's guide, which I down loaded from the openvz site, I've issued the following command:
:~# vzctl set 101 --devices b:8:all:rw --save
Setting devices
Saved parameters for CT 101
I checked to see if I had access to the device using fdisk ( the users manual actually creates another partition, but I have one single partition already dedicated to the mirror.) This is what happens. The /dev directory does not seem to have any disks, can someone tell me where I've gone wrong?
root@mirror:~# fdisk /dev/sdb
Unable to open /dev/sdb
root@mirror:~# ls /dev
agpgart log midi2 ptyp4 ram11 rmidi1 tty1 ttyp7
audio loop0 midi3 ptyp5 ram12 rmidi2 tty2 ttyp8
audio1 loop1 mixer ptyp6 ram13 rmidi3 tty3 ttyp9
audio2 loop2 mixer1 ptyp7 ram14 sequencer tty4 ttypa
audio3 loop3 mixer2 ptyp8 ram15 shm tty5 ttypb
audioctl loop4 mixer3 ptyp9 ram16 simfs tty6 ttypc
console loop5 mpu401data ptypa ram2 smpte0 tty7 ttypd
core loop6 mpu401stat ptypb ram3 smpte1 tty8 ttype
dsp loop7 null ptypc ram4 smpte2 tty9 ttypf
dsp1 mem port ptypd ram5 smpte3 ttyp0 urandom
dsp2 midi0 ptmx ptype ram6 sndstat ttyp1 xconsole
dsp3 midi00 pts ptypf ram7 stderr ttyp2 zero
fd midi01 ptyp0 ram ram8 stdin ttyp3
full midi02 ptyp1 ram0 ram9 stdout ttyp4
initctl midi03 ptyp2 ram1 random tty ttyp5
kmem midi1 ptyp3 ram10 rmidi0 tty0 ttyp6
root@mirror:~#
Thanks,
Bill
I'm new to both Proxmox and OpenVZ. I was hoping someone could help me with a problem I'm having. I have created a container running Ubuntu 8.04. I want this particular container to have full rw access to a physical hard drive on the system, my intention is to set this up as a local mirror for Ubuntu/Debian. Following the directions from the OpenVZ user's guide, which I down loaded from the openvz site, I've issued the following command:
:~# vzctl set 101 --devices b:8:all:rw --save
Setting devices
Saved parameters for CT 101
I checked to see if I had access to the device using fdisk ( the users manual actually creates another partition, but I have one single partition already dedicated to the mirror.) This is what happens. The /dev directory does not seem to have any disks, can someone tell me where I've gone wrong?
root@mirror:~# fdisk /dev/sdb
Unable to open /dev/sdb
root@mirror:~# ls /dev
agpgart log midi2 ptyp4 ram11 rmidi1 tty1 ttyp7
audio loop0 midi3 ptyp5 ram12 rmidi2 tty2 ttyp8
audio1 loop1 mixer ptyp6 ram13 rmidi3 tty3 ttyp9
audio2 loop2 mixer1 ptyp7 ram14 sequencer tty4 ttypa
audio3 loop3 mixer2 ptyp8 ram15 shm tty5 ttypb
audioctl loop4 mixer3 ptyp9 ram16 simfs tty6 ttypc
console loop5 mpu401data ptypa ram2 smpte0 tty7 ttypd
core loop6 mpu401stat ptypb ram3 smpte1 tty8 ttype
dsp loop7 null ptypc ram4 smpte2 tty9 ttypf
dsp1 mem port ptypd ram5 smpte3 ttyp0 urandom
dsp2 midi0 ptmx ptype ram6 sndstat ttyp1 xconsole
dsp3 midi00 pts ptypf ram7 stderr ttyp2 zero
fd midi01 ptyp0 ram ram8 stdin ttyp3
full midi02 ptyp1 ram0 ram9 stdout ttyp4
initctl midi03 ptyp2 ram1 random tty ttyp5
kmem midi1 ptyp3 ram10 rmidi0 tty0 ttyp6
root@mirror:~#
Thanks,
Bill