Tape Drive Linux

I had recently an issue with our backup server(HDD failure). It was in RAID0 hence I reinstalled OS (OEL 4.5). Also I installed netbackup 6.0.
The server has got two tape drives , one LTO and other one small ultrium drive.

How to detect the drives from the OS level and permanently make it as mounted state in order to configure the netbackup.
kurajeshSenior Systems AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kurajeshSenior Systems AnalystAuthor Commented:
i just tried the following command

cat /proc/scsi/scsi | less

Attached devices:
Host: scsi1 Channel: 00 Id: 04 Lun: 00
  Vendor: IBM      Model: ULTRIUM-TD2      Rev: 4770
  Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 08 Lun: 00
  Vendor: HP       Model: C5683A           Rev: C111
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: Adaptec  Model: DBBACKUP RAID 5  Rev: V1.0
  Type:   Direct-Access                    ANSI SCSI revision: 02
Daniel HelgenbergerCommented:
I just want to add if you need to find the device, you can use this:
sg_map -i -x

Open in new window

It will show you all SCSI generic driver mapped devices.
mt -t

Look at /dev/nrst0 is likely a reference to the LTO
There are multiple references dealing with whether the tape should be rewound, and whether compression should be enabled, etc.


Look at the major, minor numbers which will identify which tape it is references.

dmesg is one way to identify.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kurajeshSenior Systems AnalystAuthor Commented:
thanks, the drives are configured. i did a rewind command and offline as well. worked fine.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.