Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] is lvm on top of raid, possible?
  • From: Louis Richards <louis@xxxxxxxxx>
  • Date: Fri, 20 May 2005 21:34:52 -0400
  • Message-id: <200505202134.52923.louis@xxxxxxxxx>

On Friday 20 May 2005 05:01 pm, Richard Bos wrote:
> Op vrijdag 20 mei 2005 22:08, schreef Louis Richards:
> > It's hard to tell from here, but I'm guessing your RAID device is listed
> > as mounting at /. I think this is the default. Change this to be blank.
>
> This is the one! After this I could start configuring the LVM.

Great! I'm glad that you got it going.

> > hdc1 and hda2 = /dev/md1 = swap
> > hdb1 and hdc2 = /dev/md2 = swap
>
> BTW: why do you have 2 swaps and not just 1?

Well, there are lots of differing thoughts on swap setups. I would love to
claim some fancy technical reason for this setup, but I can't. I had three
drives and RAID requires equal sized partitions. A single boot and a swap is
two partitions. A single swap and two swaps is three. This was simply easier
to make even sized mirrors across the three drives. My boot device ended up
being larger than needed, but that's OK.

> > hda1 and hdb1 = /dev/mdo = /boot
> > hda3 and hdb3 and hdc3 = /dev/md3 = LVM = / (RAID 5)
>
> According to the suse documentation and guidelines in yast sideline, the
> "/" partition should not be on LVM. In your case "/" is on LVM, what /boot
> isn't. Should I conclude from that, that the suse documentation should be
> read as the /boot partition should not be on LVM?
>
> I can imagine that it is better/safer to have "/" not on LVM, it prevents
> an additional layer that can break...

I have not had a problem using RAID and/or LVM on the root partition as long
as boot is separate (boot can be RAID 1 at most AFAIK). You will hear even
more ideas on partitioning than you will about swap setups. Unfortunately,
there are valid reasons for most of the setups, making the decisions harder.
LVM has made it easier to go with simpler schemes. Depending on how you plan
to use this machine, you should probably at least create a home partition as
well. This will make future upgrades much easier. The above setup was used on
a machine that mounted home from another machine.

> --
> Richard Bos
> Without a home the journey is endless

--
Louis Richards
It's not the destination ... it's the ride.

< Previous Next >