Hello,

I added a new client and after adding I tried to run a job with bconsole 
and in WebGUI it gives me a storage error:




bareos-sd JobId 4151: Fatal error: Device reservation failed for JobId=4151:
bareos-dir JobId 4151: Fatal error: 
Storage daemon didn't accept Device "ts082-sd" because:
3924 Device "ts082-sd" not in SD Device resources or no matching Media Type.

When I do status storage it gives me:
 JobId  Level    Files      Bytes   Status   Finished        Name
===================================================================
4151  Full          0         0   Error    03-Apr-20 17:24 ts082-job

And status client;
*status client=ts082-fd
Connecting to Client ts082-fd at 192.168.x.x:9102

ts082-fd Version: 17.2.4 (21 Sep 2017)  x86_64-redhat-linux-gnu redhat Red 
Hat Enterprise Linux Server release 5.7 (Tikanga)
Daemon started 03-Apr-20 17:02. Jobs: run=0 running=0.
 Heap: heap=135,168 smbytes=28,508 max_bytes=28,897 bufs=64 max_bufs=67
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 bwlimit=0kB/s

Running Jobs:
bareos-dir (director) connected at: 03-Apr-20 17:44
No Jobs running.
====

Terminated Jobs:



Here is Client config files:

*ts082-fd.conf*
Client {
  Name = ts082-fd
  Address = 192.168.x.x
  Password = password
}

*ts082-fs.conf*
FileSet {
  Name = "ts082-fs"
  Description = "Backup all regular filesystems, determined by filesystem 
type."
  Include {
    Options {
      Compression=GZIP
      Signature = MD5 # calculate md5 checksum per file
      One FS = No     # change into other filessytems
      xattrsupport=yes
      FS Type = overlay
      FS Type = btrfs
      FS Type = ext2  # filesystems of given types will be backed up
      FS Type = ext3  # others will be ignored
      FS Type = ext4
      FS Type = reiserfs
      FS Type = jfs
      FS Type = xfs
      FS Type = zfs
      FS Type = ufs
      FS Type = vxfs
      FS Type = tmpfs
      FS Type = rootfs
}
    File = /root
    File = /home
    File = /etc
    File = /u01
}
  # Things that usually have to be excluded
  # You have to exclude /var/lib/bareos/storage
  # on your bareos server
  Exclude {
    File = /proc
    File = /tmp
    File = /var/tmp
    File = /.journal
    File = /.fsck
    File = /var
  }
}

*ts082-job.conf*
Job {
  Name = "ts082-job"
  Client = ts082-fd
  Type = Backup
  Level = Incremental
  FileSet = "ts082-fs"
  Schedule = "schedule"
  Storage = ts082-sd
  Messages = Standard
  Pool = pool-ts082
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
}

*pool-ts082.conf*
Pool {
  Name = pool-ts082
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle 
Volumes
  Recycle Oldest Volume = yes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days         # How long should the Full Backups be 
kept? 
(                                                                               
                                         
#06)
  Maximum Volume Bytes = 25G          # Limit Volume size to something 
reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Label Format = "ts082-"              # Volumes will be labeled 
"Full-<volume-id>                                                               
                                                         
"
}

*ts082-sd.conf*
Storage {
  Name = ts082-sd
  Address = srvtsprdbos                # N.B. Use a fully qualified name 
here 
(do                                                                             
                                            
not use "localhost" here).
  Password = "password"
  Device = ts082-sd
  Media Type = File
}


I cant see the error.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/a1294b04-d41f-4766-a205-616ad52ad971%40googlegroups.com.

Reply via email to