[linux-lvm] Migrate from LVM1 to LVM2...
galia at st-peter.stw.uni-erlangen.de
Fri Sep 19 09:16:01 UTC 2003
Quoting Rickard Olsson <richie at webhackande.se>:
> Eddahbi Karim wrote:
> > I'm working with a Gentoo system, vanilla source 2.4.21 + preempt.
> > gcc 3.2
> I just compiled the device-mapper into the kernel (same place in
> menuconfig as RAID, EVMS and LVM - I used the 2.4.22-ac1 kernel), did an
> emerge unmerge lvm-user
> emerge lvm2
> Note: You will need to either set the ACCEPT_KEYWORDS="~x86" flag in
> make.conf or on the commandline just prior to emerging lvm2 since LVM2
> is masked as experimental in Gentoo.
> I had metadata problems so I didn't get LVM2 running perfectly, but the
> commands are basically the same as in LVM1 so you should not need to
> change any startup-files.
so your scripts are already for dm-mod ?-)
( happy Gentoo users :-) )
i think most distros will need sed '/lvm-mod/s/lvm-mod/dm-mod/'
More information about the linux-lvm