[Linux-cluster] fedora core 5 removed lvm2-cluster

max vakulenko mv at umanaged.com
Fri Dec 1 13:27:52 UTC 2006


Greg Swift:
> But I cannot find what replaced it?
> 
> I found someone had asked the same question elsewhere (fedora-list) and 
> no one replied. I skimmed thought the new/removed list from release 
> notes... saw nothing...
> 
> any recommendations?

In fact, lvm2-cluster now is compiled from lvm2. Also change locking 
type to `3' (just get rpm's lvm.conf).

Try FC7's (development) lvm2 srpm and recompile it with dependencies 
like selinux, devmapper, ... from FC7's src.rpm and this should work in 
FC4, FC5

I've recently done it myself, heres step-by-step for i686 FC4:

# wget 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/ 
SRPMS/device-mapper-1.02.12-3.fc7.src.rpm 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/ 
SRPMS/lvm2-2.02.15-3.fc7.src.rpm

# rpmbuild --rebuild --target=i686 device-mapper-1.02.12-3.fc7.src.rpm

# rpm -Uvh /usr/src/redhat/RPMS/i686/device-mapper-1.02.12-3.i686.rpm


# wget 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/ 
SRPMS/libsepol-1.15.2-1.src.rpm 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/ 
SRPMS/libselinux-1.33.1-1.src.rpm 
http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/mcst 
rans-0.1.8-3.src.rpm

# rpmbuild --rebuild --target=i686 libsepol-1.15.2-1.src.rpm

# rpm -Fvh /usr/src/redhat/RPMS/i686/libsepol-devel-1.15.2-1.i686.rpm 
/usr/src/redhat/RPMS/i686/libsepol-1.15.2-1.i686.rpm

# yum -y install swig libcap-devel

# rpmbuild --rebuild --target=i686 libselinux-1.33.1-1.src.rpm

# rpm -Fvh /usr/src/redhat/RPMS/i686/libselinux-1.33.1-1.i686.rpm 
/usr/src/redhat/RPMS/i686/libselinux-devel-1.33.1-1.i686.rpm --nodeps

# rpmbuild --rebuild --target=i686 mcstrans-0.1.8-3.src.rpm

# rpm -ivh /usr/src/redhat/RPMS/i686/mcstrans-0.1.8-3.i686.rpm



# rpmbuild --rebuild --target=i686 lvm2-2.02.15-3.fc7.src.rpm
# rpm -Fvh /usr/src/redhat/RPMS/i686/lvm2-cluster-2.02.15-3.i686.rpm 
/usr/src/redhat/RPMS/i686/lvm2-2.02.15-3.i686.rpm




More information about the Linux-cluster mailing list