[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] Question about du and compression
From:       Tomas =?iso-8859-1?Q?=D6gren?= <stric () acc ! umu ! se>
Date:       2010-04-29 18:00:12
Message-ID: 20100429180011.GB27773 () test5 ! acc ! umu ! se
[Download RAW message or body]

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@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic