Veritas-bu

[Veritas-bu] Finding /dev file of a drive

2002-01-22 18:25:27
Subject: [Veritas-bu] Finding /dev file of a drive
From: gyurchak AT veritas DOT com (Gregg Yurchak)
Date: Tue, 22 Jan 2002 18:25:27 -0500
Sorry to jump in so late here.  When you use tpreq to load a tape for use,
you shouldn't use the /dev/rmt entries to access it.  Instead, you should
use the file you specified with the tpreq command (/tmp/fish for example).
This isn't just a marker/lock file; you can actually use it to manipulate
the tape the same as you would with the /dev/rmt commands.  So you can do a
mt -f /tmp/fish status or things along those lines.  If you use the /dev/rmt
entries and NetBackup checks the status of the drive, it will mark it as
down.

Thanks,
Gregg Yurchak
VERITAS Professional Services
Biloxi, MS
Cell:   228.324.6939
Office: 228.575.6299


-----Original Message-----
From: Jason Ahrens [mailto:Jason.Ahrens AT telus DOT com] 
Sent: Tuesday, January 15, 2002 11:29 AM
To: Veritas BU
Subject: [Veritas-bu] Finding /dev file of a drive

>From the command line, I need to do the following.

Once I get a tape mountd with tpreq, I can find what drive the tape ended up
in with vmoprcmd. However, I need to access the device itself for my next
operation (ie: /dev/rmt/...)

>From the command line, how can I get a list of drives and their associated
/dev device file? I know I've done it in the past, but (of course) can't
remember how to do it now that I need it...

Thanks

Jason

--
Jason Ahrens, Systems Analyst
TELUS Enterprise Solutions
http://www.telus.com
The Future is Friendly

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>