Bacula-users

Re: [Bacula-users] new bacula installation

2010-08-12 17:19:16
Subject: Re: [Bacula-users] new bacula installation
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 13 Aug 2010 09:17:03 +1200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremiah D. Jester wrote:
> John,
> 
> You are correct. The device wasn't 'sg0' but rather 'sg1'. I made the change 
> in bacula-sd.conf, restarted daemons but still ran into the same problem. 
> Other ideas?
> 
> [root@scrappy bacula]# tapeinfo -f /dev/sg1 | head -5
> Product Type: Tape Drive
> Vendor ID: 'IBM     '
> Product ID: 'ULTRIUM-TD4     '
> Revision: '97F0'
> Attached Changer: No
> ...
> 
> [root@scrappy bacula]# mtx -f /dev/sg1 status
> mtx: Request Sense: Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 20
> mtx: Request Sense: Additional Sense Qualifier = 00
> mtx: Request Sense: Field in Error = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=yes
> mtx: Request Sense: SKSV=yes
> mtx: Request Sense: Field Pointer = 00 00
> READ ELEMENT STATUS Command Failed
> 
> JJ
> 

I think you've found again that sg1 isn't the changer device.  Try grepping for 
"type 8" in your boot/dmesg log; that
should show you which device node is the changer device that mtx will be able 
to use.

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
"It took people a long time to figure out which machine was doing it,
and even longer to figure out how. But for some reason it didn't take
 them any time at all to figure that I'd done it."
        -- Paul Tomblin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkxkZM8ACgkQmDveRtxWqnY9PQCglxDsuNS+oxWSde3JbduxnCPD
Y4QAoLZskOHZCf5WD7zX4id7ZdqrHteY
=uUwm
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users