Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-20-2002, 08:55 PM   #1
Registered: May 2001
Posts: 34

Rep: Reputation: 15
howto check cluster size of partions

I have a RedHat 7.1 box that acts as a server in a network. I run
samba on it to host files to windows clients. When I go to windows properties of a file on the server it shows that the
cluster size on the disk is 1MB chunks! I have many small files
that are less than 40K and windows is reporting that they are taking 1MB of space each from samba. I have a stanard linux partition. I was wanting a more accurate way to check this from the console on linux. I don't have X installed. Can anyone give me the command to check cluster sizes? I appricate your help.
Thank you very much for your time.

Old 03-21-2002, 07:48 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I think you are referring to the blocksize. 1MB is rather large for a block size. The defaults are to use a blocksize of 1024 and have a byte/inode ratio of 4096. Which means each file would use at least 4k.
For some more information on an ext2 filesystem try:
tune2fs -l /dev/hdXX

I'm sure there are similar tools for other filesystems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change size of partions? AntonyW Linux - Newbie 3 10-25-2005 08:41 AM
Check Directory Size? Echo Kilo Linux - General 2 08-18-2005 07:53 AM
Max cluster size Pauli Slackware 0 03-20-2005 05:41 PM
changing cluster size = reinstall ? dbcad7 Slackware 2 12-28-2003 10:39 PM
How to check the HDA size? gogo Linux - General 7 07-14-2002 12:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration