Koozali.org formerly Contribs.org

RAID Disk Shrinking

jimgoode

RAID Disk Shrinking
« on: March 08, 2006, 09:59:32 PM »
I installed SME 6.0.1-01 on dual disks (software RAID1) using 2 Seagate Barracuda 300GB disks. I initially used Seagate's partition tool to make the disks usable.

SME created a 100MB /root, 512MB swap, and the rest as / (almost 300GB). All looked good. I just noticed, however, that I am down to 16GB available on the root partition.

df -k shows
[root@s01 root]# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md1              32138888  14211044  16295244  47% /
/dev/md0                101018     13953     81849  15% /boot
none                    515616         0    515616   0% /dev/shm

fdisk -l /dev/hda shows
[root@s01 files]# fdisk -l /dev/hda
 
Disk /dev/hda: 255 heads, 63 sectors, 4111 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        13    104391   fd  Linux raid autodetect
/dev/hda2            14      4078  32652112+  fd  Linux raid autodetect
/dev/hda3          4079      4111    265072+  fd  Linux raid autodetect

fdisk -l /dev/hdb shows
[root@s01 files]# fdisk -l /dev/hdb
 
Disk /dev/hdb: 255 heads, 63 sectors, 36481 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1        13    104391   fd  Linux raid autodetect
/dev/hdb2            14     36448 292664137+  fd  Linux raid autodetect
/dev/hdb3         36449     36481    265072+  fd  Linux raid autodetect

Where did all my space go, and how can I reclaim it?

Thanks,
Jim