Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows 98 / Disks / File System / June 2008

Tip: Looking for answers? Try searching our database.

Formatting a 20G HDD,  One Partition,  With Small Size Clusters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad - 30 May 2008 12:35 GMT
Hi,

   I installed a 20G HDD in my Windows 98se computer.  With one partition,
I formatted it.  The results is 16K byte clusters.   With a FAT32 system,
a 32 bit number ("index") can represent around 4.3G.  This in effect should
allow around 4 billion clusters maximum.

 The major reason for a smaller cluster size is to reduce waste of disk
space.  Example, if you wrote a 1K byte file to the HDD, the free space will
be reduced by 16K (15K wasted).

  How can I format this 20G HDD in such a way to produce smaller clusters
without adding partitions?

               Thanks in advance,   Brad

 Before you type your password, credit card number, etc.,
be sure there is no active keystroke logger (spyware) in your PC.
Gary S. Terhune - 30 May 2008 20:07 GMT
Suggest you read this:
http://www.pcguide.com/ref/hdd/file/partFAT32-c.html

I don't know of any partitioning tool that lets you FORCE 4 KB clusters
despite the HD size. Not saying there aren't any, but the admittedly few
I've used set cluster size automatically. FDISK and BootItNG do, and
Partition Magic, IIRC.

Signature

Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

> Hi,
>
[quoted text clipped - 16 lines]
>  Before you type your password, credit card number, etc.,
> be sure there is no active keystroke logger (spyware) in your PC.
glee - 31 May 2008 03:14 GMT
That's probably because partitioning tools do not determine the cluster
size.....formatting determines the cluster size.

You can use the undocumented /Z:n switch of FORMAT to specify the cluster size.

The "n" value is the number of (512 byte) sectors per cluster.
To format a hard drive to use 4K clusters you would use the command:

FORMAT C: /Z:8
(assuming the partition being formatted is C:)

FDISK and other partitioning tools are used to set the file system (FAT, FAT32,
NTFS), not the cluster size.

Note that Scandisk and Defrag will have problems when you use smaller than the
default cluster size for a partition.
Signature

Glen Ventura, MS MVP Windows, A+
http://dts-l.net/
http://dts-l.net/goodpost.htm

> Suggest you read this:
> http://www.pcguide.com/ref/hdd/file/partFAT32-c.html
[quoted text clipped - 21 lines]
>>  Before you type your password, credit card number, etc.,
>> be sure there is no active keystroke logger (spyware) in your PC.
Gary S. Terhune - 31 May 2008 03:39 GMT
Doh! Thanks for the correction. Seems like something I used to know, <sigh>.

Signature

Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

> That's probably because partitioning tools do not determine the cluster
> size.....formatting determines the cluster size.
[quoted text clipped - 44 lines]
>>>  Before you type your password, credit card number, etc.,
>>> be sure there is no active keystroke logger (spyware) in your PC.
glee - 31 May 2008 04:09 GMT
Yep, I'm sure it is something you've known for 7 or 8 years at least.....the memory
can only retain so many things, then it starts dropping memories out your ear to
make room for new ones.  :-)

Actually, since there is some evidence that memories may be stored in proteins, you
may not have lost anything.....they are just buried somewhere around your elbow.
;-)
Signature

Glen Ventura, MS MVP Windows, A+
http://dts-l.net/
http://dts-l.net/goodpost.htm

> Doh! Thanks for the correction. Seems like something I used to know, <sigh>.
>
[quoted text clipped - 39 lines]
>>>>  Before you type your password, credit card number, etc.,
>>>> be sure there is no active keystroke logger (spyware) in your PC.
Gary S. Terhune - 31 May 2008 06:06 GMT
Well, actually, something took a bazooka to that pile of proteins a few
years ago, and every time I think I've got them all gathered back together,
or at least as many as can be found, along comes the bazooka again. Such is
life.

Signature

Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

> Yep, I'm sure it is something you've known for 7 or 8 years at
> least.....the memory can only retain so many things, then it starts
[quoted text clipped - 55 lines]
>>>>>  Before you type your password, credit card number, etc.,
>>>>> be sure there is no active keystroke logger (spyware) in your PC.
philo - 30 May 2008 20:10 GMT
> Hi,
>
[quoted text clipped - 14 lines]
>   Before you type your password, credit card number, etc.,
>  be sure there is no active keystroke logger (spyware) in your PC.

Poor cluster size is not a problem with fat32 partitions under 32gigs

http://www.project9.com/fat32/
Steven Saunderson - 30 May 2008 22:19 GMT
>     I installed a 20G HDD in my Windows 98se computer.  With one partition,
> I formatted it.  The results is 16K byte clusters.   With a FAT32 system,
[quoted text clipped - 3 lines]
>    How can I format this 20G HDD in such a way to produce smaller clusters
> without adding partitions?

I wrote a DOS program to partition/format disks and played with small
cluster sizes in FAT32 vols.  There is a problem if a FAT32 vol has more
than 4177918 clusters because Defrag and Scandisk can't access it.
Also, general access becomes much slower.

The cluster index is only a 28-bit number not 32-bit because the top 4
bits of the number are used for other purposes.

I do have some 32GiB volumes here with 8kiB clusters and they work well.
If your volume is 20GiB then I would say your minimum cluster size will
be 8kiB based on the restrictions mentioned here.  If you really want
4kiB then the maximum volume size is about 16GiB.
Signature

Steven

Brad - 02 Jun 2008 15:54 GMT
Hi,

   Thanks to everyone who replied.

   I decided to partition the HDD into two 10G partitions which resulted in
8K clusters after each partition was formatted.  The second partition is
logical drive "D:".

                       Brad

>Hi,
>
[quoted text clipped - 14 lines]
>  Before you type your password, credit card number, etc.,
> be sure there is no active keystroke logger (spyware) in your PC.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.