I have an IBM VS160 tape drive.

First I exercised the drive with tar & it seems to work fine.

I added the following device definition to my bacula-sd.conf:

Device {
  Name = VS160-1                        #
  Media Type = VS160
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

I then restarted the sd.

I did "btape -c /usr/bin/bacula/bacula-sd.conf /dev/nst0"

and got  the

Tape block granularity is 1024 bytes.
btape: btape.c:XXX Using device: /dev/nst0

(I put in the XXX because I think it was a different line number)

I don't think the asterisk prompt ever appeared.  I typed "test" and hit 
return.
Nothing happened for several minutes and the tape didn't move.

Eventually I control-C'd out of it.

Subsequent tape accesses (mt or tar) yield:

/dev/nst0: Device or resource busy

I looked in my messages log and see this:

Jun 30 11:36:43 otter kernel: st0: MTSETDRVBUFFER only allowed for root.

Any ideas ? This tape drive is used nightly by Backup Edge and gets 
successful bit-level verifies of sets over 100GB.

I'm thinking I'll have to reboot to get my tape drive back now.

Thanks in advance.


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