[pve-devel] tar option sparse broken on nfs

Dietmar Maurer dietmar at proxmox.com
Tue Oct 1 07:52:26 CEST 2013


> Is this the reason for backups of CT's ending up with empty archives when doing
> the backup to a NFS share?

yes.

seems fstat return a block count of zero for NFS files, and tar detect sparse files with:

if (ST_NBLOCKS (st->stat) == 0) {

so that always matches!

need to dig deeper now.




More information about the pve-devel mailing list