Kernel configuration
From Gfswiki
Get the kernel sources (ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.7.tar.bz2) and unpack them in /usr/src, result will be a folder /usr/src/linux-2.6.7.
cd linux-2.6.7 # patches from the cluster src dir find /path/to/cluster -name '*.patch' | xargs cat | patch -t -p1
make sure these are in your /usr/src/linux-2.6.7/.config:
# # Multi-device support (RAID and LVM) # CONFIG_MD=y CONFIG_BLK_DEV_MD=m CONFIG_MD_LINEAR=m CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m CONFIG_MD_RAID5=m CONFIG_MD_RAID6=m CONFIG_MD_MULTIPATH=m CONFIG_BLK_DEV_DM=m CONFIG_DM_CRYPT=m CONFIG_BLK_DEV_GNBD=m # # Cluster Support # CONFIG_CLUSTER=m CONFIG_CLUSTER_DLM=m CONFIG_CLUSTER_DLM_PROCLOCKS=y # GFS-specific CONFIG_LOCK_HARNESS=m CONFIG_GFS_FS=m CONFIG_LOCK_NOLOCK=m CONFIG_LOCK_DLM=m CONFIG_LOCK_GULM=m
Build the kernel (on debian: make-kpkg --append-to-version=yourversion-gfs kernel_image).
If you use the NCURSES or X11 interface for configuring your kernel, you can find these options through Device Drivers
-> Multiple devices driver support and File Systems -> Network File Systems. Cluster support is in the
last menu on the first page, just above 'save settings'. If you use oldconf it should prompt you for the new settings.

