Re: Are disk blocks getting smaller?

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

 



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

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?

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

[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