I have some questions about raid & lvm. I currently have raid 5 set up via mdadm and lvm (lvm2) set up along with it, running on an old Ubuntu Studio (8.10). I need to upgrade (via fresh install) to a more recent (9.10) version of the system but am not sure what steps to take to sync the new OS install with the old raid/lvm set-up. I have an OS hard drive that is separate from my raid/lvm hard drives. I'd like to install Ubuntu Studio, Solaris and/or OpenBSD, and another *nix onto the computer. I plan on using Studio for music recording/composing purposes and another unix/linux install for normal computer uses. First things first, I'd like to get Ubuntu Studio 9.10 up and running and also working with the raid/lvm disks. How do I do that?

I have some basic ideas but don't know if I'm missing any steps.

Here are some info on my current set-ups...

Code:

# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg0" using metadata type lvm2

Where do I get the correct uuid for the mdadm re-assembly command?
Is including that uuid necessary?
Or is the fstab change really necessary?
Or will I need to still do some kind of "modprobe" for mdadm and/or lvm2?

I might be over-thinking some of this, I don't know, but I'd rather over than under-think it.