Tom's Hardware Forums » Storage » Hard Disks » Hard Drive Sector format question.
 

Hard Drive Sector format question.




Word :   Username :  
 
Bottom
Author
 Thread : Hard Drive Sector format question.
 
Profile: Faithful Poster
More Information

A hard drive has four platters. It has been low-level formatted to contain 64 sectors and 64000 tracks. If a single FAT32 partition is created, the size of a file allocation unit is exactly ________ bytes

Related Product

Register or log in to remove.

Profile: old hand
More Information

FAT32 partitions theoretically have 4 bytes reserved for the cluster number (allocation unit number), but there is another restriction. The top 4 bits of that number are reserved, leaving 28 bits. So the theoretical maximum number of clusters on a FAT32 volume is 2^28 = 268,435,456.

So, for your theoretical drive, the number of sectors on the drive is as follows:

4 platters = 8 heads * 64,000 cylinders * 64 sectors/track = 32,768,000 sectors on the drive.

Theoretically, this is less than the maximum cluster number for the volume, so you could make the cluster size equal to the sector size (512 bytes per cluster). However, this in turn makes the file allocation table itself very large (4 bytes per entry, 32,768,000 entries = 131MB just for the FAT). So, what Windows typically does is limit the FAT size to 2^21 entries/clusters (2,097,152 * 4 bytes = 8 MB) unless the drive size is so large that it becomes necessary to exceed that.

Thus, the 32,768,000 sectors on your drive will grouped into clusters such that the maximum cluster number is <= 2,097,152. 32,768,000/2,097,152 = 15.625. Round that up to the nearest power of 2 = 16 = 2^4. 16 * 512 bytes per sector = 8,192 bytes = 8K cluster size.

If your drive were to exceed 64GB (which would give a 32K cluster size), then Windows will allow the cluster numbers to exceed 2,097,152, up to the maximum of 268,435,456 clusters, which at 32K per cluster is an 8 TB volume size. Of course, at 2TB you exceed the partition mapping capabilities of the standard MBR, so you need an advanced partitioning scheme like GPT disks, which aren't supported except by Windows 2003 Server SP1.

Profile: nimble knuckle
More Information

Start,
Run,
MS-ITS:C:\WINDOWS\Help\gen.chm::/guid_partition_table.htm

Does FAT32 support 64 KB clusters ?
(I been running NTFS too long, and have hit the 2.2 (apx) TB limit once with NTFS, never tried with FAT32 - that is just crazy, NTFS will do it with 4 KB or 8 KB clusters, and a better MFT system).

Profile: Faithful Poster
More Information

wait i got a little confused here.. so what is the actual size of the file allocation unit in bytes ... which of these answers?

i see cluster size and sectors..

Profile: old hand
More Information

File allocation unit size is the same thing (just a different wording) as the cluster size.

As I showed above, when Windows formats the FAT32 partition, your file allocation unit (cluster) size on your specified hard drive will default to 8192 bytes (8 KiB).


  Tom's Hardware Forums » Storage » Hard Disks » Hard Drive Sector format question.

Go to:
 

Google Ads
Ad
News

Hard drives to increase storage size per sector 8x

Published on March 24, 2006

According to a report published on German IT news website Golem.de, the "International Disk Drive, Equipment and Materials Association" (IDEMA) has agreed to increase the size of hard sectors from currently 512 Byte to 4096 Byte Read more

Ultra-X introduces harddrive cleaning utility

Published on June 29, 2004

Ultra-X, known for its professional hardware and software diagnostic tools, has introduced a simple, OS-independent tool to safely erase data from IDE harddrives. Read more

The hard drive turns 50

Published on September 13, 2006

The hard drive on Wednesday turned 50. Read more

Mobo makers giving up networking equipment business

Published on June 03, 2005

Taiwan's motherboard makers have mostly exited the low-margin networking products sector that has not met their expectations for business diversification, according to industry sources. Read more

Latest Reviews & Articles

Seagate's 1.5TB Barracuda: Bigger And Better?

Published on October 02, 2008

Seagate is the first hard drive vendor to offer a 1.5 TB drive in the 3.5” form factor. Meanwhile, WD sent us its RAID Edition 3 (RE3) drive. We tell you which is the best HDD choice today. Read more

Updated CPU Charts 2008: AMD Versus Intel

Published on October 01, 2008

The processor is the heart of your PC, and our updated charts for Q3 2008 show 54 of them competing in terms of performance. Using our updated suite of benchmarks, compare your favorite AMD and Intel CPUs after reading this introduction. Read more

Stalker: Clear Sky - Is Your System Ready?

Published on September 30, 2008

Thinking about picking up the latest update to Stalker, but not sure if your graphics subsystem can handle it? Hang on as we take you through a performance tour and demonstrate how the game has been prettied up. Read more

Part 4: Avivo HD vs. PureVideo HD

Published on September 29, 2008

The 780G chipset/Radeon HD 3200 and the MCP78S chipset/GeForce 8200 provide the first integrated graphics solutions that can accelerate Blu-ray playback. We dig deep into how well they work with high-quality Blu-ray 1080p video playback. Read more