Hi,
I tried many options to pass through a tandberg autoloader device to a redhat as5u5 64Bit vm.
iscsi didn't worked, though I tried a direct scsi passthrough:
1. find sg device descriptors
2. Create /etc/udev/rules.d/tandberg.rules
3. Edit vm conf file
Problem:
VM starts up, but Redhat reports that there was a Problem scanning LUN 1 and only the tapedrive is passed through!
To clear it up, for tandberg devices the scsi connection typically looks like:
ID 1 LUN 0 Tapedrive
ID 1 LUN 1 Changer
Does anybody have a hint for me?
Thanks
I tried many options to pass through a tandberg autoloader device to a redhat as5u5 64Bit vm.
iscsi didn't worked, though I tried a direct scsi passthrough:
1. find sg device descriptors
Code:
pxmx1:/etc/qemu-server# cat /sys/class/scsi_generic/sg23/device/model
Ultrium 3-SCSI
pxmx1:/etc/qemu-server# cat /sys/class/scsi_generic/sg24/device/model
MAGNUM 224
2. Create /etc/udev/rules.d/tandberg.rules
Code:
# Tanberg Autoloader
BUS=="scsi", KERNEL=="sg*", ATTRS{model}=="Ultrium 3-SCSI ", NAME="%k", SYMLINK="tapedrive"
BUS=="scsi", KERNEL=="sg*", ATTRS{model}=="MAGNUM 224 ", NAME="%k", SYMLINK="changer"
3. Edit vm conf file
Code:
ostype: l26
memory: 4096
sockets: 1
onboot: 0
name: bak1
vlan0: e1000=DA:9F:DF:7E:8C:51
bootdisk: scsi0
scsi0: Raid10:vm-103-disk-1
scsi1: /dev/tapedrive,cache=writethrough
scsi2: /dev/changer
cores: 2
boot: c
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
ide0: none,media=cdrom
Problem:
VM starts up, but Redhat reports that there was a Problem scanning LUN 1 and only the tapedrive is passed through!
Code:
kernel: scsi 0:0:1:0: Unexpected response from lun 1 while scanning, scan aborted
To clear it up, for tandberg devices the scsi connection typically looks like:
ID 1 LUN 0 Tapedrive
ID 1 LUN 1 Changer
Does anybody have a hint for me?
Thanks
Last edited: