[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Problem with gnu tar and ZFS on Linux

From: Pieter Bowman
Subject: Re: [Bug-tar] Problem with gnu tar and ZFS on Linux
Date: Fri, 22 Jun 2018 09:39:54 -0600 (MDT)

>> ...
>> On 06/21/2018 09:53 AM, Andreas Dilger wrote:
>> > Keep your old snapshot around after you create the new one, and run 
>> > "stat(1)"  > on the same file in both snapshots to see if there are any 
>> > other 
>> differences > besides the device number that may be causing tar to think 
>> the file changed.
>> Yes, this is the key. You need to find out why 'tar' thinks the 
>> directory has changed, and 'stat' should tell you why.
>> ...

The problem seems to be caused by the changing of the inode of the
root of that filesystem.  The inode for the test filesystem's root
directory is 3, the inode for various snapshots are numbers like:


So I applied the patch at the following URL to tar 1.30 (applied
partially by hand because it had one hunk that was rejected):


Now if I run this test version of tar, I get a reasonable incremental

Unfortunately, the patch only implements the feature, but no
documentation or tests.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]