Arno Lehmann wrote:
Hello,

On 2/26/2006 5:49 PM, LDB wrote:
...
I am trying to use disk as the backup device. What am I doing wrong? :)
...
you could trim your mails a little... might make it easier to find what you're trying to discuss.

Now, that I have resolved that I get the following ..

Reposition to file:block 0:4
26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: "BB02", got "". Buffer discarded.

This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-)

btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error
btape: btape.c:989 This may be because the tape drive block size is not
 set to variable blocking as normally used by Bacula.
 Please see the Tape Testing chapter in the manual and
 look for using mt with defblksize and setoptions
If your tape drive block size is correct, then perhaps
 your SCSI driver is *really* stupid and does not
 correctly report the file:block after a FSF. In this
 case try setting:
    Fast Forward Space File = no
 in your Device resource.


Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings ..

    Block Positioning = no
    Fast Forward Space File = no

but to no avail ..

Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... "Random Access = Yes" should be used instead.

Any ideas??

I think so...

Arno


LDB



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



I did use the sample file config. for file storage.

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /backups/bacula/backups
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

i just changed the backup directory only.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to