Re: [zfs-discuss] Question about du and compression
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, st...@acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[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 r...@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. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss