-   Linux - General (
-   -   Unable to fully utilize RAID disk? (

jys17 03-01-2009 12:41 AM

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,

wsduvall 03-01-2009 05:44 PM

Are you doing a software or hardware RAID? 'Systems RAID utility" is slightly ambiguous...

btmiller 03-01-2009 06:15 PM

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.

jys17 03-01-2009 09:05 PM

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.

All times are GMT -5. The time now is 05:20 PM.