[Pkg-bareos-devel] Bug#823344: bareos-storage: Automatic Volume Labeling not working after upgrade to 15.2.3

Soren Stoutner soren at smallbusinesstech.net
Tue May 3 19:16:55 UTC 2016


Package: bareos-storage
Version: 15.2.3-2
Severity: normal

Dear Maintainer,

After upgrading from 14.2.6 to 15.2.3, automatic volume labeling no longer works.

The relevant sections from bareos-sd.conf:

Device {
  Name = Backup1
  Media Type = File
  Archive Device = /var/lib/bareos/storage/Backup1
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
}

Device {
  Name = Backup2
  Media Type = File
  Archive Device = /var/lib/bareos/storage/Backup2
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
}



Relevant sections from bareos-dir.conf:

Pool {
  Name = Full1
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 60 days         # How long should the Full Backups be kept? (#06)
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
  Maximum Volumes = 50               # Limit number of Volumes in Pool
  LabelFormat = "Full1-"              # Volumes will be labeled "Full-<volume-id>"
}

Pool {
  Name = Full2
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 60 days         # How long should the Full Backups be kept? (#06)
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
  Maximum Volumes = 50               # Limit number of Volumes in Pool
  LabelFormat = "Full2-"              # Volumes will be labeled "Full-<volume-id>"
}


When a new label needs to be created, bareos-storage puts out this message and waits until the label is manually created:

mail-sd Please mount append Volume "Full2-0244" or label a new one for:
    Job:          BackupMail2.2016-05-03_11.03.57_04
    Storage:      "Backup2" (/var/lib/bareos/storage/Backup2)
    Pool:         Full2
    Media type:   File

Automatic labeling worked without issue prior to the upgrade.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bareos-storage depends on:
ii  adduser                3.114
ii  bareos-common          15.2.3-2
ii  debconf [debconf-2.0]  1.5.59
ii  init-system-helpers    1.31
ii  libc6                  2.22-7
ii  libcap2                1:2.24-12
ii  libgcc1                1:5.3.1-14
ii  libgnutls30            3.4.11-4
ii  libjansson4            2.7-4
ii  liblzo2-2              2.08-1.2
ii  libstdc++6             5.3.1-14
ii  libwrap0               7.6.q-25
ii  lsb-base               9.20160110
ii  lsof                   4.89+dfsg-0.1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

bareos-storage recommends no packages.

bareos-storage suggests no packages.

-- no debconf information



More information about the Pkg-bareos-devel mailing list