Gfs on ppc64

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Tips & Tricks series.
Terminals / Shells Network X Window System Portage System Filesystems Kernel Other

[edit] GFS on PPC64


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


As of writing this gfs 2.02.00 is not available on PPC64 in gentoo. This is my attempt at getting it installed.

Get vanilla sources 2.6.24.3 and patch it with the file ftp://sources.redhat.com/pub/cluster/releases/lockproto-exports.patch with "patch -p1 < lockproto-exports.patch" (i.e. if the patch file is in the root of the kernel sources). Make sure you enable gfs2 and gfs2 dlm in the kernel. Compile the kernel and reboot.

emerge -av libxml libxml2 slang

Download gfs2 ftp://sources.redhat.com/pub/cluster/releases/cluster-2.02.00.tar.gz

Ddownload openais ftp://ftp%40openais%2Eorg:downloads@openais.org/downloads/openais-0.80.3/openais-0.80.3.tar.gz

Go into the openais dir and run "make && make install DESTDIR=/" . Go into the gfs2 sources dir and run "ldconfig", "./configure --kernel_src=/usr/src/linux-whatever", and then "make install".

Personal tools