Bug#773731: cache_check should be on root

Timo Korvola Timo.Korvola at iki.fi
Sat Mar 21 15:11:32 UTC 2015


On 21.03.2015 13:28, Bastian Blank wrote:
> The binaries from thin-provisioning-tools depends on libstdc++, so they
> must reside in /usr.

Ditto for cache_check.  This seems to be getting complicated.

In order to support cached root, cache_check and hence libstdc++ need to 
be on initrd.  The boot scripts could be modified to activate all volume 
groups before mounting root.  Then it should not matter if cache_check 
is not on the actual root.

Another possibility would be to do fsck and mounting in three phases 
instead of two: first fsck and mount root, then /usr and other 
non-cached volumes and finally cached volumes.  Root and /usr could not 
be cached then.

Or maybe just link statically to libstdc++.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>



More information about the pkg-lvm-maintainers mailing list