On 4/10/19 9:08 PM, Marcio Demetrio Bacci wrote:
part of my Job log:
0-abr 17:09 bkp-dir JobId 1852: Start Backup JobId 1852,
Job=dns-BackupDiario.2019-04-10_17.09.10_05
10-abr 17:09 bkp-dir JobId 1852: Using Device "FileStorageAligned" to write.
10-abr 17:09 bkp-sd JobId 1852: Please mount append Volume "diario0033" or
label a new one for:
Job: dns-BackupDiario.2019-04-10_17.09.10_05
Storage: "FileStorageAligned" (/zfs/Backup)
Pool: PorDia
Media type: File1
I really don't know the reason of this problem and searched a lot in the
Internet, but is very difficult to find the solution.
Apparently looks like OK for me:
Hello Marico...
Actually this does not look good. :)
Bacula knows about (and wants) some volume called "diario0033"... However,
this file volume exists in the catalog, but it does *not* exist on disk in
your /zfs/Backup directory as demonstrated by your "ls" output here:
----8<----
> mount (disks OK)
> zfs on /zfs type zfs (rw,xattr,noacl)
> zfs/Backup on /zfs/Backup type zfs (rw,xattr,noacl)
>
> ls /zfs/Backup/ (volumes OK)
> diario0009 diario0015
----8<----
What this means is that someone (or something) has physically deleted the
diario0033 bacula file volume from the /zfs/Backup directory.
To clean things up, let's tke a few steps:
- In bconsole list all volumes that Bacula knows about (in catalog)
* list media pool=PorDia
Compare that list to the ls /zfs/Backup directory. ANY volume that is listed
in the bconsole "list media" command that *does not* exist in the 'ls
/zfs/Backup' output needs to be deleted from the catalog:
- In bconsole:
* delete volume=xxxx
Now, your pools, and devices are properly configured to auto create and label
new volumes as necessary:
- Pools have "LabelFormat = xxx"
- Devices have "LabelMedia = yes"
However, I think there are some other issues here.
- Your devices with MediaType=file1 are configured as "DeviceType = Aligned",
and I see that the directory /zfs/Backups is configured as the "ArchiveDevice
= /zfs/Backup" (which is where the Aligned META DATA volumes go), but I DO NOT
see an "AlignedDevice = /path/to/some/deduping/storage" line in your Device..
This is where the aligned Data volumes are written to...
I suspect that you have recently tried to change from normal File Volumes to
Aligned volumes but have not restarted the SD yet because by default the
AlignedDevice directory defaults to the same Directory as the ArchiveDevice
directory... And.... If this were working based on your pasted SD config,
there should be the following files in the /zfs/Backup directory:
----8<----
diario0009 # Metadata
diario0009.add # Aligned Data
diario0015 # Metadata
diario0015.add # Aligned Data
----8<----
Hopefully this gets your started in the right direction...
Please come back with questions or comments...
Best regards,
Bill
--
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users