[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] --sparse is broken on filesystems where small files may have z
From: |
Andrew J. Schorr |
Subject: |
[Bug-tar] --sparse is broken on filesystems where small files may have zero blocks |
Date: |
Mon, 28 Oct 2013 17:17:39 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
I have a Netapp file server, and their filesystem is able to contain
small files of up to 64 bytes in the inode without allocating any
blocks.
This causes --sparse to corrupt files silently due to this patch:
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=a9895fd20c957ce184091672f1623a5bedd82407
Please see this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1024095
It is unfortunately not the case that an st_blocks value of zero
means that the file is empty on all filesystems. I don't know if there
are any other exceptions besides Netapp.
Regards,
Andy
- [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks,
Andrew J. Schorr <=
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Paul Eggert, 2013/10/29
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Pavel Raiskup, 2013/10/29
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Pavel Raiskup, 2013/10/29
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Joerg Schilling, 2013/10/29
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Christoph Hellwig, 2013/10/30
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Jan Kara, 2013/10/30
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Andreas Dilger, 2013/10/29
- Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Carlos Maiolino, 2013/10/31
Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks, Andrew J. Schorr, 2013/10/29