[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Migrating to an LVM system (boot/root) disk



Andreas Dilger wrote:
> 
[]
> Yes, you are correct that you know in advance which IOP version you need.
> However, it is much easier for lvmcreate_initrd to just copy all of the
> programs (including the wrapper) to the initrd, instead of trying to find
> which ones are needed and which are not needed.  In the end, the wrapper
> is one disk block + a few directory entries (no more space needed).

The wrapper is small enouth, but not all the tools.  If using only one
version of lvmtools in initrd, then wrapper is just unnecessary complicates
things (may be not an issue as you demonstrated).  If not, then size
is in trouble.  BTW, I see no reasons on not using small wrapper's piece
directly in mkinitrd, the only thing it should support is to determine
lvm version from on-disk kernel file (is it possible?), not from a
running kernel (or else all the tool versions should be in initrd).

> The problem is that "sed" is used in the wrapper script.  AFAIK, I do not
> have "sed" in my wrapper script, so I don't know where it came from.  Can
> you tell me where the wrapper script comes from that you are using and/or
> post a copy to this list so it can be fixed?

I leave that to Steve Wray -- I personally not use any wrappers at all,
and ever never saw mkinitrd script(s)... ;)

> Cheers, Andreas

Regards,
 Michael.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]