I'm new here, but not to forums in general. Before someone replies with "search for the answer", I'll say that I did and came up with this:
(can't post link as this is my first post. nice anti-spam trick!)
I just want to make sure that the solution to my problem right before I go do it.
First off, here's the problem:
I have a 5-drive RAID 5 setup, and I want to add a 6th to it, and expand my / partition (sda2).
Fedora Core 3 on a Dell PowerEdge 2850. There are 5 drives, each 143GB SCSI, in RAID 5. I know that the PERC 4 raid card can handle resizing the RAID, so I'm looking to add a 6th. I have an Ubuntu Live CD that has:
- the drivers for my raid
- gparted, which sadly doesn't do the trick
- lvm tools, which does do the trick.
fdisk produces this output after I add the drive:
Command (m for help): p
Disk /dev/sda: 733.4 GB, 733478912000 bytes
255 heads, 63 sectors/track, 89173 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 71338 572918062+ 8e Linux LVM
Command (m for help): q
So the next step is with that guide, right?
# lvm vgchange -a y
# e2fsck -f /dev/VolGroup00/LogVol00
# resize2fs -f /dev/VolGroup00/LogVol00 (size??)
# lvresize -L(size??) /dev/VolGroup00/LogVol00
sda1 is a mere 100M, so should (size??) be the full 733G? Also, how long will this take? Again, I'm really just seeking confirmation before I do something I can't fix.
Thanks for any feedback!