Re: Most likely OT: rsync to cifs mount

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

 



On 02Apr2015 07:54, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:
On Thu, 2 Apr 2015 15:20:52 +1100 Cameron Simpson <cs@xxxxxxxxxx> wrote:
Yes, it is on the same directory of the remote Inselon FS mounted as a cifs mount on a F21 system.

The same command on my local disk (F21 machine, ext4 FS) yields:

$ du -sh kmeans --apparent-size
154G	kmeans

$ du -sh kmeans
156G	kmeans

I'm still wondering if you do have sparse files; images generally are not.

I don't know but I assume I do. How does one find out if one does.

Only by comparing the byte size (st_size from stat) with the blocks * blocksize (st_blocks * st_blksize). If the byte size well exceeds the blocks*blksize then the file is presumably sparse.

But images tend not to be. Sparse files tend to be either disk images (eg *.img) where not all blocks have been used or data files driven through a hash table (where data is spread out over a huge filespace in little chunks).

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>

What the hell is that?
Sounds like Cole Porter to me, sir.     - _Tank Girl_
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux