[linux-lvm] Reserve space for specific thin logical volumes
zkabelac at redhat.com
Tue Sep 12 14:57:56 UTC 2017
Dne 12.9.2017 v 14:47 Xen napsal(a):
> Zdenek Kabelac schreef op 12-09-2017 14:03:
>> Unfortunatelly lvm2 nor dm can be responsible for whole kernel logic and
>> all user-land apps...
> What Gionatan also means, or at least what I mean here is,
> If functioning is chain and every link can be the weakest link.
> Then sometimes you can build in a little redundancy so that other weak links
> do not break so easily. Or that your part can cover it.
> Linux has had a mindset of reducing redundancy lately. So every bug anywhere
> can break the entire thing.
> Example was something I advocated for myself.
> I installed GRUB2 inside PV reserved space.
> That means 2nd sector had PV, 1st sector had MBR-like boot sector.
> libblkid stopped at MBR and did not recognise PV.
This bug has been reported (by me even to libblkid maintainer) AND already
fixed already in past....
Yes - surprise software has bugs...
But to defend a bit libblkid maintainer side :) - this feature was not really
well documented from lvm2 side...
>> You can sync every second to minimize amount of dirty pages....
>> Lots of things.... all of them will in some other the other impact
>> system performance....
> He said no people would be hurt by such a measure except people who wanted to
> unpack and compile kernel pure in page buffers ;-).
So clearly you need to spend resources effectively and support both groups...
Sometimes is better to use large RAM (common laptops have 32G of RAM nowadays)
Sometimes is better to have more 'data' securely and permanently stored...
More information about the linux-lvm