Great!!.
Executing : #sg_rmsn -r /dev/st0
show Media Serial Number.
Note: In Centos you need install "sg3_utils.i386"
Thanks!
2011/2/1 James Harper
> > Hi,
> >
> > HP LTO3 tapes are labeled with a unique reference.
> > Is there any way to get this reference from a bash script?
> >
>
> sg_rmsn
> Hi,
>
> HP LTO3 tapes are labeled with a unique reference.
> Is there any way to get this reference from a bash script?
>
sg_rmsn is supposed to read the Media Serial Number. It doesn't work for
any of my tape drives though (including a HP LTO3).
James
---
On 01/02/11, Jose Antonio Rodriguez Martin (jarodrig...@cgi.es) wrote:
> HP LTO3 tapes are labeled with a unique reference.
> Is there any way to get this reference from a bash script?
If you are referring to the tape volumename, a convenient way of
extracting volumenames can be to run a database