Hello,
for all people who are standing in front of the same problem like me...
Here's what I've done so far:
Code:
# cat /sys/class/scsi_generic/sg6/device/model
DVDRAM GSA-4120B
# vi /etc/qemu-server/<vmid>.conf
so I added the line:
Code:
scsi0: /dev/sg6,media=cdrom
- halt the virtual machine
- start the virtual machine (all described here:
http://pve.proxmox.com/wiki/Tape_Dr..._SCSI_pass_through_.28for_Linux_KVM_guests.29)
(I sadly noticed to late that this solution is only for linux guests...)
- the burning software now recognises the writer correct and I am able to access a CD-RW (read, erase, write)
BUT: every access to the physical DVD-writer with a DVD inside ends in an total collapse of the virtual machine (Windows XP)!
So I decided to try an other way to get this working... (as described here:
http://pve.proxmox.com/wiki/Tape_Dr..._as_iSCSI_target_.28for_Windows_KVM_guests.29)
Code:
# apt-get install iscsi-scst scstadmin
# cat /proc/scsi_tgt/scsi_tgt
Device (host:ch:id:lun or name) Device handler
0:0:0:0 dev_disk
0:0:1:0 dev_disk
0:1:0:0 dev_disk
0:1:1:0 dev_disk
0:1:2:0 dev_disk
0:1:3:0 dev_disk
5:0:1:0 none
# dmesg | grep 5:0:1:0
scsi 5:0:1:0: CD-ROM HL-DT-ST DVDRAM GSA-4120B A117 PQ: 0 ANSI: 5
sr 5:0:1:0: Attached scsi CD-ROM sr0
sr 5:0:1:0: Attached scsi generic sg6 type 5
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
sr 5:0:1:0: [sg6] CDB: cdb[0]=0xa4, sa=0x0: a4 00 00 00 00 00 00 00 00 08 08 00
But because of the missing "Device handler" "dev_cdrom" of the "Device 5:0:1:0" I am not able to export the DVD-writer - I think.
Here's my "/etc/scst.conf":
Code:
[HANDLER cdrom]
#DEVICE <H:C:I:L>
DEVICE 5:0:1:0
[HANDLER disk]
#DEVICE <H:C:I:L>
[HANDLER vdisk]
#DEVICE <vdisk name>,<device path>,<options>,<block size>
[HANDLER tape]
#DEVICE <H:C:I:L>
[GROUP Default]
#USER <user wwn>
[ASSIGNMENT Default]
#DEVICE <device name>,<lun>
DEVICE 5:0:1:0,0
[TARGETS enable]
#HOST <wwn identifier>
[TARGETS disable]
#HOST <wwn identifier>
And here is the error:
Code:
vs01:~# /etc/init.d/scst reload
Reloading SCST configuration failed!
How can I get this missing "Device handler" ("dev_cdrom") into Proxmox Debian to export the DVD-writer via iSCSI?
Dominik