Now I'm having trouble getting a Rados backend working. 

First of all, I have the ceph rados client working evidenced here:
# echo foo > bar
# rados -p ec93pool put bar bar
# rados -p ec93pool ls
bar
# rados -p ec93pool rm bar
# rados -p ec93pool ls
#

Everything appears to be setup correctly in the .conf files:
# cat /etc/bareos/bareos-dir.d/storage/Rados.conf
Storage {
  Name = Rados
  Address  = aergia.beocat.ksu.edu
  Password = "[redacted]"
  Device = RadosStorage
  Media Type = RadosFile
}

Note that aergia.beocat.ksu.edu is the local host, as this machine hosts a 
monitor for the ceph cluster.

# cat /etc/bareos/bareos-sd.d/device/RadosStorage.conf
Device {
  Name = RadosStorage
  Archive Device = "Beoat Backup Rados Device"
  Device Options = "conffile=/etc/ceph/ceph.conf,poolname=ec93pool"
  Device Type = Rados
  Media Type = RadosFile
  Label Media = yes
  Random Access = yes
  Automatic Mount = yes
  Removable Media = no
  Always Open = no
}

In bconsole, I get
*status storage
[...]
====

Device status:

Device "RadosStorage" (Beoat Backup Rados Device) is not open.
    Device is BLOCKED waiting for mount of volume "Full-0001",
       Pool:        Full
       Media type:  RadosFile
==
[...]

I've tried doing a 'label', 'mount', and 'automount' and haven't had any 
success.

Here is the end of my /var/log/bareos/bareos.log, if that helps:
--
30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd JobId 38: Warning: label.c:374 Open device 
"RadosStorage" (Beoat Backup Rados Device) Volume "Full-0001" failed: 
ERR=dev.c:661 Could not open: Beoat Backup Rados Device/Full-0001, ERR=Success

30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:54 bareos-sd JobId 38: Warning: label.c:374 Open device 
"RadosStorage" (Beoat Backup Rados Device) Volume "Full-0001" failed: 
ERR=dev.c:661 Could not open: Beoat Backup Rados Device/Full-0001, ERR=Success

30-Mar 13:54 bareos-sd JobId 38: Warning: mount.c:248 Open device 
"RadosStorage" (Beoat Backup Rados Device) Volume "Full-0001" failed: 
ERR=dev.c:661 Could not open: Beoat Backup Rados Device/Full-0001, ERR=Success

30-Mar 13:54 bareos-sd JobId 38: Please mount append Volume "Full-0001" or 
label a new one for:
    Job:          backup-bareos-fd.2017-03-27_21.00.00_04
    Storage:      "RadosStorage" (Beoat Backup Rados Device)
    Pool:         Full
    Media type:   RadosFile
30-Mar 13:56 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:59 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:59 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 13:59 bareos-sd JobId 38: Warning: mount.c:248 Open device 
"RadosStorage" (Beoat Backup Rados Device) Volume "Full-0001" failed: 
ERR=dev.c:661 Could not open: Beoat Backup Rados Device/Full-0001, ERR=Success

30-Mar 14:04 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 14:04 bareos-sd: Fatal Error at rados_device.c:219 because:
rados_device.c:218 Unable to connect to RADOS cluster: ERR=No such file or 
directory
30-Mar 14:04 bareos-sd JobId 38: Warning: mount.c:248 Open device 
"RadosStorage" (Beoat Backup Rados Device) Volume "Full-0001" failed: 
ERR=dev.c:661 Could not open: Beoat Backup Rados Device/Full-0001, ERR=Success
--

I especially like those "ERR=Success" messages (?).

Anything else I can post to help figure out what I'm doing wrong?

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