[aklug] adding disks to a volset.

From: Thomison, Lee <ThomisonL@muni.org>
Date: Mon Apr 19 2010 - 16:06:30 AKDT

All,

I've got a [multi-user] RHEL5 machine that is running out of disk in the /h=
ome directory. The volumes are set up as LVM volumes (see below). There a=
re three physical disks set up as RAID5 (yes, I know) on a hardware raid co=
ntroller.

I have two 300G drives I can use but I'm wondering what the 'right' thing t=
o do is? Given that I don't want to rearrange the existing volumes I see =
I have two choices:

1. Add the two 300G drives=20
        set them up in a mirror in the hardware controller (not even sure I can do=
 that yet, but you get the idea).
        add them to VolGroup00
        add the extra space to dev/mapper/VolGroup00-LogVol07 (which is /home).

2. Add the two 300G drives
        set them up in a mirror
        partition it and format it as /home (NOT part of the volset). =20
        Copy the existing /home (from the volset) onto the new /home (the mirrored=
 300G drive).
        Change the /etc/fdisk from Volgroup00-LogVol07 to /dev/<whatever>.

I think option one is the right approach, but I've never done this before, =
nor do I know anyone who has. And I don't know what the 'downsides' or got=
chas' may be. Googling just says what a wonderful thing LVM is but a lot o=
f it sounds like techiefanboyism. So...what's the right thing to do here?

Thanks!

---------------------------

$ df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
                      7.6G 3.5G 3.8G 49% /
/dev/sda1 99M 25M 69M 27% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol07
                      1.9G 1.8G 0 100% /home
/dev/mapper/VolGroup00-LogVol08
                      1.9G 946M 878M 52% /opt/oracle
/dev/mapper/VolGroup00-LogVol06
                      961M 20M 892M 3% /tmp
/dev/mapper/VolGroup00-LogVol05
                      4.8G 628M 3.9G 14% /var
/dev/mapper/VolGroup00-LogVol02

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Apr 19 16:06:42 2010

This archive was generated by hypermail 2.1.8 : Mon Apr 19 2010 - 16:06:42 AKDT