This is:
6288488 du reports misleading size on RAID-Z
- Eric
On Mon, Apr 03, 2006 at 04:31:11PM -0400, Krzys wrote:>
> Hello everyone, I have a question, I am new to this forum and I just
> installed Solaris Express with ZFS. I am playing around with it and I am
> loving it but I did notice something "strange" in my oppinion.
>
> Ok, I have created RAIDZ on my system on 3 x 300GIG SCSI HD''s.
> Filesystem kbytes used avail capacity Mounted on
> d 865599488 399256942 466319916 47% /d
>
> [16:15:26] root at adas: /d > zpool status d
> pool: d
> state: ONLINE
> scrub: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> d ONLINE 0 0 0
> raidz ONLINE 0 0 0
> c1t1d0 ONLINE 0 0 0
> c1t2d0 ONLINE 0 0 0
> c1t3d0 ONLINE 0 0 0
> [16:15:32] root at adas: /d > zpool list d
> NAME SIZE USED AVAIL CAP HEALTH ALTROOT
> d 832G 381G 451G 45% ONLINE -
> [16:15:39] root at adas: /d >
>
>
> I did rsync from other system two big drives which on the other system
> (UFS) do ocupy around 241gig.
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/dsk/c1t0d0s7 112949437 109429548 2390395 98% /d/d1
> /dev/dsk/c1t1d0s7 141197796 132205673 7580146 95% /d/d2
>
>
> So if I add space that is occupied on both /d/d1 and /d/d2 drives I get
> around 242gig I would say of space that I shouldbe able to see on the raidz
> partition. Now but when I look on my Solaris Express with df I see that it
> is almost 400gig in use... Why such big differences?
>
> Also the first thing that I did notice when I created my ZFS was that I had
> over 860gig of usable disk space using 3 x 300gig HD''s (nice if
that did
> hold).
>
> Can someone explain to me why I see what I see? Ah, I am not using any
> snapshots on this pool at this moment.
>
> Thanks for ideas.
>
> Chris
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
--
Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock