LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-20-2002, 07:55 PM   #1
lowly_tech
Member
 
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.

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

Rep: Reputation: 46
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.
 
  


Reply


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 07:41 AM
Check Directory Size? Echo Kilo Linux - General 2 08-18-2005 06:53 AM
Max cluster size Pauli Slackware 0 03-20-2005 04:41 PM
changing cluster size = reinstall ? dbcad7 Slackware 2 12-28-2003 09:39 PM
How to check the HDA size? gogo Linux - General 7 07-14-2002 11:06 AM


All times are GMT -5. The time now is 08:10 PM.

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