Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-01-2009, 12:41 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
Unable to fully utilize RAID disk?

I just tried installed RHEL 4 update 4 on a Rackable box I just received. System has 12 disks, so I created a large raid 5 volume using the system's raid utility. It created a volume that was 4.2Tb, which I kickstarted the OS on top of. During the kickstart I only created the / and /boot partitions figuring I would add the rest of the space later, but it seems that I'm unable to fully utilize all of the space. A fdisk reveals this

[root@et01 ~]# fdisk -l

Disk /dev/sda: 4999.8 GB, 4999893483520 bytes
255 heads, 63 sectors/track, 607869 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1045 8289540 83 Linux
/dev/sda3 1046 1561 4144770 82 Linux swap
/dev/sda4 1562 73171 575201714 5 Extended
/dev/sda5 1562 73171 575201682+ 83 Linux

showing 607869 cylinders, but fdisk only allows me to go up to 73171 cylinders? Is there any way to use all of the cylinders here, hopefully without having to rebuild the system completely?

Thanks in advance,
Old 03-01-2009, 05:44 PM   #2
Registered: Aug 2006
Posts: 92

Rep: Reputation: 16
Are you doing a software or hardware RAID? 'Systems RAID utility" is slightly ambiguous...
Old 03-01-2009, 06:15 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,288

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
IIRC, the fdisk utility has a size limitation (I think it's 2 TB or so). Use parted instead ... that's what I do to partition the big RAID arrays at work. It will be able to address the full size of the array.
Old 03-01-2009, 09:05 PM   #4
LQ Newbie
Registered: Mar 2009
Posts: 5

Original Poster
Rep: Reputation: 0
btmiller, I was able to use parted, and that did allow me to create a large enough partition. Thanks for the suggestion

GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

Using /dev/sda
(parted) print
Disk geometry for /dev/sda: 0.000-4768270.000 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext3 boot
2 101.975 8197.229 primary ext3
3 8197.229 12244.855 primary linux-swap

(parted) mkpart p 12244.855
End? 4768270.000
(parted) q
Information: Don't forget to update /etc/fstab, if necessary.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Utilize passphrase created smallbook Linux - Security 9 01-28-2008 04:05 AM
Create a RAID-1 of the boot disk and a new disk Oskare100 Linux - Server 3 09-21-2007 08:45 PM
utilize 4gb of ram cynick Linux - General 2 04-20-2006 12:42 PM
RAID 1: adding a new SCSI disk to existing disk.... help mgy Linux - Enterprise 4 04-17-2006 04:56 AM
Disk is already fully (1) partitioned with XP, how can I squeeze a new partition in? garvey Linux - Software 7 11-03-2005 04:02 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:42 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