-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I tried upgrading to 1.37.38 last night. Things were going okay but
it couldn't find the end of medium so I tried running btape again,
now I'm getting this:
backup# btape -d 99 -v /dev/nsa0
Tape block granularity is 1024 bytes.
btape: butil.c:261 Using device: "/dev/nsa0" for writing.
btape: dev.c:242 init_dev: tape=2 dev_name=/dev/nsa0
btape: dev.c:275 open dev: tape=2 dev_name="EXABYTE VXA AutoPak 1x10
E33a" (/dev/nsa0) vol= mode=OPEN_READ_ONLY
btape: dev.c:333 open dev: device is tape
14-Sep 09:18 btape: 3301 Issuing autochanger "loaded drive 0" command.
btape: autochanger.c:162 run_prog:
/usr/local/share/bacula/my-changer /dev/pass0 loaded 0 /dev/nsa0 0
stat=0 result=8
14-Sep 09:18 btape: 3302 Autochanger "loaded drive 0", result is Slot 8.
14-Sep 09:18 btape: btape Error: dev.c:396 fcntl error.
ERR=Inappropriate ioctl for device
btape: dev.c:417 open dev: tape -1 opened
14-Sep 09:18 btape: Fatal Error at device.c:273 because:
dev open failed:
14-Sep 09:18 btape: btape Fatal error: butil.c:174 Cannot open
"EXABYTE VXA AutoPak 1x10 E33a" (/dev/nsa0)
This is on FreeBSD 5. Everything else seems to work okay, mtx and
mt, loading unloading offline etc., my changer script works also
(mtx-changer with offline enabled). Permissions on the tape device
are correct (660)...not sure what it could be. :/ One thing that
makes me wonder is that it says opening for writing but later says
read only...but even with 666 perms it did that.
Device {
Name = "EXABYTE VXA AutoPak 1x10 E33a"
Archive Device = /dev/nsa0
Media Type = "ECRIX VXA-1 2B7B"
Autochanger = Yes
Changer Device = /dev/pass0
Changer Command = "/usr/local/share/bacula/my-changer %c %o
%S %a %d"
Automatic Mount = yes
Always Open = yes
Removable media = Yes
Random Access = no
Spool Directory = "/usr/bacula"
Maximum Spool Size = 10gb
Label Media = no
Hardware end of file = no
Offline on unmount = yes
BSF at EOM = yes
TWO EOF = yes
Backward Space Record = no
Backward Space File = no
Fast Forward Space File = no;
}
Josh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDKC75V/+PyAj2L+IRAmTmAJ9VuhsoNBgBlvEFRQ7bGfnTgtysAwCeK5p7
/NGhRZnbREOQXxEl+Xmx0XI=
=jxrf
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users