On Fri, 14 Jul 2006, Julien Cigar wrote:

> Seems that I don't have such device ... :
>
> phoenix:/home/jcigar# tapeinfo -f /dev/sg0
> cannot open SCSI device '/dev/sg0' - No such file or directory
>
> I've always used /dev/st0 or /dev/nst0, but I also have the following :

/dev/st* doesn necessarily map to the same /dev/sg*

As an example, my changer is (currently) /dev/sg16, nst0 is sg17
and nst1 is sg18, depending how I plug the SAN, they've been known to show 
up starting at sg48.

I used this to find what is where.

#!/bin/sh
for d in `seq 1 64`; do echo -n $d; tapeinfo -f /dev/sg$d | grep -i "Product 
type"; done | less

AB



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to