StoreEver Tape Storage
1748195 Members
3822 Online
108759 Solutions
New Discussion юеВ

Re: storagetek L20 on hpux 11i

 
SOLVED
Go to solution
Uday_S_Ankolekar
Honored Contributor

Re: storagetek L20 on hpux 11i

Try installing driver schgr and rebuilt kernle , This needs a reboot.

-USA..
Good Luck..
Vermeulen Peter
Frequent Advisor

Re: storagetek L20 on hpux 11i

driver schgr is in the kernel
Michael Lampi
Trusted Contributor

Re: storagetek L20 on hpux 11i

It appears that ioscan does not see the tape drive at all.

If it were merely a driver not configured problem, then ioscan would show the device with a NO_DRIVER message.

Are you sure that the drive is installed properly in the library, with an ID different from the robot?
A journey of 1000 steps ends in a mile.
Vermeulen Peter
Frequent Advisor

Re: storagetek L20 on hpux 11i

The library and the drive have definitely a different ID. If we play around with these we sometimes get to see the drive (but then we don't see the library) in ioscan. Sometimes it is the other way around.
Is there a trick to find the correct ID so we can see both at the same time?
Eugeny Brychkov
Honored Contributor
Solution

Re: storagetek L20 on hpux 11i

As soon as LTO drives do not appear in ioscan output it's not hpux OS problem, it's connectivity problem. Your library is connected to brocade port #6, and only autochanger seen on this path.
I'm not familiar with L20 library, but I believe there's problen with its configuration. So please make sure that drives are residing on the same bus as autochanger and congigured to have different SCSI Ids (and not Id0 as autochanges occupies it). If there's another FC port in L20 on which drives are configured you need to connect that port to switch too.
Generally, you have to be digging aroung L20 library, not aroung hpux server and brocade switch.
Good luck!
Eugeny
Vermeulen Peter
Frequent Advisor

Re: storagetek L20 on hpux 11i

we changed some settings on the storagetek library to reflect the correct LUN number. (scsi id based on lun number priority instead of based on bus number priority).
We now can see both devices in ioscan and we can write to the tape with tar.

We're facing some problems with writing to the tape with fbackup.
Following patches are installed: PHCO_23914 and PHKL_27304

we're getting the error fbackup(3038): output file /dev/rmt/0mn is not a valid device file for backup

any help is much appreciated.

Re: storagetek L20 on hpux 11i

From the fbackup man page:

"fbackup should not be used with no-rewind devices, for example, /dev/rmt/0mn."

Try using /dev/rmt/0m

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Vermeulen Peter
Frequent Advisor

Re: storagetek L20 on hpux 11i

You'r right but we did first try with /dev/rmt/0m and it gives the same message.

Internally in our L20 library there is a LTO drive: SEAGATE ULTRIUM06242-XXX
Vermeulen Peter
Frequent Advisor

Re: storagetek L20 on hpux 11i

Hi all,

we finally got it working with the help of HP support.

We had to use the following command syntax in fbackup (just an example):
fbackup -f baantest:/dev/rmt/0m -i /etc
This means we had to put the hostname in front of the device. This way fbackup thinks it is a remote device and it isn't so restrictive on its characteristics.

We also noticed the following:
> MagTape Type: Device type cannot be determined
This means that the system has recognised the device as a tape drive (hence the stape assignment) but does not recognise it as a
supported device.
The fbackup command will not recognise the device because
"MagTape Type: Device type cannot be determined".
If it was a supported HP LTO/ultrium drive the program would have said:
"Linear Tape Open".

> tape 0 0/4/0/0.1.22.255.0.0.0 stape CLAIMED DEVICE SEAGATE
ULTRIUM06242-XXX
> autoch 0 0/4/0/0.1.22.255.0.0.1 schgr CLAIMED DEVICE STK L20
HP says that the stape driver would need to be enhanced to recognise and fully support this device.