1752590 Members
4489 Online
108788 Solutions
New Discussion юеВ

Re: DLT tape drive

 
subodhbagade
Regular Advisor

DLT tape drive

Hi,

please suggest for following--

We having the external DLT tape drive attached to server 1 and wanted to disconnect this tape drive from live server and wanted connect to server 2.

(1)what is the process and command to disconnect tape drive gracefully from live server 1.

(2)After disconnecting what will be the command to connect to server 2 or do we need to configure it ? or
#ioscan -fnC tape
#insf -e is enough ...

Thanks in advance.
Subodh

5 REPLIES 5
Ganesan R
Honored Contributor

Re: DLT tape drive

Hi,

It is not recommanded to remove it online when the server is up and running.

remove the drive offline from the first server and connect to the other server when it is down.

Server will create device files when it boot up. run ioscan and insf -e if it is required.
Also enable the stape drive in the kernel on the new server.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: DLT tape drive

Shalom,

1) This drive may be switched while the system is running. You may wish to put a terminator on the scsi port your disconnect it from.

2) This should be sufficient. If the drive has never been attached before you will need to go into kernel configuration (easy way is sam) and add the stape driver tot he kernel.

A kernel compile and boot will be required to enable the stape driver on server2

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
Torsten.
Acclaimed Contributor

Re: DLT tape drive

"it is not recommanded to remove it online when the server is up and running."

Better:

it is not recommended to open the scsi bus when the server is up and running - possible data loss.

If your drive is somehow hotswap able (e.g. installed in a tapearray 5300) you can do it.

In this case you should use rmsf to remove the special device files, disconnect the drive, connect it (hot plug to an closed bus) to a different server, run ioscan followed by insf ...).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
subodhbagade
Regular Advisor

Re: DLT tape drive

Hi,

As per the suggestion , tape drive is connected when server was down and rebooted the server.

(1)
After reboot i have checked with

# ioscan -fn
# insf -e
# ioscan -fnC tape
but it not giving the o/p as

Class I H/W Path Driver S/W State H/W Type Description

(2)
# mt status
on tape open: No such device or address

(3)
To check driver already loaded in to kernal.

# kmsystem | grep stape
stape Y -

(4)

# kmsystem -q stape
Module Configured Loadable
=================================================
stape Y -


(5)
# sam -> Kernel Configuration -> Drivers ->stape it shows..

stape ln ln Drive Static N/A

please advise, ioscan -fnC tape not giving me any tape driver path and not showing any status of Drive, is there any configuration needs to be change at kernel level or any other configuration.

how to resolve this ........


Thanks you Kindly.
Subodh.
Ganesan R
Honored Contributor

Re: DLT tape drive

Hi Subodh,

Irrespective of the driver enabled in the kernel, ioscan should show the device atleast in UNCLAIMED status.

If #ioscan -fnC tape doesn't list any device with it's hardware path, then you need to check the externel enclosure, scsi cable, terminater if any..
Best wishes,

Ganesh.