[Gluster-users] support the sparse files

sac
2011-04-28T16:01:31Z

Hi Roberto,

On Thu, Apr 28, 2011 at 8:21 PM, Roberto Scudeller <beto.rvs at gmail.com>
wrote:
> Hi all,
>
> Gluster support a sparse files?
>
> example: dd if=/dev/zero of=archive_sparse bs=1M count=0 seek=10239
>
> Create a sparse file with 10GB, show in ls -lh, but in du -h show 512bytes.
>

That is how it works on the local filesystem as well. Gluster has
nothing to do with this, that is how du and ls work.

Regards,
Sachidananda.