HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

No Tape Loaded for mt status

 
SOLVED
Go to solution
debtboy
Advisor

No Tape Loaded for mt status

Hello,
I am a fairly new admin.


I have installed a Host Bus adapter and tape drive on 3 different machines
(2-RX6600 and 1-RX3600) All 3 machines respond the same to:

# mt -f /dev/rmt/0mn status
no tape loaded


Below are a few details on the RX3600:

HP-UX 11i V3
RX3600

Installed HP SC44Ge Host Bus Adapter
(CommonIO B.11.31.1103.01)

Installed HP LTO-5 3000 SAS Driver (external 1U rackmount)


# ioscan -fnC tape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
tape      0  0/6/0/0/0/0/1/0/0/0.0.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/0m            /dev/rmt/0mn           /dev/rmt/c1t0d0BEST    /dev/rmt/c1t0d0BESTn
                      /dev/rmt/0mb           /dev/rmt/0mnb          /dev/rmt/c1t0d0BESTb   /dev/rmt/c1t0d0BESTnb




Installed new HP LTO-5 Ultrium RW cartridge.
Green light flashed for about 30 seconds then solid green.


# mt -f /dev/rmt/0mn status
no tape loaded



Replaced that tape with another new one, but got the same result.

# mt -f /dev/rmt/0mn status
no tape loaded



Here is my /dev/rmt directory:
# ll /dev/rmt
total 0
crw-rw-rw-   2 bin        bin        205 0x010000 Aug 12 19:22 0m
crw-rw-rw-   2 bin        bin        205 0x010080 Aug 12 19:22 0mb
crw-rw-rw-   2 bin        bin        205 0x010040 Aug 12 19:22 0mn
crw-rw-rw-   2 bin        bin        205 0x0100c0 Aug 12 19:22 0mnb
crw-rw-rw-   2 bin        bin        205 0x010000 Aug 12 19:22 c1t0d0BEST
crw-rw-rw-   2 bin        bin        205 0x010080 Aug 12 19:22 c1t0d0BESTb
crw-rw-rw-   2 bin        bin        205 0x010040 Aug 12 19:22 c1t0d0BESTn
crw-rw-rw-   2 bin        bin        205 0x0100c0 Aug 12 19:22 c1t0d0BESTnb

Any help at all would be greately appreciated

Thank you

14 REPLIES
Robert_Jewell
Honored Contributor

Re: No Tape Loaded for mt status

Are the tape units autoloaders or standalone tape drives? Try installing HP's Library and Tape Tools on one of the hosts.  This tool might give you more information about the drives and can test the ability to connect to the drive from the host.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
debtboy
Advisor

Re: No Tape Loaded for mt status

Thanks for your quick response.

 

They are stand alone.

I will try the Library and Tape Tools tomorrow

 

Thanks again

debtboy
Advisor

Re: No Tape Loaded for mt status

OK,

HP's Storageworks Library and Tape Tools reports this...

 

Scan Mode Selection > Saved/Manual Scan >
------------------------------------------------------------------------------------------------------------------------------
You can scan the listed devices. Type the corresponding number to select or deselect. See the command list for additional
help.

Libraries/Autoloaders:

Processors/Enclosures:

Drives:
   1 [X] HP Ultrium 5-SCSI (Address: 0/6/0/0/0/0/1/0/0/0.0x500110a0013a0d68.0x0[1-64000/0xfa00/0x4])


Main > Drive Information >
------------------------------------------------------------------------------------------------------------------------------
The following is identity information for the selected device. You can use commands to select functionality to perform on this
device.

Product ID               : Ultrium 5-SCSI
Drive Technology         : LTO
Mech. Serial Number      : HU1124GYL0
Firmware Rev             : Z3ED/Standalone
Target ID                : 104
Target LUN               : 0
OBDR Capability          : Supported
WORM Capability          : Supported

Cartridge Information (for cartridge currently in drive):
Cartridge Type : LTO 5 Data
* Capacity      : 3000 GB (2:1 data compression)
Write Protected : No
Barcode         : Not Set
Cartridge Partitioned: No

* Capacity varies by compression ratio and is system and data dependent. Numbers represent capacity with no compression and
with 2:1 compression

 

 

 

 

I tried mt again with the same result...

 

# mt -f /dev/rmt/0mn status
no tape loaded

 

 

Thanks for your help

--rick

debtboy
Advisor

Re: No Tape Loaded for mt status

It appears that the hardware is fine, so it must be something I'm doing wrong on the command line.

 

 

Some LTT additional test results...

 

Main > Drive Information > Test >
--------------------------------------------------------------------------------------------------------------------------------
You can run tests on these devices. Type the corresponding number to select or deselect. See the command list for additional
help.

Currently Selected Test: LTO Drive Assessment test

