>On Mon, May 2 at 14:01, Bob Friesenhahn wrote: >>On Mon, 2 May 2011, Eric D. Mudama wrote: >> >>> >>>Hi. While doing a scan of disk usage, I noticed the following oddity. >>>I have a directory of files (named file.dat for this example) that all >>>appear as ~1.5GB when using 'ls -l', but that (correctly) appear as ~250KB >>>files when using 'ls -s' or du commands: >> >>These are probably just sparse files. Nothing to be alarmed about. > >They were created via CIFS. I thought sparse files were an iSCSI concept, no?
"sparse files" are a concept of the underlying filesystem. E.g., if you lseek() after the end of the file and you write, your filesystem may not need to allocate empty blocks. Most Unix filesystems allow sparse files; FAT/FAT32 filesystems do not. Casper _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss