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



Below is the /etc/bacula/bacula-sd.conf file ...

I am not seeing any issues .. I have consulted ..

        http://www.bacula.org/dev-manual/Automated_Disk_Backup.html
        http://www.bacula.org/dev-manual/Basic_Volume_Management.html


as well .. I am not seeing anything wrong .. (can someone else??)



#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- suse 5.x
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage {                             # definition of myself
  Name = liszt-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/lib/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = liszt-dir
  Password = "/rO99ZRj8hKJn8ebzVx0xnDOslxid2g1GZLPiqQPD7pD"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = liszt-mon
  Password = "0UdkrNO9TpRPfPKzqo2o5Mm3n3HgINqT9Qyh05WLUjhR"
  Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

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;
}

#
# A Linux or Solaris tape drive
#
#Device {
#  Name = DDS-4                        #
#  Media Type = DDS-4
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
## Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
## Changer Device = /dev/sg0
## AutoChanger = yes
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#}

#
# A FreeBSD tape drive
#
#Device {
#  Name = DDS-4
#  Description = "DDS-4 for FreeBSD"
#  Media Type = DDS-4
#  Archive Device = /dev/nsa1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
#  Hardware End of Medium = no
#  BSF at EOM = yes
#  Backward Space Record = no
#  Fast Forward Space File = no
#  TWO EOF = yes
#}

#
# A OnStream tape drive.
# You need the kernel osst driver 0.9.14 or later, and
#   do "mt -f /dev/nosst0 defblksize 32768" once as root.
#
#Device {
#  Name = OnStream
#  Description = "OnStream drive on Linux"
#  Media Type = OnStream
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
## The min/max blocksizes of 32768 are *required*
#  Minimum Block Size = 32768
#  Maximum Block Size = 32768
#}





#
# A very old Exabyte with no end of media detection
#
#Device {
#  Name = "Exabyte 8mm"
#  Media Type = "8mm"
#  Archive Device = /dev/nst0
#  Hardware end of medium = No;
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = Yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#}

#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
  Name = Standard
  director = liszt-dir = all
}


-------------------------------------------------------
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