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

Notices

Reply
 
Search this Thread
Old 02-28-2009, 11:41 PM   #1
jys17
LQ Newbie
 
Registered: Feb 2009
Posts: 5

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


Hello,
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,
Jeff
 
Old 03-01-2009, 04:44 PM   #2
wsduvall
Member
 
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, 05:15 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,114

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
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, 08:05 PM   #4
jys17
LQ Newbie
 
Registered: Feb 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
details.

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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Utilize passphrase created smallbook Linux - Security 9 01-28-2008 03:05 AM
Create a RAID-1 of the boot disk and a new disk Oskare100 Linux - Server 3 09-21-2007 07:45 PM
utilize 4gb of ram cynick Linux - General 2 04-20-2006 11:42 AM
RAID 1: adding a new SCSI disk to existing disk.... help mgy Linux - Enterprise 4 04-17-2006 03: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 03:02 PM


All times are GMT -5. The time now is 11:40 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration