Re: Are disk blocks getting smaller?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 04, 2003 at 05:01:29PM -0400, Steven W. Orr wrote:
> I just added a new disk drive to my computer and created a partition on it 
> that's roughly the same size as my /home partition (~8G).
> 
> Then I said:
> 
> cd /home
> find . -print | cpio -pdvum /home2
> 
> When it was all done the /home2 directory was 400Meg bigger. So I thought 
> to myself. "Hmm. Sparse files are to blame." So I did a man on cpio and 
> found the --sparse option. So I ran it again and this time I get the 
> following result:
> 
> 513 > df /home /home2
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdc1             8.4G  2.9G  5.2G  36% /home
> /dev/sdb1             8.4G  2.7G  5.3G  34% /home2
> 514 > 
> 
> I'm off by 200Meg. Anyone have any idea what's going on here? They're both 
> ext3 and created with standard nofrill commands.
> 
> Anyone?
> 
The block size can be checked by the tune2fs command:
tune2fs -l /dev/hdax

It is set when the disk is formatted by the mke2fs command when the
partition is formatted. Sounds like your block sizes are different.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux