Re: Got write_block_to_dev error on device

"Martin Juhl Prendergast" <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
Oh, I can see that..

The storage daemon says:

Dec 16 21:59:08 ************ bacula-sd[822953]: bacula-sd: message.c:1841-37 bsock.c:275 Socket has errors=1 on call to client:************:9103
Dec 16 21:59:08 ************ bacula-sd[822953]: bacula-sd: record_write.c:236-37 Got write_block_to_dev error on device "Consolidate" (/home/bacula/consolidate). Error sending Volume info to Director.
Dec 16 21:59:10 ************ bacula-sd[822953]: bacula-sd: message.c:1841-37 bsock.c:275 Socket has errors=1 on call to client:************:9103

Config:

Director {
  Name = "bacula-dir"
  Password = "@@SD_PASSWORD@@"
}
Director {
  Name = "bacula-mon"
  Password = "@@MON_SD_PASSWORD@@"
  Monitor = yes
}
Storage {
  Name = "bacula-sd"
  WorkingDirectory = "/var/spool/bacula"
  PidDirectory = "/var/run"
  PluginDirectory = "/usr/lib64/bacula"
  MaximumConcurrentJobs = 20
}
Device {
  Name = "AlwaysIncrement"
  Description = ""
  MediaType = "AlwaysIncrement"
  DeviceType = "File"
  ArchiveDevice = "/home/bacula/autoincrement"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  Autochanger = no
  ReadOnly = no
  MaximumConcurrentJobs = 5
  DriveIndex = 0
}
Device {
  Name = "FileChgr1-Dev1"
  MediaType = "File1"
  ArchiveDevice = "/tmp"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = no
  MaximumConcurrentJobs = 5
}
Device {
  Name = "FileChgr1-Dev2"
  MediaType = "File1"
  ArchiveDevice = "/tmp"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = no
  MaximumConcurrentJobs = 5
}
Device {
  Name = "FileChgr2-Dev1"
  MediaType = "File2"
  ArchiveDevice = "/tmp"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = no
  MaximumConcurrentJobs = 5
}
Device {
  Name = "FileChgr2-Dev2"
  MediaType = "File2"
  ArchiveDevice = "/tmp"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = no
  MaximumConcurrentJobs = 5
}
Messages {
  Name = "Standard"
  Director = bacula-dir = All
}
Autochanger {
  Name = "FileChgr1"
  Device = "FileChgr1-Dev1"
  Device = "FileChgr1-Dev2"
  ChangerDevice = "/dev/null"
  ChangerCommand = ""
}
Autochanger {
  Name = "FileChgr2"
  Device = "FileChgr2-Dev1"
  Device = "FileChgr2-Dev2"
  ChangerDevice = "/dev/null"
  ChangerCommand = ""
}
Device {
  DeviceType = "File"
  RemovableMedia = no
  AutomaticMount = yes
  LabelMedia = yes
  MaximumConcurrentJobs = 5
  RandomAccess = yes
  Name = "Consolidate"
  Description = ""
  DriveIndex = 0
  ArchiveDevice = "/home/bacula/consolidate"
  MediaType = "Consolidate"
  ReadOnly = no
  Autochanger = no
}

Please say if I need to provide more configuration

/Martin


Martin,

It looks like your message was cut off. It doesn't have any information after "The storage daemon says".

Regards,
Robert Gerber
402-237-8692
[email protected]


On Tue, Dec 16, 2025 at 5:56 PM Martin Juhl Prendergast <[email protected]> wrote:

    Hi guys

    Hope someone can help me..

    I have just switched from BareOS to Bacula (and bacularis).. Currently running 15.0.3 on RHEL9+RHEL10..

    I have configured some hosts, and most of the hosts backs up just fine.. but the biggest of the machines (backup of a couple of hundreds of GB), fails during backup.

    On the hosts I get:
    Dec 16 22:59:10 sullust.outerrim.lan bacula-fd[3113761]: sullust.outerrim.lan: message.c:1841-37 bsock.c:395 Wrote 65355 bytes to Storage daemon:*****************:9103, but only 49152 accepted. 
    Dec 16 22:59:10 sullust.outerrim.lan bacula-fd[3113761]: sullust.outerrim.lan: backup.c:1056-37 Network send error to SD. ERR=Connection reset by peer 
    Dec 16 22:59:10 sullust.outerrim.lan bacula-fd[3113761]: sullust.outerrim.lan: message.c:1841-37 bsock.c:275 Socket has errors=1 on call to Storage daemon:**************:9103

     

    The Storage daemon says

     
    _______________________________________________
    Bacula-users mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/bacula-users



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.