Tape Drive Linux

Posted on 2013-09-02
Medium Priority
Last Modified: 2013-09-11
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.
Question by:kurajesh
  • 2

Author Comment

ID: 39458502
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
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39458675
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.
LVL 81

Accepted Solution

arnold earned 2000 total points
ID: 39459413
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.


Author Closing Comment

ID: 39485528
thanks, the drives are configured. i did a rewind command and offline as well. worked fine.

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question