Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-06-2006, 02:57 PM   #1
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
fdisk and unallocated sectors

fdisk /dev/hda
21292 unallocated sectors
No free sectors available

Why these unallocated sectors aren't available for creating a partition? Did I miss something?
Old 02-06-2006, 04:25 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
A lot of this is based on the drives geomtry and block size. Standard ext block size is 512. If you do not configure each partition to stop at each block then whats left over to make the 512 block size is lost. Also there is lost between master boot sector and track 2 of the drive. I have also been told it may also be part of the drive with bad sectors as well. Not sure on that one.

Example: One Real Megabyte 1024000 divide by 512 = 2000
Example: What we think One Million is 1000000 divide by 512 = 1953.125 here you lose 512 minus 125 = 387. Next parition cannot start till 2000.
So in essences it is better to size 1 gig as 1,024,000,0000 than as 1,000,000,000

Hope I explained this correctly. This is very broad and not specfic.

Last edited by Brian1; 02-06-2006 at 04:37 PM.
Old 02-06-2006, 11:07 PM   #3
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Original Poster
Rep: Reputation: 53
Thanks a lot. Got a point (maybe).

But there is one question:

1000000 div 512 = 1953
1000000 mod 512 = 64
We lose 512 - 64 = 448 sectors
So there is 1953 + 1 of used 64 (unused 448) sectors.
So why another partition can't begin from 1955?

It would be good for me to read more about hard drives architecture. Can you mention some good sources of information?

Last edited by Alien_Hominid; 02-06-2006 at 11:38 PM.


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
fdisk -- no free sectors available; i have a few gigs free??? lowpro2k3 Linux From Scratch 5 02-03-2009 12:43 AM
fdisk: no sectors available? ? ? ic_torres Linux - Hardware 5 12-29-2005 05:08 PM
fdisk "No free sectors Available" xfezz Linux - General 3 04-21-2005 09:25 AM
partition problems: cannot allocate unallocated sectors yzman Linux - Hardware 7 11-18-2003 04:31 AM
Claiming unallocated diskspace into Linux RefriedJavaBean Linux - Newbie 4 09-27-2003 12:51 PM > Forums > Linux Forums > Linux - Hardware

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

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