Re: [Bacula-users] HP LTO3 tapes reference

2011-02-02 Thread Jose Antonio Rodriguez Martin
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

Re: [Bacula-users] HP LTO3 tapes reference

2011-02-01 Thread 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 is supposed to read the Media Serial Number. It doesn't work for any of my tape drives though (including a HP LTO3). James ---

Re: [Bacula-users] HP LTO3 tapes reference

2011-02-01 Thread Rory Campbell-Lange
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