Re: Bacula backup using S3 cloud storage says 'Volume "ICHSI-0012" is unavailable now'
Thomas Ruth via Bacula-users <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your response. I've installed the awscli tool and switched
the config to use the Amazon driver. I've also added the BlobEndpoint
configuration item. I reloaded the config and that didn't work. Then I
stopped the jobs, restarted bacula-sd, then resumed the jobs, and that
didn't work. Finally I started the job fresh and I get the same result
as before.
I looked through the source code. There is a section starting with
"switch (vol_label_status)" in src/stored/mount.c and the path I'm
running into is part of this:
case VOL_ENC_ERROR:
Is this an encryption problem? I installed updates recently, perhaps
openssl updated and broke something?
-Tom
On 8/6/2026 9:42 PM, Rob Gerber wrote:
> I don't know what could be causing this, but I can say that my
> understanding is that the S3 driver is somewhat prone to causing
> issues. For bacula 15.x+, it is recommended that one use the Amazon
> driver instead. Despite the name, the driver does work with other
> providers besides amazon. IIRC, heaps of providers are supported. The
> biggest caveat that I ran into was that my Cloud {} resource needed an
> additional variable because I (like you), am using a non-AWS cloud
> storage provider. Because of this, I had to specify a BlobEndpoint
> value. I believe without the BlobEndpoint value, the Amazon driver
> assumes the files are located at an AWS URL and attempts to access the
> buckets at AWS. I think the BlobEndpoint directive informs bacula that
> it must abandon this behavior of assuming an AWS URL, and also tells
> bacula which URL to use to find the volume. Why it cannot do this from
> the hostname, I do not know.
>
> See my bacula-sd.conf snippets, for an example.
>
> Cloud {
> Name = "B2-TD-Diff"
> Driver = "Amazon"
> HostName = "s3.us-west-004.backblazeb2.com
> <http://s3.us-west-004.backblazeb2.com>"
> BlobEndpoint = "https://s3.us-west-004.backblazeb2.com/"
> BucketName = "TD-Bacula-Diff"
> AccessKey = "123REDACTED"
> SecretKey = "456REDACTED"
> Protocol = "HTTPS"
> UriStyle = "VirtualHost"
> TruncateCache = "AfterUpload"
> Upload = "No"
> }
> Autochanger {
> Name = "B2-TD-Diff"
> Device = "B2-TD-Diff-001"
> Device = "B2-TD-Diff-002"
> Device = "B2-TD-Diff-003"
> Device = "B2-TD-Diff-004"
> Device = "B2-TD-Diff-005"
> Device = "B2-TD-Diff-006"
> ChangerDevice = "/dev/null"
> ChangerCommand = "/dev/null"
> }
> Device {
> Name = "B2-TD-Diff-001"
> Description = "B2-TD-Diff"
> MediaType = "B2-TD-Diff"
> DeviceType = "Cloud"
> ArchiveDevice = "/mnt/synology/bacula/B2-TD-Diff"
> RemovableMedia = no
> RandomAccess = yes
> AutomaticMount = yes
> LabelMedia = yes
> Autochanger = yes
> ReadOnly = no
> MaximumFileSize = 5368709120
> MaximumConcurrentJobs = 1
> DriveIndex = 0
> MaximumPartSize = 5368709120
> Cloud = "B2-TD-Diff"
> VolumeEncryption = yes
> }
>
> Hopefully this helps.
>
> Regards,
> Robert Gerber
> 402-237-8692
> [email protected]
>
>
> On Thu, Aug 6, 2026 at 8:33 PM Thomas Ruth via Bacula-users
> <[email protected]> wrote:
>
> Hello,
>
> I'm using bacula-15.0.3 with the S3 volume storage using DigitalOcean
> Spaces. I've been doing this successfully for about 9 months
> without any
> issues. Today, I got an alert to mount the storage, which I've
> never had
> before with my configuration. The directory /var/spool/cloud is
> really a
> symlink pointing at /var/spool/bacula/cloud which is on a separate
> disk,
> and has been working fine. The permissions look correct to me.
> This is
> my cache disk. I'm able to access the volume via the DigitalOcean
> console and I don't see any errors there. I'm at a loss for what this
> message means. I've tried using the mount command, which just
> causes the
> same error in the messages and I get another alert. I've tried
> restarting services and also the entire server with the same
> result. The
> status.digitalocean.com <http://status.digitalocean.com> doesn't
> show any issues. I'm not sure what else
> I can try to do in order to get my backups running again or figure
> out
> what is causing this odd message.
>
> Any help greatly appreciated. Thank you,
> -Tom
>
> ================================== Alert
> ====================================
> (Bacula) <[email protected]>
> Bacula: Intervention needed for strahd-fd.2026-08-07_00.30.31_03
> 07-Aug 00:30 strahd-sd JobId 1969: Please mount append Volume
> "ICHSI-0012" or label a new one for:
> Job: strahd-fd.2026-08-07_00.30.31_03
> Storage: "CloudStorage1-1" (/var/spool/cloud)
> Pool: Daily
> Media type: File1
>
> ===========================================================================
>
> When looking through the messages, I see the following for the job:
>
> *mes
> 07-Aug 00:30 strahd-dir JobId 1969: Start Backup JobId 1969,
> Job=strahd-fd.2026-08-07_00.30.31_03
> 07-Aug 00:30 strahd-dir JobId 1969: Connected to Storage
> "CloudChanger1"
> at strahd-i.ichaos.com:9103 <http://strahd-i.ichaos.com:9103> with TLS
> 07-Aug 00:30 strahd-dir JobId 1969: Using Device "CloudStorage1-1"
> to write.
> 07-Aug 00:30 strahd-dir JobId 1969: Connected to Client
> "strahd-fd" at
> strahd-i.ichaos.com:9102 <http://strahd-i.ichaos.com:9102> with TLS
> 07-Aug 00:30 strahd-fd JobId 1969: Connected to Storage at
> strahd-i.ichaos.com:9103 <http://strahd-i.ichaos.com:9103> with TLS
> 07-Aug 00:30 strahd-dir JobId 1969: Sending Accurate information
> to the FD.
> 07-Aug 00:30 strahd-sd JobId 1969: The Volume "ICHSI-0012" is
> unavailable now.
> 07-Aug 00:30 strahd-sd JobId 1969: The Volume "ICHSI-0012" is
> unavailable now.
> 07-Aug 00:30 strahd-sd JobId 1969: The Volume "ICHSI-0012" is
> unavailable now.
> 07-Aug 00:30 strahd-sd JobId 1969: The Volume "ICHSI-0012" is
> unavailable now.
> 07-Aug 00:30 strahd-sd JobId 1969: The Volume "ICHSI-0012" is
> unavailable now.
> 07-Aug 00:30 strahd-sd JobId 1969: Please mount append Volume
> "ICHSI-0012" or label a new one for:
> Job: strahd-fd.2026-08-07_00.30.31_03
> Storage: "CloudStorage1-1" (/var/spool/cloud)
> Pool: Daily
> Media type: File1
> ============================================================================
>
> Here is a status report for my storage:
>
> strahd:~ # bconsole
> Connecting to Director localhost:9101
> 1000 OK: 10002 strahd-dir Version: 15.0.3 (25 March 2025)
> Enter a period to cancel a command.
> *status storage
> Automatically selected Storage: CloudChanger1
> Connecting to Storage daemon CloudChanger1 at
> strahd-i.ichaos.com:9103 <http://strahd-i.ichaos.com:9103>
>
> strahd-sd Version: 15.0.3 (25 March 2025) x86_64-suse-linux-gnu
> unknown_distro
> Daemon started 07-Aug-26 00:29. Jobs: run=0, running=1 max=20.
> Ulimits: nofile=10000 memlock=unlimited status=ok
> Heap: heap=700,416 smbytes=1,564,333 max_bytes=1,573,699 bufs=314
> max_bufs=314
> Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0
> Crypto: fips=N/A crypto=OpenSSL 3.5.0 8 Apr 2025
> Res: ndevices=2 nautochgr=1
> Drivers: cloud
> Caps: APPEND_ONLY, IMMUTABLE
>
> Running Jobs:
> Writing: Incremental Backup job strahd-fd JobId=1969
> Volume="ICHSI-0012"
> pool="Daily" device="CloudStorage1-1" (/var/spool/cloud)
> spooling=0 despooling=0 despool_wait=0
> Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
> FDReadSeqNo=7 in_msg=7 out_msg=8 fd=6
> Director connected using TLS at: 07-Aug-26 00:39
> ====
>
> Jobs waiting to reserve a drive:
> ====
>
> Terminated Jobs:
> JobId Level Files Bytes Status Finished Name
> ===================================================================
> 1955 Incr 225 22.58 M OK 06-Aug-26 00:05
> mailx2-fd
> 1956 Incr 54 4.830 M OK 06-Aug-26 00:05
> strahd-fd
> 1952 Incr 5,875 6.627 M OK 06-Aug-26 00:05 drive-fd
> 1953 Incr 650 214.5 M OK 06-Aug-26 00:06
> drive-mariadb
> 1957 Incr 1,273 2.358 G OK 06-Aug-26 00:11
> tiamat3-fd
> 1958 Incr 0 0 OK 06-Aug-26 00:11
> tiamat3-mariadb
> 1959 Full 1 613.2 M OK 06-Aug-26 00:12
> BackupCatalog
> 1966 Incr 0 0 OK 07-Aug-26 00:16
> tiamat3-mariadb
> 1961 Incr 0 0 Cancel 07-Aug-26 00:18
> drive-mariadb
> 1968 Incr 0 0 Cancel 07-Aug-26 00:28
> strahd-fd
> ====
>
> Device status:
> Autochanger "CloudChanger1" with devices:
> "CloudStorage1-1" (/var/spool/cloud)
> "CloudStorage1-2" (/var/spool/cloud)
>
> Device Cloud (S3 Plugin) is "CloudStorage1-1" (/var/spool/cloud)
> waiting
> for:
> Volume: ICHSI-0012
> Pool: Daily
> Media type: File1
> Total Bytes Read=242 Blocks Read=1 Bytes/block=242
> Positioned at File=0 Block=0
> Device is BLOCKED waiting for mount of volume "ICHSI-0012",
> Pool: Daily
> Media type: File1
> Available Cache Space=32.66 GB
> ==
>
> Device Cloud (S3 Plugin): "CloudStorage1-2" (/var/spool/cloud) is
> not open.
> Available Cache Space=32.66 GB
> ==
> ====
>
> Cloud transfer status:
> Uploads (0 B/s) (ETA 0 s) Queued=0 0 B, Waiting=0 0 B,
> Processing=0 0 B, Done=0 0 B, Failed=0 0 B
> Downloads (0 B/s) (ETA 0 s) Queued=0 0 B, Waiting=0 0 B,
> Processing=0 0 B, Done=0 0 B, Failed=0 0 B
> ====
>
> Used Volume status:
> Reserved volume: ICHSI-0012 on Cloud device "CloudStorage1-1"
> (/var/spool/cloud)
> Reader=0 writers=0 reserves=1 volinuse=0 worm=0
> ====
>
> ====
>
> ===========================================================================================
>
> I'm able to list the volumes in the cloud just fine:
>
> *cloud ?
> Cloud choice:
> 1: List Cloud Volumes in the Cloud
> 2: Upload a Volume to the Cloud
> 3: Prune the Cloud Cache
> 4: Truncate a Volume Cache
> 5: Done
> Select action to perform on Cloud (1-5): 1
> Automatically selected Catalog: IchaosCatalog
> Using Catalog "IchaosCatalog"
> Automatically selected Storage: CloudChanger1
> Connecting to Storage daemon CloudChanger1 at
> strahd-i.ichaos.com:9103 <http://strahd-i.ichaos.com:9103> ...
> +--------------------+-----------+----------------------+----------------------+---------------+
> | Volume Name | Status | Media Type | Pool
> | VolBytes |
> +--------------------+-----------+----------------------+----------------------+---------------+
> | ICHSB-0001 | Append | File1 | Base |
> 889.4 MB |
> | ICHSD-0004 | Used | File1 | Weekly |
> 1.711 GB |
> | ICHSD-0006 | Used | File1 | Weekly |
> 1.771 GB |
> | ICHSD-0008 | Used | File1 | Weekly |
> 1.771 GB |
> | ICHSD-0013 | Used | File1 | Weekly |
> 1.678 GB |
> | ICHSD-0015 | Append | File1 | Weekly |
> 2.611 GB |
> | ICHSD-0016 | Purged | File1 | Weekly |
> 1.466 GB |
> | ICHSD-0018 | Used | File1 | Weekly |
> 1.381 GB |
> | ICHSD-0019 | Used | File1 | Weekly |
> 1.709 GB |
> | ICHSD-0020 | Used | File1 | Weekly |
> 1.917 GB |
> | ICHSD-0022 | Used | File1 | Weekly |
> 2.205 GB |
> | ICHSD-0026 | Used | File1 | Weekly |
> 2.408 GB |
> | ICHSF-0002 | Used | File1 | Monthly |
> 8.022 GB |
> | ICHSF-0011 | Used | File1 | Monthly |
> 5.675 GB |
> | ICHSF-0017 | Used | File1 | Monthly |
> 5.404 GB |
> | ICHSF-0021 | Used | File1 | Monthly |
> 5.345 GB |
> | ICHSF-0023 | Used | File1 | Monthly |
> 7.459 GB |
> | ICHSF-0024 | Used | File1 | Monthly |
> 323.8 MB |
> | ICHSF-0025 | Used | File1 | Monthly |
> 6.510 GB |
> | ICHSI-0003 | Used | File1 | Daily |
> 9.619 GB |
> | ICHSI-0005 | Used | File1 | Daily |
> 11.67 GB |
> | ICHSI-0007 | Used | File1 | Daily |
> 11.45 GB |
> | ICHSI-0009 | Used | File1 | Daily |
> 11.45 GB |
> | ICHSI-0012 | Append | File1 | Daily |
> 6.595 GB |
> | ICHSI-0014 | Purged | File1 | Daily |
> 9.060 GB |
> | ICHSI-0028 | Purged | File1 | Daily |
> 9.091 GB |
> | ICHSV-0010 | Append | File1 | Yearly |
> 281.4 MB |
> +--------------------+-----------+----------------------+----------------------+---------------+
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users