Stathis Kamperis wrote:
2009/10/23 michael schuster <michael.schus...@sun.com>:
Stathis Kamperis wrote:
Salute.

I have a filesystem where I store various source repositories (cvs +
git). I have compression enabled on and zfs get compressratio reports
1.46x. When I copy all the stuff to another filesystem without
compression, the data take up _less_ space (3.5GB vs 2.5GB). How's
that possible ?
just a few thoughts:
- how do you measure how much space your data consumes?
With zfs list, under the 'USED' column. du(1) gives the same results
as well (the individual fs sizes aren't enterily identical with those
that zfs list reports , but the difference still exists).

tank/sources               3.73G   620G  3.73G  /export/sources
  <--- compressed
tank/test                  2.32G   620G  2.32G  /tank/test
      <--- uncompressed

obvious, but still: you did make sure that the compressed one doesn't have any other data lying around, right?


- how do you copy?
With cp(1). Should I be using zfs send | zfs receive ?

I don't know :-) I was just (still am) thinking out loud.

- is the other FS also ZFS?
Yes. And they both live under the same pool.

If it matters, I don't have any snapshots on neither of the filesystems.

"zfs list -t all" might still be revealing ...

Michael
--
Michael Schuster     http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to