Selected Test Description: This test will check the functionality of your LTO Drive, and ensure that it is working correctly.
Please load a data cartridge (preferably a new cartridge) and set the 'Allow overwrite' test option to true before starting the
test. Warning! This test will erase any data already on your data cartridge (please ensure the data cartridge is not write
protected).

 1. [X] Drive (Ultrium 5-SCSI) - passed
 2. Change Test Options
 3. Start

     +- Informational: hp StorageWorks library and tape tools - Test Functions --------------------------------------------+ 
     |                                                                                                                     | 
     |  Test execution completed successfully.                                                                             | 
     |  Use the 'review' command to see the run details.                                                                   | 
     |                                                                                                                     | 
     |                                                                                                                     | 
     +- Press any key to continue -----------------------------------------------------------------------------------------+







Main > Drive Information > Test >
--------------------------------------------------------------------------------------------------------------------------------
You can run tests on these devices. Type the corresponding number to select or deselect. See the command list for additional
help.

Currently Selected Test: Connectivity Test

Selected Test Description: This test writes data to the internal buffers in your product, to verify that the physical connection
between your host and the storage device is operational. No data is written to a media, should there be one present in the
drive.

 1. [X] Drive (Ultrium 5-SCSI) - passed
 2. Change Test Options
 3. Start


     +- Informational: hp StorageWorks library and tape tools - Test Functions --------------------------------------------+ 
     |                                                                                                                     | 
     |  Test execution completed successfully.                                                                             | 
     |  Use the 'review' command to see the run details.                                                                   | 
     |                                                                                                                     | 
     |                                                                                                                     | 
     +- Press any key to continue -----------------------------------------------------------------------------------------+







Main > Drive Information > Test >
--------------------------------------------------------------------------------------------------------------------------------
You can run tests on these devices. Type the corresponding number to select or deselect. See the command list for additional
help.

Currently Selected Test: Read/Write Test

Selected Test Description: This test verifies the ability to READ & WRITE data to and from the removable media in your storage
device.** NOTE - This test is destructive and will overwrite data on the media that is present in your product when the test is
started**

 1. [X] Drive (Ultrium 5-SCSI) - passed
 2. Change Test Options
 3. Start


     +- Informational: hp StorageWorks library and tape tools - Test Functions --------------------------------------------+ 
     |                                                                                                                     | 
     |  Test execution completed successfully.                                                                             | 
     |  Use the 'review' command to see the run details.                                                                   | 
     |                                                                                                                     | 
     |                                                                                                                     | 
     +- Press any key to continue -----------------------------------------------------------------------------------------+

 

 

 

 

 

Back on the command line...

 

HPPRODWEB01:/opt/ltt# mt status
on tape open: No such device or address
HPPRODWEB01:/opt/ltt# mt -f /dev/rmt/0mn status
no tape loaded
HPPRODWEB01:/opt/ltt# echo $TAPE
sh: TAPE: Parameter not set.
HPPRODWEB01:/opt/ltt#

 

 

Any suggestions would be greatly appreciated

Thanks

--rick

Robert_Jewell
Honored Contributor
Solution

Re: No Tape Loaded for mt status

Then perhaps this is a SAS driver issue or patch issue.  You show your CommonIO package version, is it the latest?

 

Search software.hp.com for this and also for sasd and check results.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Robert_Jewell
Honored Contributor

Re: No Tape Loaded for mt status

Also, perhaps try the persistent DSF:

 

 # ioscan -m dsf

 

Look for the equivalent device file that give that a shot.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
debtboy
Advisor

Re: No Tape Loaded for mt status

Yes already gave that a shot.

debtboy
Advisor

Re: No Tape Loaded for mt status

Thanks for the suggestion...

 

A new version did came out at the end of July 

B.11.31.1103 -> B.11.31.1109

 

Just requested the new version from the software depot.

 

I'll post again when it's loaded

 

Thank you again

--rick

debtboy
Advisor

Re: No Tape Loaded for mt status

OK,

Installed CommonIO_B.11.31.1109

 

same problem...

HPPRODWEB01:/dev/rmt# mt status
on tape open: No such device or address
HPPRODWEB01:/dev/rmt# mt status
no tape loaded

 

 

Removed and recreated device files, same problem...

# rm /dev/rmt/*

# rm /dev/rtape/*

 

# insf -e

 

HPPRODWEB01:/dev/rmt# ls -l
total 0
crw-rw-rw-   2 bin        bin        205 0x010000 Sep  1 08:04 0m
crw-rw-rw-   2 bin        bin        205 0x010080 Sep  1 08:04 0mb
crw-rw-rw-   2 bin        bin        205 0x010040 Sep  1 08:04 0mn
crw-rw-rw-   2 bin        bin        205 0x0100c0 Sep  1 08:04 0mnb
crw-rw-rw-   2 bin        bin        205 0x010000 Sep  1 08:04 c1t0d0BEST
crw-rw-rw-   2 bin        bin        205 0x010080 Sep  1 08:04 c1t0d0BESTb
crw-rw-rw-   2 bin        bin        205 0x010040 Sep  1 08:04 c1t0d0BESTn
crw-rw-rw-   2 bin        bin        205 0x0100c0 Sep  1 08:04 c1t0d0BESTnb
HPPRODWEB01:/dev/rmt# ls -l ../rtape
total 0
crw-rw-rw-   1 bin        bin         25 0x000004 Sep  1 08:04 tape1_BEST
crw-rw-rw-   1 bin        bin         25 0x000006 Sep  1 08:04 tape1_BESTb
crw-rw-rw-   1 bin        bin         25 0x000005 Sep  1 08:04 tape1_BESTn
crw-rw-rw-   1 bin        bin         25 0x000007 Sep  1 08:04 tape1_BESTnb

 

