David Raine wrote:
> Hi list,
>
> Am totally new to bacula and have installed v1.37.41 from CVS. When I
> use the btape command and try to run "test" I get this message
> immediately and no other tests are performed. :
>
> then write 1000 records and an EOF, then rewind,
> and re-read the data to verify that it is correct.
>
> This is an *essential* feature ...
>
> 18-Oct 14:58 btape: btape Fatal error: End of Volume "" at 0:0 on device
> "LTO-A (/dev/st0)
> (part_size=0,free_space=0, free_space_errno=0, errmsg=).
> btape: btape.c:791 Error writing block to device.
>
> The bacula-sd.conf device entry is shown below:
>
> Device {
> Name = LTO-A
> Media Type = LTO
> Archive Device = /dev/st0
> LabelMedia = yes;
> Random Access = no;
> AutomaticMount = yes;
> RemovableMedia=yes;
> AlwaysOpen = no;
> }
>
> The device is a Seagate LTO-1 drive. /proc/scsi/scsi lists it as:
>
> Host: scsi6 Channel: 00 Id: 00 Lun: 01
> Vendor: SEAGATE Model: ULTRIUM06242-XXX Rev: 1536
> Type: Sequential-Access ANSI SCSI revision: 03
My new LTO1,
Host: scsi1 Channel: 00 Id: 08 Lun: 00
Vendor: HP Model: Ultrium 1-SCSI Rev: E0AV
Type: Sequential-Access ANSI SCSI revision: 03
is working fine with this config:
Device {
Name = Ultrium-LTO1
Media Type = LTO1
Archive Device = /dev/nst1
Removable Media = yes
RandomAccess = no
Autochanger = no
Backward Space Record = yes
Automatic Mount = yes
Offline On Unmount = yes
Always Open = yes
Close on Poll = yes
Volume Poll Interval = 1m
}
and the following mt tweaks:
/etc/rc.d/rc.M:/bin/mt -f /dev/nst1 stsetoptions can-bsr
/etc/rc.d/rc.M:/bin/mt -f /dev/nst1 defblksize 0
--
Phil Stracchino [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
Mobile: 603-216-7037 Landline: 603-886-3518
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users