Date: Mon, 18 May 2009 17:00:17 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Paul Wootton <paul@fletchermoorland.co.uk> Cc: freebsd-current@freebsd.org, Christof Schulze <christof.schulze@gmx.net> Subject: Re: discrepancies in used space after cpio Message-ID: <alpine.BSF.2.00.0905181659190.59319@woozle.rinet.ru> In-Reply-To: <4A115ABE.6070904@fletchermoorland.co.uk> References: <4A1123C5.3070507@fletchermoorland.co.uk> <200905181412.11460.christof.schulze@gmx.net> <4A115ABE.6070904@fletchermoorland.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 May 2009, Paul Wootton wrote: PW> > > I am currently in the process of moving all my data around, going from a PW> > > single zfs drive (ex-mirror) to a zfs raidz. PW> > > I have used cpio to copy the data to the new pool, but a du shows a big PW> > > difference in the results. PW> > > PW> > > Does anyone have any ideas, or does a "du -h ." not do what I think it PW> > > should? PW> > > PW> > it is a known bug (at least for the solaris folks) that du does not PW> > display disk usage correctly on raidz. PW> > PW> > But of course different compression algorithms come into play as well. PW> > PW> In this instance, the du from the raidz pool is actually correct. PW> A zfs list shows less space (incorrect) on the single drive compared to the PW> raidz. PW> Doing a tar on both directories gives 2 1.2G files so the data is actually PW> present on both packs (plus I used CPIO to copy the data from the single to PW> the raidz) PW> PW> Is it possible for data corruption on the single drive to not show the extra PW> space as being used? Ehmm, possibly stupid question: sparse files? -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0905181659190.59319>