Resizing ext3 partitions on RAID5 array
How would I go about doing the following.
I have a redhat 7.2 server currently with 2 file partitions / and /home The machine is booting of sdb, which is a hardware RAID5 array. (sda is temporary storage [non-raid]).
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 9.9G 2.6G 6.8G 28% /
/dev/sdb2 56G 16G 37G 29% /home
none 250M 0 250M 0% /dev/shm
/dev/sda1 2.4G 1.7G 626M 74% /mnt/sda1
/dev/sda6 14G 13G 531M 97% /mnt/sda6
Disk /dev/sdb: 255 heads, 63 sectors, 8841 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1316 10570738+ 83 Linux
/dev/sdb2 1317 8710 59392305 83 Linux
/dev/sdb3 8711 8841 1052257+ 82 Linux swap
I created a directory called /home/groups for people to share files and quickly realised that with user quotas on /home this wasnt going to work well.
What I want to do is shrink the /home (/dev/sdb2) partition by 16GB and created a new ext3 partition and mount it as /groups this way I can implement separate user and groups quotas on different partitions.
I've never done this in Linux before. The only partitioning I've done is with disk druid at install time. How would I do this? Are there any issues with repartitioning with either ext3 or RAID5. I would guess that as Linux has no idea its running on hardware raid that it wouldnt matter, but if anyone has any experiance with this sort of thing I'd love to hear about it.