[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Are disk blocks getting smaller?



On Saturday, Oct 4th 2003 at 15:47 -0700, quoth jdow:

=>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.)
=>
=>{^_^}

1. Both lost+found are empty.
2. Dunno. How do I tell?
3. How do I tell the journal size?
4. Yes. They're both ext3.
5. grumble grumble

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net


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

[Home]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Fedora]     [Gimp]     [Yosemite News]

Powered by Linux