StoreEver Tape Storage
1753368 Members
5007 Online
108792 Solutions
New Discussion

Problem to use DAT40 Storageworks with a DL380 G2

 
Erick Vieira de Menezes
Occasional Contributor

Problem to use DAT40 Storageworks with a DL380 G2

Hi, Everyone.

I´m new here and I´m having problems getting my DAT40 to work properly with my server. I am running Linux Fedora 6. I have tested the tape device on the server with windows 2003 and Arcserver, where everything worked perfectly and I was able to write and restore the data on the tape.

However, on the Linux box, I was able to install the tape drivers, but I wasn’t able to write or restore to the tape. I have looked for threads here and can’t figure what the problem is.

So, if anyone can help me I’d appreciate it a lot.

That is the dmesg, and the mt commands:

scsi0 : cciss
Vendor: HP Model: C5683A Rev: P312
Type: Sequential-Access ANSI SCSI revision: 03
scsi 0:0:0:0: Attached scsi generic sg0 type 1
st: Version 20050830, fixed bufsize 32768, s/g segs 256
st 0:0:0:0: Attached scsi tape st0
st0: try direct i/o: yes (alignment 512 B)
st0: Block limits 1 - 16777215 bytes.
st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1).
cciss0: SCSI subsystem already engaged.
st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1).
st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1).
cciss0: SCSI subsystem already engaged.
cciss0: SCSI subsystem already engaged.
st0: Error 10000 (sugg. bt 0x0, driver bt 0x0, host bt 0x1).
[root@bope ~]# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
[root@bope ~]# mt -f /dev/st0 erase
/dev/st0: Input/output error

[root@bope ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: C5683A Rev: P312
Type: Sequential-Access ANSI SCSI revision: 03

[root@bope ~]# cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array 5i Controller
Board ID: 0x40800e11
Firmware Version: 1.16
IRQ: 177
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 32
Max # commands on controller since init: 125
Max SG entries since init: 31
Sequential access devices: 1

cciss/c0d0: 146.80GB RAID 0

Thanks,

Erick
2 REPLIES 2
Rob Leadbeater
Honored Contributor

Re: Problem to use DAT40 Storageworks with a DL380 G2

Hi Erick,

It looks as though you've probably got the tape drive hooked up to a port on the SmartArray controller. This isn't recommended. Why it should on Windows and not Linux, I don't know, but you'll save youself a lot of hassle by hooking the tape drive up to a dedicated SCSI card.

Cheers,

Rob
Erick Vieira de Menezes
Occasional Contributor

Re: Problem to use DAT40 Storageworks with a DL380 G2

Hi Rob,

Thank you for help me.
Why isn´t recommended plug the tape device on the SmartArray?
So I follow what you sad and I try to connect using the rescan script that I found yesterday inside one thread here in ITRC, and the response that I receive its:

[root@bope ~]# ./rescan-scsi-bus.sh
No SCSI host adapters found in sysfs

When I plug the tape on the SmartArray, I receive:
[root@bope ~]# echo "engage scsi" > /proc/driver/cciss/cciss0
[root@bope ~]# ./rescan-scsi-bus.sh
Host adapter 0 (cciss) found.
Scanning SCSI subsystem for new devices
Scanning host 0 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: C5683A Rev: P312
Type: Sequential-Access ANSI SCSI revision: 03
./rescan-scsi-bus.sh: line 262: return: : numeric argument required
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: C5683A Rev: P312
Type: Sequential-Access ANSI SCSI revision: 03
0 new device(s) found.
0 device(s) removed.

What can I do in order to plug this tape on the scsi port and not on the SmartArray?

Cheers,

Erick