Hi All,

Apologies if this is a bit verbose but I'm trying to get everything in.

I'm currently trying to get bacula working on NetBSD and having some issues, and was wondering if anyone out there can help.

I can run a backup fine, stop bacula (using /usr/local/bacula/etc/bacula stop), rewind the tape, start bacula and run another backup fine. I can repeat this until the tape fills up with no problems.

However, if I reboot the machine then the backup will fail with something like:-

22-Mar 18:48 thejolly-sd: MySQL.2005-03-22_18.46.44 Error: I canot write on Volume "Test2" because:
The number of files mismatch! Volume=4 Catalog=5


I'm running NetBSD 2.99 built from current sources a month or so ago, and bacula 1.36.1 built from sources. (the version in the NetBSD pkgsrc collection, 1.36.0 has the same issues.)

My tape drive is a Sony SDT-9000 on an Adaptec SCSI adaptor (not sure exact model)

My tape is configured like this:-

Device {
  Name = TapeStorage
  Media Type = DDS-4
  Archive Device = /dev/nrst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Hardware End of Medium = no;
  BSF at EOM = yes;
  Backward Space Record = no;
  Backward Space File = no;
  Fast Forward Space File = yes;
  TWO EOF = no;
}

I can run btape's 'test' command with no problems, I can run the 'fill' command with 2 tapes with no problem, I can restart bacula till the cows come home with no problem, but not once I've rebooted.

I've tried switching from MySQL to sqlite, with no difference, I've tried fixed block sizes with no sucess, and I'm at a bit of a loss.

I've tried varioust mt commands (to the limit of NetBSDs mt) with no sucess.

If anyone has any ideas that'd be great.

cheers,

Ian

--
Ian Clark



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to