Mirroring with LVM
Hi,
is there any possibility to use LVM to mirror hard disks (Software RAID 1)?
Thanks a lot for answer
Stephan
Signature · 1 line
Stephan Müller [email protected]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Wer Rechtschreibfehler findet, darf sie behalten. <<<
My understanding is that you use MD to do the mirroring and LVM is layered on top to produce volumes... so yes you can mirror but LVM doesn't do it.
Quoted 11 lines · Stephan Mueller
Hi,
is there any possibility to use LVM to mirror hard disks (Software RAID 1)?
Thanks a lot for answer
StephanSignature · 1 line
Stephan Müller [email protected]Quoted 1 line
Quoted 1 line
Quoted 1 line
Wer Rechtschreibfehler findet, darf sie behalten. <<<
A. James Lewis ([email protected])
- Linux is swift and powerful. Beware its wrath...
Quoted 4 lines · A James Lewis
My understanding is that you use MD to do the mirroring and LVM is layered on top to produce volumes... so yes you can mirror but LVM doesn't do it.
So, am I right to conclude that if I have a (trivial) volume with one partition
of 2 discs at raid1 or 3 at raid5 and want to extend that I have to add another
3 discs for my volume-on-to-of-raid5 or 2 for the mirrored set (mix maybe)?
It seems possible to add one physical partition but if that disc crashes I would
loose all data since the filesystem would depend on information on both partitions
(the physical and the raid abstracted d.o.), right?
Another question. I'm trying to compile the utilities on a glibc 2.1 system,
with no success. The LVM-home page mentions that a small patch is needed but
I can't seem to find that anywhere ..... suggestions anybody?
Cheers,
Jarek