[SLUG] raid1 mdadm or lvm mirror's

2007-10-17 Thread Alex Samad
Hi

I am in the process of rebuilding my server and I am planning my disk usage.  I 
have 2 drives.  Traditionally  I would do 

4 partitions to make up 4 md's


md0 /boot ( ~ 500M - I like have space here) sda1 + sdb1
md1 / (~10G) sda2 + sdb2
md2 swap sda3 + sdb3
md3 LVM PV sda4 + sdb4

from the PV I make a VG and then lots of LV's

I have used this sort of set for a while, but what I would like to do is not 
make md3 and instead use sda4 + sdb4 as 2 PV and then I get the chance to 
decide which pv is made up of mirrored space and which is not.

I have some data that I don't really care if it dies/get lost.  I can't do that 
on a lv by lv basis with my original setup.

I haven't had much experience with lvm mirrors, should I stick with my original 
setup or go with the new ?

Alex


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] raid1 mdadm or lvm mirror's

2007-10-17 Thread Matthew Hannigan
On Wed, Oct 17, 2007 at 07:47:35PM +1000, Alex Samad wrote:
 [ ...]
 I have some data that I don't really care if it dies/get lost.  I can't do 
 that 
 on a lv by lv basis with my original setup.
 
 I haven't had much experience with lvm mirrors, should I stick with my 
 original 
 setup or go with the new ?

I think if I was to mirror on my home machine now, I would do
lv mirroring for the reason you mention; you just don't need
everything mirrored.  

In fact I don't mirror at all at the moment; I just rsync the more
valuable stuff.

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] raid1 mdadm or lvm mirror's

2007-10-17 Thread Alex Samad
On Wed, Oct 17, 2007 at 10:32:02PM +1000, Matthew Hannigan wrote:
 On Wed, Oct 17, 2007 at 07:47:35PM +1000, Alex Samad wrote:
  [ ...]
  I have some data that I don't really care if it dies/get lost.  I can't do 
  that 
  on a lv by lv basis with my original setup.
  
  I haven't had much experience with lvm mirrors, should I stick with my 
  original 
  setup or go with the new ?
 
 I think if I was to mirror on my home machine now, I would do
 lv mirroring for the reason you mention; you just don't need
 everything mirrored.  
but how stable is lvm mirror any one using this in production

 
 In fact I don't mirror at all at the moment; I just rsync the more
 valuable stuff.
oh I sing as well, both on site and offsite (hate trying to find stuff or 
recreate it and 500Gb drives for $120...)
 
 Matt
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] raid1 mdadm or lvm mirror's

2007-10-17 Thread Matthew Hannigan
On Thu, Oct 18, 2007 at 07:08:25AM +1000, Alex Samad wrote:
 but how stable is lvm mirror any one using this in production

I dunno.  I'm taking the fact that it's standard in
major distros as an indication that it's pretty mature
and reliable.

I could be wrong!

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] raid1 mdadm or lvm mirror's

2007-10-17 Thread Peter Chubb
 Matthew == Matthew Hannigan [EMAIL PROTECTED] writes:

Matthew On Thu, Oct 18, 2007 at 07:08:25AM +1000, Alex Samad wrote:
 but how stable is lvm mirror any one using this in production

Matthew I dunno.  I'm taking the fact that it's standard in major
Matthew distros as an indication that it's pretty mature and
Matthew reliable.

We've been doing a few performance measurements (as part of our
research).  LVM underperforms compared with the same
mirroring/striping arrangement set up with md.  We're still trying to
work out why... (and fix it, of course).  The data is still *very*
preliminary, and may change as we do more experiments.

Peter C
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html