Roy Sigurd Karlsbakk
2010-Apr-29 17:21 UTC
[zfs-discuss] Question about du and compression
Hi all Is there a good way to do a du that tells me how much data is there in case I want to move it to, say, an USB drive? Most filesystems don''t have compression, but we''re using it on (most of) our zfs filesystems, and it can be troublesome for someone that wants to copy a set of data to somewhere to find it''s twice as big as reported by du. Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk.
On 29 April, 2010 - Roy Sigurd Karlsbakk sent me these 1,2K bytes:> Hi all > > Is there a good way to do a du that tells me how much data is there in > case I want to move it to, say, an USB drive? Most filesystems don''t > have compression, but we''re using it on (most of) our zfs filesystems, > and it can be troublesome for someone that wants to copy a set of data > to somewhere to find it''s twice as big as reported by du.GNU du has --apparent-size which reports the "file size" instead of how much disk space it uses.. compression and sparse files will make this differ, and you can''t really tell them apart. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se