Hello, I have a new/clean 7.0 rc1 install and I would like to add a second drive (and a 3rd in the near future) to gain capacity. All of these are standard ide pata drives. I know how to do it as instructed in the howto
http://mirror.contribs.org/smeserver/contribs//mblotwijk/HowToGuides/AddExtraHardDisk.htm, but, I would like to take advantage of LVM2 built into sme7
I installed 7 with the second drive unplugged, configured the server as I like and now I would like to add more storage to the setup.
If I understand what I have read correctly, 7 configures the drive(s) on initial install as an lvm mirror. I would like a linear lvm (i think) with system capacity increasing as I add drives to the group.
I don't want to move the 'ibay(s)' over to the new drive as was the traditional method with v6 because then I end up wasting about 150gigs on the root drive or spend time managing directories over the 2, or 3 drives juggling directories, template fragments etc as my requirements change.
I believe I need to
connect the second drive
boot from a cd that has lvm support,
create the pv on the new drive,
add the new drive to the volume group,
unmount the primary volume,
extend the file systems, and
remount the extended volumes.
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html I tried this last week with sme 7 rescue, boot cd, hold shift key, type text rescue, no network, but I got some error with only restart as an option. On a subsequent attempt while running in sme I some how unsync'ed the drives and caused a kernel panic as I learned you cannot unmount a root volume.
Being a green horn, I am just exploring by trial and error. If any one has some pointers on how to add the drive to the primary vg and make the root a linear lvm, I would be appreciative.
paul