> what means u should stick it in place like  /etc/devfs.conf on FreeBSD

This is SUSE, so I have no /etc/devfs.conf.

Well, my problem is not with Bacula itself. I loaded a tape into the drive and 
issued this at the command line:

# mt -f /dev/nst0 rewind
# mt: /dev/nst0: Input/output error

So the computer itself can't see the drive. However, commands issued to the 
autchanger work just fine. I loaded a tape into the drive with this:

# ./mtx-changer /dev/sg1 load 1 /dev/nst0 0

Unloading works as well.

So I re-booted. After loading a tape, mt shows normal results. Still, *label 
barcode has the same input/output errors.

After loading a tape, mt -f /dev/nst0 status shows this:
drive type = Generic SCSI-2 tape
drive status = -211392892
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 1024 bytes. Density code 0x82 (unknown).
Soft error count since last status=01
General status bits on (41010000):
  BOT ONLINE IM_REP_EN

It does not make a CR-LF at the end of the last line, so the command prompt 
appears right after '_EN'.

The tape drive /dev/nst0 passes the mt and tar test (tar cvf /dev/nst0 . 
followed by a rewind and tar tvf /dev/nst0), so the OS seems to be happy with 
the drive.

OK, Bacula will label the volumes one at a time. From bconsole I issue a label 
command, select the autochanger device from the storage resource list, give it 
the name of the tape in slot 1, and select the Daily pool. Here's what bacula 
tells me:

Connecting to Storage daemon Auto at bacula-test:9103 ...
Sending label command for Volume "A0000001" Slot 0 ...
Invalid slot=0 defined, cannot autload Volume.
3301 Issuing autochanger "loaded? drive 0" command.
3302 Auchanger"loaded? drive 0", result is Slot 1
block.c:275 volume data error at 0:0! Wanded ID: "BB02", got "". Buffer 
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="A0000001" Device="VXA3" (/dev/nst0)
Catalog record for Volume "A0000001", Slot 0 successfully creatged.
Requesting to mount VXA3 ...
3001 Device "VXA3" (/dev/nst0) is mounted with Volume "A0000001"
You have messages.
*m
10-Jul 08:55 bacula-dir:  Error: bnet.c:439 Write error sending 57 bytes to 
client:127:0.0.2:36131:  ERR=Broken pipe

If, however, I issue this command:

*label storage=Auto volume=A0000002 slot=2

Bacula deals with it flawlessly. I do get the I/O error mentioned in the 
manual, but otherwise it's OK. Much ado about nothing, I suppose, but I'm under 
some pressure here.

Thanks to all.
-- 

Tks n rgds,
Richard White CNE6, Linux+
Network Engineer
Mason County, Washington
360-427-5501
[EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to