Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000841bareos-core[All Projects] directorpublic2017-08-07 20:122017-08-07 20:12
Reportermarkus 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version16.2.6 
Target VersionFixed in Version 
Summary0000841: Bareos tries to mount volume from another storage
DescriptionSometimes i have failed backup job with the similar errors:

23-Feb 01:00 backup-sd JobId 18763: Warning: Volume "Incremental-1656" not on device "nc
rss01" (/mnt/backup/ncrss01).
23-Feb 01:00 backup-sd JobId 18763: Marking Volume "Incremental-1656" in Error in Catalo
g.

23-Feb 01:00 backup-sd JobId 18763: Warning: Volume "Incremental-1656" not on device "nc
rss01" (/mnt/backup/ncrss01).
23-Feb 01:00 backup-sd JobId 18763: Marking Volume "Incremental-1656" in Error in Catalo
g.
23-Feb 01:00 backup-sd JobId 18763: Warning: mount.c:248 Open device "ncrss01" (/mnt/bac
kup/ncrss01) Volume "Incremental-1656" failed: ERR=dev.c:661 Could not open: /mnt/backup/ncrss01/Incremental-1656,
ERR=No such file or directory

I have two Storages. Common storage FileStorage01 and individual ncrss01-storage for job ncrss01-file-job

Job {
  Name = "ncrss01-file-job"
  Client = "ncrss01-fd"
  Type = Backup
  JobDefs = file
  Storage = ncrss01-storage
}

JobDefs {
  Name = file
  Type = Backup
  Level = Incremental
  FileSet = client_self_fileset
  Schedule = MonthlyCycle
  Storage = FileStorage01
  Messages = Standard
  Pool = Incremental
  Full Backup Pool = Full
  Differential Backup Pool = Differential
  Incremental Backup Pool = Incremental
  Priority = 5
  Write Bootstrap' = "/var/lib/bareos/%c.bsr"
}
DIR config

Storage {
  Name = "FileStorage01"
  Password = "pass1"
  Address = backup
  Device = bareos01
  Media Type = File
}

Storage {
  Name = "ncrss01-storage"
  Password = "pass2"
  Address = backup
  Device = ncrss01
  Media Type = File
}

SD config

Device {
  Name = bareos01
  Media Type = File
  Device Type = File
  Archive Device = /mnt/backup/bareos01
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}

Device {
  Name = ncrss01
  Media Type = File
  Device Type = File
  Archive Device = /mnt/backup/ncrss01
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}


Volume Incremental-1656 belongs FileStorage01

*llist volume=Incremental-1656
Using Catalog "MyCatalog"
          MediaId: 1,656
       VolumeName: Incremental-1656
             Slot: 0
           PoolId: 10
        MediaType: File
     FirstWritten: 2017-02-22 01:02:27
      LastWritten: 2017-02-23 01:00:05
        LabelDate: 2017-02-22 01:02:27
          VolJobs: 36
         VolFiles: 8
        VolBlocks: 548,195
        VolMounts: 36
         VolBytes: 35,363,023,779
        VolErrors: 0
        VolWrites: 548,196
      VolCapacityBytes: 0
        VolStatus: Error
          Enabled: 1
          Recycle: 1
      VolRetention: 1,209,600
   VolUseDuration: 0
       MaxVolJobs: 0
      MaxVolFiles: 0
      MaxVolBytes: 53,687,091,200
        InChanger: 0
          EndFile: 8
         EndBlock: 1,003,284,234
        LabelType: 0
        StorageId: 3
         DeviceId: 0
       LocationId: 0
     RecycleCount: 0
     InitialWrite: 0000-00-00 00:00:00
    ScratchPoolId: 0
    RecyclePoolId: 0
          Comment: NULL
          Storage: FileStorage01



Why bareos tries to mount volume from another storage?
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-08-07 20:12 markus New Issue


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker