Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how find a device

Status
Not open for further replies.

DedeMole

Programmer
Aug 30, 2001
45
US
Hi all,
Need some simple help please. I have a dlt tape autoloader hooked to my Solaris 8 V880 server. I am trying to backup some files off the server onto the DLT tapes. I was going to just use the TAR command. BUT I can't figure out what the autoloaders device name is.... I was trying to use /dev/rmt/0 and then tried /dev/rmt/1 neither seemed to work.... Can someone help and tell me how to use the dlt or find what the device name thing is.....

I have to backup some directories so I can rebuild the server. So I thought if I just tar these 5 or 6 directories I'd be ok, but I can figure out how to use the autoloader....

Anyway ANY help is greatly appriciated....
 
Have you rebooted since adding the autoloader? If not, do a shutdown -i0 -g0 -y and boot -r from the OK prompt or touch reconfigure in the root directory and shutdown -i6 -g0 -y

Hopefully either way will find your device. You could also man devconfig for on-line adding of devices, but I've never used it. HTH.
 
Ken,
I have rebooted since adding on the Autoloader, and I did the reboot with the -r. I don't know what to run to see what the device thing is, or if the system has excepted the new equipment. I will look at the man pages for devconfig and see what that is... Thanks for the idea, at least now I have some place to start....

dede
 
ls /dev/rmt

You will get all the drive # such as 0 , 1, 2 and etc.

load a tape into the autoloader's dlt drive
run the mt command : mt -f /dev/rmt/0 stat

if you see the drive has a tape then eject the tape and
run the command again to make sure it is the drive.

If mt -f /dev/rmt/0 stat gives a "no tape loaded or drive
offline" messages then load the tape back into the autoloader's tape drive and try another drive address, such as mt -f /dev/rmt/1 stat. Continue until you find the drive #.


Did you try probing the bus to see if the drive was visible
during and before you rebooted the system?
 
Tuka,
THANKS that helped..... I found it.... it was /dev/rmt/2.. I now can do backups.... thanks again for the help....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top