Operating System - HP-UX
1833494 Members
2640 Online
110052 Solutions
New Discussion

Re: configuration problem with DLT8000 and DLT818

 
SOLVED
Go to solution
Chen Yingjie
Frequent Advisor

configuration problem with DLT8000 and DLT818

We just installed a HP9000 L2000 server. There are two DLT autoloader on this server.One is 4 drive 40 slots(DLT8000) and another is 1 drive 8 slots(DLT818).

We made 2 device files for each DLT autoloader as below.
crw-rw-rw- bin bin 203 0x046000 /dev/dlt818 (for dLT818)
crw-rw-rw- bin bin 203 0x050000 /dev/dltloader (for DLT8000)

But both autoloader does not work by MC command and the UMA utility.
We can see the status by MC command but can not move the DLT tape from slot to drive.

Can someone give me a advice? Thank you.

Chen
12 REPLIES 12
Denver Osborn
Honored Contributor
Solution

Re: configuration problem with DLT8000 and DLT818

Does the mc command give an error when it fails to move the tape from slot to drive?

What drivers did you loaded into the kernel? looks like you bound the robot to sctl driver and mc does give you a status. Are you able to manualy move tapes from slot to drive?

If there's an error message with mc or uma please post it. I also assume you've got an stape cumulative patch.


-Denver
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

Thank you Denver, I reply you as below.

Does the mc command give an error when it fails to move the tape from slot to drive?

==>when i type mc -p /dev/dlt818 -s S1 -d D1,
it shown a error message as "invalid argument". But i think the command line is corrected.


What drivers did you loaded into the kernel? looks like you bound the robot to sctl driver and mc does give you a status. Are you able to manualy move tapes from slot to drive?

==>Both driver i loaded is sctl driver.
I can manually move tape from slot to drive
on DLT autoloader 818.

If there's an error message with mc or uma please post it. I also assume you've got an stape cumulative patch.

==> There is no error message when i use
uma. It does not show a command prompt.

And mc shown "invalid argument" while i
try to move tape from slot to drive.


chen
rajsri
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

 
Denver Osborn
Honored Contributor

Re: configuration problem with DLT8000 and DLT818

It could be a problem with the minor number for your device file. Verify that the minor number is correct using the above notes.
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

Thank you denver and rajsri, I attached a IOSCAN log here.
I think two device files are correct.

Do you think the DLT autoloader are not match the server?

chen
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

Thank you denver and rajsri, I attached a IOSCAN log here.
I think two device files are correct.

Do you think the DLT autoloader are not match the server or SCSI card?

chen
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

 
Denver Osborn
Honored Contributor

Re: configuration problem with DLT8000 and DLT818

Chen,

As far as I can tell your device files where created with the right major/minor numbers.

Would you be able to post and attach your /stand/system file? Maybe it'll show us something.

Thanks,
Denver
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

I attached the /stand/system here.

Thank you.
Eddie Warren
Valued Contributor

Re: configuration problem with DLT8000 and DLT818

Hi Chen,
It looks like the correct drivers are attached, you are just using the wrong major numbers. for example in your ioscan, for the robot device for C6280-8000 you should be able to use "uma" with the following command.

/opt/omni/lbin/uma -ioctl /dev/rac/c4t6d0

once it connects do a "stat" it will show you the status of the drives and slots. You would do the same command for the robot device for C7200-8000.

/opt/omni/lbin/uma -ioctl /dev/rac/c5t0d0

if both of these work with "uma" you can create your device files using the same major numbers as the above "rac" devices when you do your "mknod" for your specific devices.

It should work, I think you're real close.

regards

Eddie
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

Thanks Eddie.

But your advice does make dlt library work.
I donot think the major number of device file is incorrect.

chen
Chen Yingjie
Frequent Advisor

Re: configuration problem with DLT8000 and DLT818

I have fixed the problem.
And the problem is that there is a bad patch
in the general bundled patch.

We replaced PHKL_22460 by PHKL_22759, it is
a scsi io patch.

Thank you all persons for your kindness.

chen