Re: Are disk blocks getting smaller?

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

 



From: "Steven W. Orr" <steveo@xxxxxxxxxxx>
> On Saturday, Oct 4th 2003 at 16:58 -0500, quoth Aaron Konstam:
>
> =>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
> =>> 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.
>
> Ok. I looked at both partitions. They have the same blocksize of 4096.
> What was different was the following:
>
> sdb1 sdc1
> Inodes per group: 16352 16384
> Inode blocks per group:   511   512
> Mount count:              131     2
>
> Other than that everything is the same. Any other ideas?

<mumble mumble> What is in "/home2/lost+found"? Were the two disks
formatted with the same reserved space only root can access? One
presumes they both have the same size journals but thinks that should
also be confirmed. One presumes they are the same filesystem, of course.
But if one's running e2 and the other e3 there could be a noticeable
difference displayed. (Certainly if one is Reiserfs and the other is
VFAT you'd likely see significant differences. But that's being
silly to make a point.)

{^_^}


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