[Discuss] Multiple HDD setup in Linux

Steven Kurylo sk at infinitepigeons.org
Tue May 6 21:11:21 PDT 2008


On Tue, May 6, 2008 at 8:34 PM, Brian Burger <blurdesign at gmail.com> wrote:
> Thanks for all the feedback, everyone. I'm going to do a pile of
>  reading tonight, and tackle the actual installation tomorrow or
>  Thursday.
>
>  It looks like it's possible to mix-and-match - some non-LVM regular
>  partitions and LVM partitions on the same HDDs. Assuming that's true,
>  here's the plan:
>
>  1. Unplug the 120GB completely.
>  2. Plug the 500GB in, do a clean install with the Ubuntu 8.04
>  Alternate install CD to set it up as follows:
>  - /boot - 500MB, likely less
>  - / - 30GB, not LVM'd
>  - /swap - 2GB; there's 2GB of real RAM in this box, so 2 of swap is enough
>  - /home - LVM'd across the remaining 475+GB of the new drive

Personally I put every partition in LVM and xfs except boot.  There is
nothing like adding space with zero downtime.  But whatever you like.

>  3. After the new system & drive is up and running, mount the 120GB's
>  old /home and transfer my files across with dd.

I assume you mean cp, not dd.

>  4. Reformat the entire 120GB; then use LVM to add that whole volume to
>  the existing new /home.

As long as you realize you're doubling the chances of losing all your
data in /home.  If either drive fails, you'll lose everything in the
volume group.

-- 
Steven Kurylo


More information about the Discuss mailing list