Bug#562234: Cache file location in violation of FHS

Goswin von Brederlow goswin-v-b at web.de
Thu Dec 9 07:46:50 UTC 2010


Alasdair G Kergon <agk at redhat.com> writes:

> /etc/lvm has several functions.
>
> Read-only config - leave it where it is.

Obviously. I was only meaning the writable parts.

> cache_dir - in general can be cleared on each boot so a tmpfs location
> would be fine or /var/cache or something

Maybe /lib/init/rw/ then for it to work early during boot. Works without
errors when pointed to /var/backups/lvm/ but it might have speed
penalties. Not sure.

> Metadata backups 
> ideally would be stored persistently outside lvm but otherwise 
> /var/backups sounds OK
>
> (The locations of the *writeable* parts are configurable from
> inside the *readable* part.)
>
> On Wed, Dec 08, 2010 at 04:31:29PM +0100, Goswin von Brederlow wrote:
>> Since grub2 can now too boot directly from lvm 
>
> *Not* in general.  It's unsafe for general use but works under certain
> undocumented configurations.
>
> Alasdair

D-I lets you install it that way without warnings and doesn't need
expert mode to allow it. The unsafeness seems to be a secret.

In what case does it break? When you are in the middle of a pvmove? When
the LV is split between devices?

MfG
        Goswin





More information about the pkg-lvm-maintainers mailing list