Re: [lvm-devel] Re: lvm in 2.5.1

Andreas Dilger
2001-12-28T20:20:00Z

On Dec 28, 2001 17:45 +0100, Jan Niehusmann wrote:
> On Thu, Dec 27, 2001 at 09:24:51PM +0100, andersg@0x63.nu wrote:
> > hmm, enlarging the dummy[200] in the userspace version of lv_t seems to be a
> > nice quickndirty solution.
>
> Please do not change the kernel / userspace interface easily. Past
> experience has shown that this leads to significant update problems,
> because kernel and userspace tools need to be updated at the same time.

But since this is a 2.5 kernel, now is the time to change it, but you must
_also_ change the IOP version in lvm.h to 12 (not 11!) if you change the
struct sizes.

Sadly, I think the work that was done in the past to support user tools
for multiple IOP versions was dropped from (or never added to) the LVM
build process, so it will not just be a matter of "install the latest
user tools and all will be well", sigh. We had this problem with the
change from IOP6 to IOP10, and had fixed it all up, but we are doomed
to repeat the same problem over again.

Cheers, Andreas
--
Andreas Dilger