All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvm and md
@ 2003-03-07  8:01 Peter Yao
  2003-03-07  8:11 ` Heinz J . Mauelshagen
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Peter Yao @ 2003-03-07  8:01 UTC (permalink / raw)
  To: linux-lvm

Should we build lvm volumns on top of soft raid(md) or build md on top 
of lvm volumns?
I prefer to build md on top of lvm volumns because lvm can hide the 
hardware details from md. Just want to know how do you think about this.
Or any URLs? Thanks.
-- 
Peter Yao

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: [linux-lvm] lvm and md
@ 2003-03-07  8:09 Koch, Steffen
  0 siblings, 0 replies; 17+ messages in thread
From: Koch, Steffen @ 2003-03-07  8:09 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

> Should we build lvm volumns on top of soft raid(md) or build 
> md on top of lvm volumns?
> I prefer to build md on top of lvm volumns because lvm can hide the 
> hardware details from md. Just want to know how do you think 
> about this.
> Or any URLs? Thanks.

How do you achieve redundancy with this setup? How would you know on which
disks your LVs are when building the raid??

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: [linux-lvm] lvm and md
@ 2003-03-10  6:57 Rechenberg, Andrew
  0 siblings, 0 replies; 17+ messages in thread
From: Rechenberg, Andrew @ 2003-03-10  6:57 UTC (permalink / raw)
  To: linux-lvm

Someone please correct me if I'm wrong, but I believe mdadm can start
the arrays based on the RAID superblock UUID.  So even if the device
name changes it still knows which partition belongs to which md device.


Mdadm is an alternative software RAID management utility.  It is very
nice.  Check it out at http://www.cse.unsw.edu.au/~neilb/source/mdadm/

Hope this helps,
Andy.

-----Original Message-----
From: Jon Bendtsen [mailto:jon+lvm@silicide.dk] 
Sent: Monday, March 10, 2003 4:50 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm and md


Peter Yao wrote:
> 
> Jon Bendtsen wrote:
> > Peter Yao wrote:
> >
> >>Should we build lvm volumns on top of soft raid(md) or build md on 
> >>top of lvm volumns? I prefer to build md on top of lvm volumns 
> >>because lvm can hide the hardware details from md. Just want to know

> >>how do you think about this. Or any URLs? Thanks.
> >
> >
> > why would you need to hide the hardware details from md ?
> I am using some hot-plugging disks and their device number may change 
> after reboot. For example, if i build md with /dev/sda and /dev/sdb, 
> after reboot md may cannot start because the two disks' device name 
> change to /dev/sdc and /dev/sdd. If i build md on top of lvm this 
> problem is avoided. Can you give me some advice for this issue?

sure. Dont change device names ;-D

Perhaps you can use labels ? and label the partitions ?

Another thing is that i dont think the kernel uses /etc/raidtab i think
it looks at the partitions and then starts the md. You 
can set the partition type to raid autodetect. Then it might work even
if you change the partition names.


JonB

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [linux-lvm] lvm and md
@ 2003-03-20  3:36 Rocky Lee
  2003-03-20  4:04 ` jon+lvm
  0 siblings, 1 reply; 17+ messages in thread
From: Rocky Lee @ 2003-03-20  3:36 UTC (permalink / raw)
  To: linux-lvm

Dear all
 
 I have another question with LVM + MD.
 
 After I made a LVM on top of MD.
 
 If I lost the raidtab file and reboot  
 can MD and LVM automatic recognize them ?
 
or 
If I change those disks to other machine and boot .
can new system recognize them without original raidtab file?

Thank you
 
Have a nice day
Rocky Lee
 

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [linux-lvm] lvm and md
@ 2003-03-20 19:45 Rocky Lee
  2003-03-21  2:22 ` jon+lvm
  2003-03-21  9:54 ` Dale J. Stephenson
  0 siblings, 2 replies; 17+ messages in thread
From: Rocky Lee @ 2003-03-20 19:45 UTC (permalink / raw)
  To: linux-lvm

> Did you use the trick by changing the partitions to
> linux raid
> autodetect ?

>To my knowledge most of your questions are >answered in the
>howto's. See
>www.tldp.org
>for software raid howto, and LVM howto

Hi JonB

I've set the
"persistent_superbit  1"  in raidtab
all disk partition type were also all " raid auto detect"

then if I delete the original raidtab file and reboot.
the system couldn't find the raid device, the LVM coundn't find the volume
either.
does md have to depend on the raidtab file?

Rocky Lee

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2003-03-21  9:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07  8:01 [linux-lvm] lvm and md Peter Yao
2003-03-07  8:11 ` Heinz J . Mauelshagen
2003-03-07  9:42 ` Jon Bendtsen
2003-03-09 19:35   ` Peter Yao
2003-03-10  2:05     ` Luca Berra
2003-03-10  3:05     ` William Blunn
2003-03-10  3:29       ` William Blunn
2003-03-10  8:17         ` [linux-lvm] not enough free/allocatable physical extents to extend logical volume Ron Arts
2003-03-10  3:50     ` [linux-lvm] lvm and md Jon Bendtsen
2003-03-09 16:59 ` Stephan Austermuehle
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07  8:09 Koch, Steffen
2003-03-10  6:57 Rechenberg, Andrew
2003-03-20  3:36 Rocky Lee
2003-03-20  4:04 ` jon+lvm
2003-03-20 19:45 Rocky Lee
2003-03-21  2:22 ` jon+lvm
2003-03-21  9:54 ` Dale J. Stephenson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.