howto connect to a iscsi tape drive target

hans

New Member
Mar 25, 2009
15
0
1
Hi,

This might be a windows question but I'am not sure it is.

I did all the steps as explained in http://pve.proxmox.com/wiki/Tape_Drives.
But i can't get w2k8 to connect the tapedrive.

In server 2008 (KVM) iscsi initiator properties and then the discovery tab. I add the ip address of the proxmox server as a portal. But i get connection refused. Am I forgetting something?

Best regards,
Hans
 
These are the only iscsi related entries in the dmesg log. I can't find any entries in the syslog. I will reboor the computer tonight and see if there are any there.

iscsi: registered transport (tcp)
iscsi: registered transport (iser)
NET: Registered protocol family 10
scst: ***WARNING*** There is no patch io_context for your kernel version. For performance reasons it is strongly recommended to upgrade your kernel to version >= 2.6.27.x.
scst: Attached SCSI target mid-level at scsi0, channel 0, id 0, lun 0, type 0
scst: Attached SCSI target mid-level at scsi0, channel 0, id 32, lun 0, type 3
scst: Attached SCSI target mid-level at scsi2, channel 0, id 0, lun 0, type 5
scst: Processing thread started, PID 3046
scst: Processing thread started, PID 3047
scst: Init thread started, PID 3048
scst: Task management thread started, PID 3049
scst: SCST version 1.0.1.1 loaded successfully (max mem for commands 986MB, per device 394MB)
scst: Enabled features: TRACING
scst: Management thread started, PID 3050
iscsi-scst: iSCSI SCST Target - version 1.0.1.1/0.4.17r213
iscsi-scst: ***WARNING*** CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION not enabled in your kernel. ISCSI-SCST will be working with not the best performance. Refer README file for details.
scst: Target template iscsi registered successfully
iscsi-scst: Read thread started, PID 3055
iscsi-scst: Read thread started, PID 3056
iscsi-scst: Write thread started, PID 3057
iscsi-scst: Write thread started, PID 3058
iscsi-scst: ***ERROR*** Incorrect version of user space 7c2ed0248e21149bf8768abdeef1c95db3d87bda (expected ea662f42677173af0b5982a2886e27fd4977871f)
iscsi-scst: Releasing allocated resources
scst: Device handler "dev_tape" for type 1 registered successfully
scst: Device handler "dev_tape_perf" for type 1 registered successfully
scst: Device handler "dev_disk" for type 0 registered successfully
scst: Device handler "dev_disk_perf" for type 0 registered successfully
scst: Virtual device handler vdisk for type 0 registered successfully
scst: Virtual device handler vdisk_blk for type 0 registered successfully
scst: Virtual device handler vdisk_null for type 0 registered successfully
scst: Virtual device handler vcdrom for type 5 registered successfully
 
out of topic question: what backup tool do you wanna use in windows?
 
I did the steps as described in the tutorial. How can I check the version?
 
Code:
aptitude show scstadmin

Package: scstadmin
New: yes
State: installed
Automatically installed: no
Version: 1.0.6-1
Priority: optional
Section: net
Maintainer: Proxmox Suppiort Team <support@proxmox.com>
Uncompressed Size: 180k
Depends: perl (>= 5.6.0-16)
Description: SCST configuration and administration scripts
 This packages contains scstadmin which reads a configuration file /etc/scst.conf, or one if your choosing. With it you can manually or automatically configure
 every aspect of SCST incuding enabling/disabling target mode on your target SCSI controller.
 
Beginning with Backup Exec 2010, Debian 5 is officially supported. You can think of using

  • Backup Exec Remote Media Agent for Linux Server
Very easy to setup, just run the Linux Agent installer script on the Proxmox VE host - no need to fiddle around with iSCSI and its much faster also, you can get much higher throughput rates (with LTO3 up to ~3700MB/min if you have the data on the same host, e.g. if you store the vzdump backups on the host where the tape is attached).

There are some limitations, e.g. GRT is not supported - read backup exec 2010 admin guide.
 
Sorry noticed hjust now that i didn't post the reply on "aptitude show scstadmin" it is the same

uname -a
2.6.24-8-pve #1 SMP PREEMPT Fri Oct 16 11:17:55 CEST 2009 x86_64 GNU/Linux

and dpkg -l |grep scst
iscsi-scst 1.0.1.1-3 Generic SCSI Target Subsystem for Linux
scstadmin 1.0.6-1 SCST configuration and administration script
 
Sorry noticed hjust now that i didn't post the reply on "aptitude show scstadmin" it is the same

uname -a
2.6.24-8-pve #1 SMP PREEMPT Fri Oct 16 11:17:55 CEST 2009 x86_64 GNU/Linux

and dpkg -l |grep scst
iscsi-scst 1.0.1.1-3 Generic SCSI Target Subsystem for Linux
scstadmin 1.0.6-1 SCST configuration and administration script

you run an outdated kernel, update to the latest release:
see http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_1.x_to_1.5
 
Ok, I also cannnot update dist-upgrade.(And can't find anything in the logs). I'm going to do a clean installation with the latest proxmox version this weekend.
I'll let you know if that is the solution.
Thank you for your quick responses dietmar and tom. Very much appreciated.

Best Ragrds,

Hans
 
Hi, tried to do a clean install. I'm using a rr3120 card the installation procedure stops with no harddisk found. Is the driver not included in the 2.6.18 kernel?
Best regards,
Hans
 
looks not, I do not know. (the 2.6.18 is similar to RHEL5.4).

I suggest you go for:

Code:
apt-get install proxmox-ve-2.6.24
 
Hi Tom,

A bit of a problem here now with the new kernel.
Kernel panic
Kernel BUG at /net/core/skbuff.c:97!
any ideas ?

Best regarfs,

Hans
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!