Operating System - Linux
1829347 Members
12955 Online
109991 Solutions
New Discussion

DLT7000 on redhat linux 7.2

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

DLT7000 on redhat linux 7.2

Hi! i have one DLT 7000 conected to server HP LH6000 with Redhat linux 7.2. Problem is that its detected like SCSI Disk some times and like DLT other times. why... ? do i need one PCI SCSI Card for conect this devices?
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: DLT7000 on redhat linux 7.2

In general, these devices are connected to scsi cards. They are scsi devices and should show up that way.

Can you post your data on the detect? That would help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Edwin Ruiz_2
Super Advisor

Re: DLT7000 on redhat linux 7.2

I have conected on internal SCSI port, but... i dont know why some times is detected like disk and some times detected like DLT TAPE.. is that a linux problem?
Steven E. Protter
Exalted Contributor
Solution

Re: DLT7000 on redhat linux 7.2

You need to check the specs on the unit and then the port.

If the device is LVD(Low Voltage Differential) and the internal port is different you can damage the device this way.

I don't think its Linux. You need to check the doc on the DLT and then the server and make sure the internal port is exactly right. If not, you'll be needing to purchase the correct SCSI card.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Helen French
Honored Contributor

Re: DLT7000 on redhat linux 7.2

Are you able to backup file through this devices? What command are you using to check the device? Did you install the patches for tape and tape drivers? it's recommended to connect the backup devices on a single bus without mixing with other devices (for better performance).
Life is a promise, fulfill it!
Edwin Ruiz_2
Super Advisor

Re: DLT7000 on redhat linux 7.2

I am using cdrecord -scanbus for check devices, i had not installed patches neither driver.. how can i know what driver use for it? i was thinking that linux detect automatically.

Thanks
Stuart Browne
Honored Contributor

Re: DLT7000 on redhat linux 7.2

LH6000 (out of the 'box' so to speak) has the following controllers:

1 x IDE onboard
2 x Adaptec SCSI 3 controllers

Most people then add a RAID controller of some description (usually a HP-NETRAID (which is based on the AMI MegaRAID series)).

You will also need to ensure that the correct kernel modules are loaded (use 'lsmod').

The NetRAID uses 'megaraid'. This controller cannot have a tape attached to it.

The onboard Adaptec controllers use the 'aic7xxx' driver.

If you look in /proc/scsi/scsi, you should see the NetRAID listed, your HDD/Array, and (if the 'st' module is loaded) the tape drive as a 'Sequential-Access' device.

Show us what you can see please, the output of 'lsmod', and of 'cat /proc/scsi/scsi'.
One long-haired git at your service...
Edwin Ruiz_2
Super Advisor

Re: DLT7000 on redhat linux 7.2

Hi! I am sending archives with that information.

Thanks for ur help

[root@salato-apl10 samba]# cat lsmod.txt
Module Size Used by Not tainted
sg 35076 0 (autoclean)
nfsd 80704 8 (autoclean)
lockd 61184 1 (autoclean) [nfsd]
sunrpc 86032 1 (autoclean) [nfsd lockd]
ide-cd 35296 0 (autoclean)
cdrom 35520 0 (autoclean) [ide-cd]
soundcore 7940 0 (autoclean)
autofs 13796 0 (autoclean) (unused)
eepro100 21968 1
ipchains 47880 1
st 30548 0
ext3 73536 6
jbd 55048 6 [ext3]
aic7xxx 127200 0
megaraid 28160 10
sd_mod 13468 10
scsi_mod 125084 5 [sg st aic7xxx megaraid sd_mod]


[root@salato-apl10 samba]# more scsi.txt
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: HP Model: SAFTE; U160/M BP Rev: 1023
Type: Processor ANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD0 RAID5 86825R Rev: E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
Vendor: HP Model: SAFTE; U160/M BP Rev: 1023
Type: Processor ANSI SCSI revision: 02
Host: scsi1 Channel: 01 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD0 RAID5 73655R Rev: F
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: QUANTUM Model: DLT7000 Rev: 2565
Type: Sequential-Access ANSI SCSI revision: 02

Stuart Browne
Honored Contributor

Re: DLT7000 on redhat linux 7.2

Alright, this is good.

It all appears as if it has been detected correctly.

Tape is plugged into the on-board Adaptec's second channel, at ID 1.

Using the 'dmesg' comand (or /var/log/dmesg) you should be able to find reference to the device 'st0'. This is your tape drive.

Judging by the details you've sent, it will always be 'st0'.

Could you try to get a snapshot of the system (same details) when it is being detected as a fixed-disk (rather than a sequential-access) device.

The fact that 'cdrecord -scanbus' doesn't identify it correctly isn't much to be concerned about in my opinion.

'mt -f /dev/st0 status' is a better indicator.
One long-haired git at your service...
Edwin Ruiz_2
Super Advisor

Re: DLT7000 on redhat linux 7.2

Ok! thanks.. i restart Server and it is working fine