On jeudi, 23 février 2017 21.51:59 h CET [email protected] wrote:
> Sometimes 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
> }
> 
> 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?

What was the def of JobId 18763 ?

-- 

Bruno Friedmann 
 Ioda-Net Sàrl www.ioda-net.ch
 Bareos Partner, openSUSE Member, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

openSUSE Tumbleweed
Linux 4.9.10-1-default x86_64 GNU/Linux, nvidia: 378.13
Qt: 5.7.1, KDE Frameworks: 5.30.0, Plasma: 5.9.2, kmail2 5.4.2

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to