Hi Bill,
Sorry, but I have omitted the complete result of my ls command in
/zf/Backup. Here is all the result:
ls /zfs/Backup/
diario0009 diario0015 diario0021 diario0027 diario0033
diario0052 diario0065 diario0071 diario0077
diario0083 mensal0050 semanal0008 semanal0044
diario0009.add diario0015.add diario0021.add diario0027.add
diario0033.add diario0052.add diario0065.add diario0071.add
diario0077.add diario0083.add mensal0050.add semanal0008.add
semanal0044.add
diario0010 diario0016 diario0022 diario0028 diario0038
diario0053 diario0066 diario0072 diario0078
mensal0004 mensal0056 semanal0034 semanal0045
diario0010.add diario0016.add diario0022.add diario0028.add
diario0038.add diario0053.add diario0066.add diario0072.add
diario0078.add mensal0005 mensal0056.add semanal0034.add
semanal0045.add
diario0011 diario0017 diario0023 diario0029 diario0039
diario0054 diario0067 diario0073 diario0079
mensal0007 mensal0057 semanal0035 semanal0047
diario0011.add diario0017.add diario0023.add diario0029.add
diario0039.add diario0054.add diario0067.add diario0073.add
diario0079.add mensal0007.add mensal0057.add semanal0035.add
semanal0047.add
diario0012 diario0018 diario0024 diario0030 diario0043
diario0055 diario0068 diario0074 diario0080
mensal0036 mensal0058 semanal0040 semanal0048
diario0012.add diario0018.add diario0024.add diario0030.add
diario0043.add diario0055.add diario0068.add diario0074.add
diario0080.add mensal0036.add mensal0058.add semanal0040.add
semanal0048.add
diario0013 diario0019 diario0025 diario0031 diario0046
diario0062 diario0069 diario0075 diario0081
mensal0037 mensal0059 semanal0041 semanal0061
diario0013.add diario0019.add diario0025.add diario0031.add
diario0046.add diario0062.add diario0069.add diario0075.add
diario0081.add mensal0037.add mensal0059.add semanal0041.add
semanal0061.add
diario0014 diario0020 diario0026 diario0032 diario0051
diario0063 diario0070 diario0076 diario0082
mensal0049 mensal0060 semanal0042 semanal0064
diario0014.add diario0020.add diario0026.add diario0032.add
diario0051.add diario0063.add diario0070.add diario0076.add
diario0082.add mensal0049.add mensal0060.add semanal0042.add
semanal0064.add
root@bkp:~#
Thus, the metada and aligne data are present.
I suspect that you have recently tried to change from normal File Volumes
to
Aligned volumes ... Yes
... but have not restarted the SD yet ... I had already restarted
Now, I add Aligned Device in media type:
Device {
Name = FileStorageAligned
Device Type = Aligned
Media Type = File1
Archive Device = /zfs/Backup
*Aligned Device = /zfs/Backup*
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Maximum Concurrent Jobs = 1 #Não pode ser maior do que 1 para a
deduplicacao
Minimum Block Size=0k
Maximum Block Size=128k
File Alignment=128k
Padding Size=512
Minimum Aligned Size=4096
}
However the problem continues:
Running Jobs:
Console connected at 11-abr-19 14:07
JobId Type Level Files Bytes Name Status
======================================================================
1879 Back Full 0 0 DNS-BackupDiario is waiting for a
mount request
====
Do you have any other idea ?
Best regards,
Márcio Bacci
Em qui, 11 de abr de 2019 às 12:50, Bill Arlofski <[email protected]>
escreveu:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users