[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM vs. md: Benefits in RAID0?



On Tuesday, 24 July 2001, at 15:13:19 -0400,
Jason Tackaberry wrote:

> I am about to be deploying a new server whose purpose is to replace an
> existing, aging system.  The new server has 2 18GB drives.  Once I
> migrate the user data to the new server, I can reclaim a practically
> [...]
>
The quick and dirty hack to get resizable RAIDed storage devices is:

a) Layer LVM on top of (hard/soft) RAID
b) Layer sotfware RAID on top of software LVM

My tests with _crappy_ hardware show better performance with setup a). It
has the added advantage of being able to use hardware RAID, and avoid
some layering overhead on the operating system side (there are quite
inexpensive SCSI hardware RAID for IDE and SCSI buses out there).

With setup a), you should create one or more RAID devices (depending on
type and information to be stored) and then, create a VG from each RAID
device. For example, a 3-disk software RAID-5 consisting of 3 10 GB
partitions gives you a /dev/md0 20 GB large.

Make a pvcreate /dev/md0, then a vgcreate Group00 /dev/md0 and define LV
from this VG (lvcreate -n Group00 -L 5G Volume00). This LV holds your data
and avoids loosing them upon a 1-disk failure (RAID-5), and lets you
hot-resize the LV (if the filesystem allows it).

Greetings.

--
José Luis Domingo López
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]