Koozali.org: home of the SME Server

Raid makes 5gb from 2 x 10gb

Julian Luton

Raid makes 5gb from 2 x 10gb
« on: April 23, 2002, 11:08:00 PM »
Dear All
I've got an e-smith box (5.0) with software raid using two 10gb hard drives. The second drive is a few cylinders smaller than the first. The trouble is I've ended up with just 5gb of space.
Anyone know how I can claw back the other 5gb?
This might help.
[root@server /root]# fdisk /dev/hda

The number of cylinders for this disk is set to 1245.
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/hda: 255 heads, 63 sectors, 1245 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        33    265041   fd  Linux raid autodetect
/dev/hda2            34      1245   9735390    5  Extended
/dev/hda5            34        35     16033+  fd  Linux raid autodetect
/dev/hda6            36        37     16033+  fd  Linux raid autodetect
/dev/hda7            38       642   4859631   fd  Linux raid autodetect

Command (m for help): q

[root@server /root]# fdisk /dev/hdb

The number of cylinders for this disk is set to 1216.
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/hdb: 255 heads, 63 sectors, 1216 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1        33    265041   fd  Linux raid autodetect
/dev/hdb2            34      1216   9502447+   5  Extended
/dev/hdb5            34       637   4851598+  fd  Linux raid autodetect

Command (m for help): q

[root@server /root]# mkraid --version
mkraid version 0.90.0
[root@server /root]#


All the best,
Julian

Jon Blakely

Re: Raid makes 5gb from 2 x 10gb
« Reply #1 on: April 24, 2002, 03:42:56 AM »

Julian Luton

Re: Raid makes 5gb from 2 x 10gb
« Reply #2 on: April 24, 2002, 03:48:28 PM »
many thanks