Veritas-bu

[Veritas-bu] Drive Serial Numbers

2002-12-13 13:31:06
Subject: [Veritas-bu] Drive Serial Numbers
From: david AT datastaff DOT com (David A. Chapa)
Date: Fri, 13 Dec 2002 12:31:06 -0600
right...I'm assuming tpautoconf uses /usr/openv/volmgr/bin/goodies/scan to
get its information.  At least that's what I'm going to do in a script to
populate the globDB WITHOUT renaming/renumbering existing drives, which I
have seen tpautoconf do just recently at a customer site.

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
Backup Storage Consultant
DataStaff, Inc.
http://www.datastaff.com
312 683 1144
---------------------------------------

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Brian
Baldridge
Sent: Thursday, December 12, 2002 6:16 PM
To: 'Winkeler, Paul'; David Chapa
Cc: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Drive Serial Numbers


Yes, in the goodies directory is the scan command.

-----Original Message-----
From: Winkeler, Paul [mailto:PWinkeler AT officemax DOT com]
Sent: Thursday, December 12, 2002 6:35 PM
To: David Chapa
Cc: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Drive Serial Numbers


David

There is an "sgscan" in that directory but not a plain "scan" so I am
guessing that is the command the sun contact was referring to.  Note that
the "tape" argument does not take a leading dash though.  When I run this on
one of our media servers here I get:

# sgscan tape
/dev/sg/c16t0l0: (/dev/rmt/24): "STK     T9940B"
/dev/sg/c16t1l0: (/dev/rmt/25): "STK     T9940B"
/dev/sg/c16t2l0: (/dev/rmt/22): "STK     T9940B"

Throwing in the additional -v option I see:
# sgscan tape -v
/dev/sg/c16t0l0: (/dev/rmt/24): "STK     T9940B          1.32"
/dev/sg/c16t1l0: (/dev/rmt/25): "STK     T9940B          1.32"
/dev/sg/c16t2l0: (/dev/rmt/22): "STK     T9940B          1.32"
/dev/sg/c16t3l0: (/dev/rmt/26): "STK     T9940B          1.32"

In other words, still no serial numbers although you then do get the
firmware revision, a useful factoid in its own right.

Is there another tool in that directory I am not aware of?

 PaulW
---
Paul Winkeler, IT Consultant
216-471-3795


-----Original Message-----
From: David A. Chapa [mailto:david AT datastaff DOT com]
Sent: Thursday, December 12, 2002 5:07 PM
To: Winkeler, Paul
Cc: 'David A. Chapa'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Drive Serial Numbers


I found it...thanks to a friend from Sun.

/usr/openv/volmgr/bin/scan -tape


David


Quoting "Winkeler, Paul" <PWinkeler AT officemax DOT com>:

> David
>
> Try: vmglob -listall -java
>
> ---
> Paul Winkeler, IT Consultant
> 216-471-3795
>
>
> -----Original Message-----
> From: David A. Chapa [mailto:david AT datastaff DOT com]
> Sent: Thursday, December 12, 2002 2:35 PM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Drive Serial Numbers
>
>
> Anyone have a "quick and easy" way of getting this information WITHOUT
> using
>
> the intrusive and evil tpautoconf?
>
> David
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
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>