Operating System - HP-UX
1833875 Members
1949 Online
110063 Solutions
New Discussion

Re: What determines the default tape device?

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

What determines the default tape device?

Using HPUX 11.00 and 10.20.
Going to automate the make_recovery process but I would like to know how to determine what is the default tape device for a system. I am aware of the -d option to make_recovery and will use if I have to.

I looked into the /etc/default directory and did not find. Can I make an entry there to define the default tape drive? And the again, how does a system determine the default tape drive?

Many thanks
Rick
5 REPLIES 5
CHRIS_ANORUO
Honored Contributor
Solution

Re: What determines the default tape device?

The sctl SCSI driver is configured into the kernel and device file created when a system is being installed. The default driver is always configured for the device /dev/rmt/0m. The rmt directory is created in /dev and it has character device files.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Brian M. Fisher
Honored Contributor

Re: What determines the default tape device?

The default tape device is /dev/rmt/0m
This is the first tape drive seen by the system when device files are created.

Brian
<*(((>< er
Perception IS Reality
Gary A. Price
New Member

Re: What determines the default tape device?

The "-d" option allows you to use an alternate device with make_recovery.
Fred Martin_1
Valued Contributor

Re: What determines the default tape device?

I believe the default tape device can also be set using the TAPE variable:

TAPE=/dev/rmt/c1t3d0BEST

fmartin@applicatorssales.com

Re: What determines the default tape device?

Hi

Try typing

ioscan -funC tape

you will get all the defined devices for TAPE drivers.

Regards

Nikhil
nikhil