LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
LinkBack Search this Thread
Old 08-07-2008, 12:42 PM   #1
lxa2xjj
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Rep: Reputation: 0
how to troubleshoot disk size limit?


hello gang,

I'm new to linux and this forum, and love command line systems.

I've inherited a linux server which I must keep running for a business.

I just electrically installed a 500gb IDE drive as the secondary master, no slave.

fdisk seems to report the drive as 130 gig. How do I figure what is limiting me, the motherboard, the bios, the kernel, or fdisk or something with the distrib.

Any suggestions would be appreciated.


thanks in advance!

John


Debian linux 3.1 sarge
Kernel ver 2.4
ASUS motherboard (approx 5 years old)

fdisk reports:

willow:~# fdisk /dev/hdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 266305.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdc: 16 heads, 63 sectors, 266305 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System

Command (m for help): q

willow:~#
willow:~#
 
Old 08-07-2008, 01:00 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
This web page says that fdisk gets the drive geometry from the kernel. The kernel gets it from one of several unreliable sources. If you know the correct geometry you can use the /proc filesystem to supply the correct geometry:

http://tldp.org/HOWTO/Large-Disk-HOWTO-9.html

----------------------
Steve Stites
 
Old 08-07-2008, 01:34 PM   #3
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
Could you give me some details:

1 - what is the capacity of the harddisks on the primary controller;
2 - have you checked the bios setup regarding the new harddisk.



I ask this because the age of the motherboard reminds me of something that happened to me once. In the past I installed a new 80GB hd on an Asus P2BF motherboard.
Then the bios had to be updated to enable a larger than 20GB disk capacity.
Although it seems unlikely to me hat this is the matter with your motherboard, it is always useful to eliminate that possibility.

Good luck.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
~/ size limit bm1 Slackware 5 09-23-2004 07:10 AM
File Size Limit?? Manuel-H Linux - Software 1 04-16-2004 03:23 AM
Directory size limit macadam Linux - Newbie 3 09-22-2003 12:06 PM
2.1 Gb size limit?? pk21 Linux - General 5 08-30-2003 02:40 PM
Size limit? pyropenguin Linux - Networking 1 12-18-2002 12:48 PM


All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration