Web lists-archives.com

Re: Install & restore backup: what if I use LVM?


On Tue, Nov 20, 2018 at 10:38:54AM +0000, Jonathan Dowland wrote:
> On Tue, Nov 20, 2018 at 08:21:04AM +0200, Johann Spies wrote:
> > You can install LVM if you want, but it might be worth while to take
> > note that you loose all the data if the disk fails underneath.  I had
> > a bad experience using LVM including more than one disk and everything
> > was lost when the disk failed - even on the disk that did not fail.
> > Backups did help, but that was an experience that made me decide never
> > to use LVM again.
> Sadly you are blaming the wrong thing here. The correct thing to do
> (after making sure you have a reliable backup system you trust) would be
> not to use multiple physical disks underneath one LVM volume group.

It's perfectly OK to do so if one uses mirrored logical volumes.
Or LVM on top of mdadm.

Using LVM as JBOD is asking for trouble, of course.