Adsense 1

Tuesday, March 11, 2008

GFS module in CentOS RPM

How to check if the kernel you have in the server has gfs modules?

When i was installing gfs support in one of my servers i wanted to check whether the kernel i used was having gfs modules. Without that i cannot make gfs work. It was simple to find out.

After installing the kernel and gfs rpms, just list the files under the kernel modules directory:


# cd /lib/modules/2.6.9-55.0.2.ELsmp
# ls kernel/fs/
autofs4 cramfs ext3 freevxfs gfs_locking hfsplus jffs2 msdos nfs_common nls udf
cifs exportfs fat gfs hfs jbd lockd nfs nfsd smbfs vfat


You can even list the files in gfs and gfs_locking directories

# ls kernel/fs/gfs
gfs.ko

# ls kernel/fs/gfs_locking/
lock_dlm lock_gulm lock_harness lock_nolock


It will be tricky if you want other modules like xfs. You need to find a kernel RPM that has both xfs & gfs module rpms or if you have time to play you can compile them all yourselves.

No comments:

Post a Comment