raid and lvm
I was reading back in 1999 mailing list about trying to merge in some raid functions into lvm. Did this ever happen? Is it possible to use lvm to safeguard data (like raid 5) so that if a hard drive fails, the data is picked up by another volume group/or parts of the volume group not on the failed drive?
Signature · 10 lines
SI Reasoning [email protected] gpg public key ftp://ftp.p-p-i.com/pub/si-mindspring-pubkey.asc The significant problems we face cannot be solved by the same level of thinking that created them. -Albert Einstein We need an energy bill that encourages consumption. -George W. Bush, Trenton, N.J., Sept. 23, 2002
Quoted 2 lines · SI Reasoning
I was reading back in 1999 mailing list about trying to merge in some raid functions into lvm. Did this ever happen?
except for striping (some call it RAID0) it did not happen
Quoted 3 lines
Is it possible to use lvm to safeguard data (like raid 5) so that if a hard drive fails, the data is picked up by another volume group/or parts of the volume group not on the failed drive?
Why do people always want to bloat everything? LVM is one funcunality and RAID a different one, you can layer tham as you please and get the benefit of both with out any efford. So why should anyone integrate them.
I know that the device mapper allows to add RAID5 functionality, but in a different way (not as part of LVM, but as a plugin into DM)
Signature · 4 lines
Goetz Bock (c) 2003 as blacknet.de - Munich - Germany /"\
IT Consultant GNU FDL 1.1 secure mobile Linux everNETting \ /
X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \Quoted 5 lines · Goetz Bock
Quoted 2 lines · SI Reasoning
I was reading back in 1999 mailing list about trying to merge in some raid functions into lvm. Did this ever happen?
except for striping (some call it RAID0) it did not happen
Quoted 8 lines
Quoted 3 lines
Is it possible to use lvm to safeguard data (like raid 5) so that if a hard drive fails, the data is picked up by another volume group/or parts of the volume group not on the failed drive?
Why do people always want to bloat everything? LVM is one funcunality and RAID a different one, you can layer tham as you please and get the benefit of both with out any efford. So why should anyone integrate them.
I was following an old list and at that time they felt that it would be more efficient to merge either lvm into raid or vice-versa.
Quoted 2 lines
I know that the device mapper allows to add RAID5 functionality, but in a different way (not as part of LVM, but as a plugin into DM)
what is DM? Is this part of lvm2 or is it in 1.0.6 (or earlier)? Is there a how-to for creating raid5 through this plugin?
Signature · 1 line
SI Reasoning <[email protected]>
Am Die, 2003-01-28 um 18.34 schrieb SI Reasoning:
Quoted 2 lines
I was following an old list and at that time they felt that it would be more efficient to merge either lvm into raid or vice-versa.
Yes. I've looked into the DM code in the kernel and I have to say it's a very clean architecture. Since LVM2 needs some kind of Raid 0 (a transparent mirror in the background) to implement pvmove it would be a code duplication.
Also since DM has a nice plugin architecture and already has generic bio splitting code, it would even save some memory when the raid drivers would be reimplemented as DM plugins. (so the bloat argument doesn't count)
Also you don't need the extra meta data the raid code actually has (ok, raid autodetection won't work anymore but as far I understand the kernel developers, that's depracted anyway). I've had problems with the raid metadata code that could have been solved with things like vgexport and vgimport.
But I think that's going to be adressed via the new in-kernel initramdisk anyway.
And I think that the performance is better when raid is implemented in DM than to run one device mapper over another one.
Signature · 1 line
Christophe Saout <[email protected]>