# ioscan -m dsf
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk1         /dev/rdsk/c0t0d0
/dev/rdisk/disk1_p1      /dev/rdsk/c0t0d0s1
/dev/rdisk/disk1_p2      /dev/rdsk/c0t0d0s2
/dev/rdisk/disk1_p3      /dev/rdsk/c0t0d0s3
/dev/rtape/tape1_BEST    /dev/rmt/c1t0d0BEST
/dev/rtape/tape1_BESTn   /dev/rmt/c1t0d0BESTn
/dev/rtape/tape1_BESTb   /dev/rmt/c1t0d0BESTb
/dev/rtape/tape1_BESTnb   /dev/rmt/c1t0d0BESTnb

 

so I try again... (as if it would work this time LOL)

HPPRODWEB01:/dev/rmt# mt -f /dev/rmt/0mn status
on tape open: No such device or address
HPPRODWEB01:/dev/rmt# mt -f /dev/rmt/0mn status
no tape loaded
HPPRODWEB01:/dev/rmt# mt -f /dev/rmt/c1t0d0BESTn status
on tape open: No such device or address
HPPRODWEB01:/dev/rmt# mt -f /dev/rmt/c1t0d0BESTn status
no tape loaded
HPPRODWEB01:/dev/rmt# mt -f /dev/rtape/tape1_BESTn status
on tape open: No such device or address
HPPRODWEB01:/dev/rmt# mt -f /dev/rtape/tape1_BESTn status
no tape loaded

 

Am I missing something??

 

Any help is appreciated

(Thanks again Bob)

Robert_Jewell
Honored Contributor

Re: No Tape Loaded for mt status

The behavior of the command is strange.  I wonder if this has anything to do with the tape using the stape driver rather than the estape driver (or if it matters)?

 

Do you have the estape driver loaded into the kernel?  (lsdev).  However, not sure about how to associate a device with a different driver (I think this can be done?)?  I dont time now to research, so maybe someone else can offer help on this topic?

 

-bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
debtboy
Advisor

Re: No Tape Loaded for mt status

OK... I'm still at  :-)

 

Yes it looks like I have both drivers loaded...

HPPRODWEB01:/# more /stand/system | grep -e tape
module estape   best    1.0.[45D4D120]
module stape    best    1.0.[45D4D134]

 

 

 

I used rmsf instead of rm to remove the /dev/rmt/ device files this time...

HPPRODWEB01:/# rmsf /dev/rmt/*
HPPRODWEB01:/#

 

Which worked, but this didn't...

HPPRODWEB01:/dev/rtape# rmsf /dev/rtape/*
Device /dev/rtape/tape1_BEST is busy. Cannot remove.
Device /dev/rtape/tape1_BESTb is busy. Cannot remove.
Device /dev/rtape/tape1_BESTn is busy. Cannot remove.
Device /dev/rtape/tape1_BESTnb is busy. Cannot remove.

 

so I ran...

HPPRODWEB01:/dev/rmt# insf -e -C tape
insf: Installing special files for stape instance 0 address 0/6/0/0/0/0/1/0/0/0.0.0.0.0
insf: Installing special files for estape instance 1 address 64000/0xfa00/0x4

 

 

So I ran these ioscans...

HPPRODWEB01:/# ioscan -fNnC tape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
===================================================================
tape      1  64000/0xfa00/0x4  estape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rtape/tape1_BEST    /dev/rtape/tape1_BESTb   /dev/rtape/tape1_BESTn   /dev/rtape/tape1_BESTnb


HPPRODWEB01:/# ioscan -fnC tape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
tape      0  0/6/0/0/0/0/1/0/0/0.0.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/0m            /dev/rmt/0mn           /dev/rmt/c1t0d0BEST    /dev/rmt/c1t0d0BESTn
                      /dev/rmt/0mb           /dev/rmt/0mnb          /dev/rmt/c1t0d0BESTb   /dev/rmt/c1t0d0BESTnb

 

 

I'm a little confused now, so any help would be greatly appreciated.

Thank You

RRGabe
Occasional Advisor

Re: No Tape Loaded for mt status

I don't know if you have fixed this, but I had same issue until I installed the latest SerialSCSI-00 driver:

 

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SerialSCSI-00

debtboy
Advisor

Re: No Tape Loaded for mt status

Just an update...

 

My issue has been resolved via HP Support.

I needed to update my systems with the latest HWE and QPK patches.

 

Thank you to Robert_Jewell for helping!!

 

Robert_Jewell
Honored Contributor

Re: No Tape Loaded for mt status

You are welcome.  Thank you for posting the resolution.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!