Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
Tape Libraries and Drives
cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't my system access my tape drive

SOLVED
Go to solution
Joe Bozen
Advisor

Why can't my system access my tape drive

I've just attached a tape drive unit to my rx5670 (hp 11.23) and when I perform an IOSCAN I get this result:

0/5/1/1.2.0 tape QUANTUM DLT8000

In my /dev/rmt directory I see all the special device files. However, when I try to perform a tape command, I get errors that make me believe my system still can't see/access my tape library.

mt -f /dev/rmt/2m status
on tape open: No such device or address

# tar -cf /dev/rmt/2m //
tar: cannot open /dev/rmt/2m

I did try each device in the /dev/rmt directory but non of them worked. I was thinking about deleting all the files in the /dev/rmt directory and rebooting server and tape drive.

Any other thoughts!

tape-less
11 REPLIES
Michael Tully
Honored Contributor
Solution

Re: Why can't my system access my tape drive

Could you verify the driver, it should be stape not tape.
Anyone for a Mutiny ?
Hoang Chi Cong_1
Honored Contributor

Re: Why can't my system access my tape drive

Hi.
Normaly, the correct permission of the device file is:

666 bin:bin

You please check again.
If you want to know more about the device, post again

Hope this helps.

Jim
Looking for a special chance.......
Luk Vandenbussche
Honored Contributor

Re: Why can't my system access my tape drive

What is the complete output off
ioscan -fnC tape
florence mathon lermusi
Trusted Contributor

Re: Why can't my system access my tape drive

stupid but it can happens : is there a tape in your drive ?
Joe Bozen
Advisor

Re: Why can't my system access my tape drive

Thanks for the responses.

1. The permissions on the files were ok.

2. I'll need to check on the tape but I believe it was loaded but I was doing so many different things it could have been unloaded.

3. Results from ioscan
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 2 0/5/1/1.2.0 stape NO_HW DEVICE QUANTUM DLT8000
/dev/rmt/2m /dev/rmt/2mnb /dev/rmt/c7t2d0BESTn
/dev/rmt/2mb /dev/rmt/c7t2d0BEST /dev/rmt/c7t2d0BESTnb
/dev/rmt/2mn /dev/rmt/c7t2d0BESTb
Luk Vandenbussche
Honored Contributor

Re: Why can't my system access my tape drive

Something physicaly is wrong.
The Sw state says NO.
Your you sure it is connected to a good SCSI controller. Is your drive supported on the scsi controller? What is the HP partno off your drive
Joe Bozen
Advisor

Re: Why can't my system access my tape drive

Got my tape drive to work. I followed the same routine when I built my daughters bike and nothing worked, I read the directions :)

After I found the owners manual on my tape drive here at the HP web, I found out that I needed to connect a couple more cabels and SCSI terminators to my device. After I made sure my tape drive looked like the picture I downloaded :LOL: my tape drive came online.

Thanks again to all the suggestions and ideas!

joe...
Joe Bozen
Advisor

Re: Why can't my system access my tape drive

Btw,

When I look at my /dev/rmt directory, I see a bunch of different device files and from what I've seen, the files in my directory aren't any different from those in others. So, of those files, which one should I be using (ATT or BERKELEY)

# lssf 0m
stape card instance 5 SCSI target 1 SCSI LUN 0 at&t best density available at address ??? 0m
# lssf 0mb
stape card instance 5 SCSI target 1 SCSI LUN 0 berkeley best density available at address ??? 0mb

thanks,

joe...

Hoang Chi Cong_1
Honored Contributor

Re: Why can't my system access my tape drive

Hi Joe.
Thank for your reply. I can learn some importance from your reply.

Anyway, I have a short documentation. If you want, please see in the attachment.
This may you already known but I hope that it can bring to you some useful information.
Very glad to help you and goodluck to you.

Regards,

Jimkery

Looking for a special chance.......
Hoang Chi Cong_1
Honored Contributor

Re: Why can't my system access my tape drive

Oh...sorry!
I forgot the attachment file.

Hope this helps.

Regard,
Jimkery
Looking for a special chance.......
Kurt Beyers.
Honored Contributor

Re: Why can't my system access my tape drive

Joe,

Use the ATT device file on HP-UX.

A Berkeley device file is used on Sun Solaris servers.

Kurt