On Tue, Sep 15, 2020 at 20:14:34 -0700, Jim Kusznir wrote:
> I've read the website on the amanda site about changing disk IDs, but I did
> a fairly thorough checking of that, and I don't think that's it.  First,
> there is literally NO device on the mount point:
> 
> root@AmandaBackup:/usr/local # mount
> cys-bkup/iocage/jails/AmandaBackup/root on / (zfs, local, nfsv4acls)
> root@AmandaBackup:/usr/local #
> 
> And that stays exactly the same.

The important factor for Amanda (or, more precisely, GNU tar), is not
the mount points per se, but rather the Device field of each particular
file's inode.

Does FreeNAS have a "stat" command?  If so, it would be interesting to
see the output of that command for a few of the files in question, and
perhaps for various top-level directories of the jail above the
cross-mounted data directories, in hopes that gives some hint of what is
going on....



> 
> I've found and ran the tar-snapshot-edit perl script in read mode to view
> the device IDs.  I am seeing a few different device IDs show up, but the
> level 0, level 1 and leve1.new for any given share always have the same
> device ID.  Here's a snippit of the output:
> 
> File: amclient-tdriveCYS-2018-Session-A-B_0
>   Detected snapshot file version: 2
> 
>   Device 0x2900ff0b occurs 6305 times.
> 
> File: amclient-tdriveCYS-2018-Session-A-B_1
>   Detected snapshot file version: 2
> 
>   Device 0x2900ff0b occurs 6306 times.
> 
> File: amclient-tdriveCYS-2018-Session-A-B_1.new
>   Detected snapshot file version: 2
> 
>   Device 0x2900ff0b occurs 6305 times.

.... but I agree that since these all match, it seems something else
beyond the usual device-id-change is going on.


> 
> I've noticed that all affected devices will end up with a .new.  I think

I believe this means that the backup didn't didn't finish -- there
shouldn't be any .new files left between runs.

Do you see any errors in your mail report, or in your log files?

What does "ls -l" show for the directory containing the snapshot files?

                                                        Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to