LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-01-2007, 02:10 PM   #1
spAlex
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
nfs_acl module installation


Hi all.

What I need to add the nfs_acl module in a 2.6.9-11.ELsmp kernel?
Is necessary to rebuild the kernel or I can add this as a module?

I need this because acl support over nfs mounted directory is necessary, and in this kernel version doesn't have support for this.

In other nfs linux clients (running 2.6.9-34.ELsmp) when I do a lsmod command, in the results appears nfs_acl module used by nfs and acls can be used right.


Thanks in advance.
 
Old 07-01-2007, 03:17 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you can't modprobe the module, it probably wasn't enabled in the kernel.

Look at
locate nfs_acl
/lib/modules/2.6.18.8-0.3-default/kernel/fs/nfs_common/nfs_acl.ko
to be sure.

You can check the config file on the running kernel as well:
zcat /proc/config.gz | grep -i NFS_ACL
CONFIG_NFS_ACL_SUPPORT=m

If you compile a newer kernel, use "make oldconfig" to start off where you are now. That will use your current settings on the new kernel and prompt you for new feature settings. Then you just need to tweak it in "make xconfig".

Last edited by jschiwal; 07-01-2007 at 07:07 PM.
 
Old 07-02-2007, 02:13 AM   #3
spAlex
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Hello jschiwal.

Effectively I don't have enabled this in this kernel version.
The question is that I can enable this functionality adding a module or packet, or is necessary compile a new kernel vesion.
 
Old 07-02-2007, 05:54 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you have the CONFIG_NFS_ACL_SUPPORT feature in your present kernel, you can run "make oldconfig" and then "make xconfig" and select "m" or "y".

Look at "zcat /proc/config.gz" | grep CONFIG_NFS_ACL_SUPPORT

If it says:
# CONFIG_NFS_ACL_SUPPORT is not set
Then you can recompile the current kernel.
Here are the settings on my stock kernel:
Code:
  3032  # Network File Systems
  3033  #
  3034  CONFIG_NFS_FS=m
  3035  CONFIG_NFS_V3=y
  3036  CONFIG_NFS_V3_ACL=y
  3037  CONFIG_NFS_V4=y
  3038  CONFIG_NFS_DIRECTIO=y
  3039  CONFIG_NFSD=m
  3040  CONFIG_NFSD_V2_ACL=y
  3041  CONFIG_NFSD_V3=y
  3042  CONFIG_NFSD_V3_ACL=y
  3043  CONFIG_NFSD_V4=y
  3044  CONFIG_NFSD_TCP=y
  3045  CONFIG_LOCKD=m
  3046  CONFIG_LOCKD_V4=y
  3047  CONFIG_EXPORTFS=m
  3048  CONFIG_NFS_ACL_SUPPORT=m
  3049  CONFIG_NFS_COMMON=y
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
module installation error ghabsh Linux - Server 1 03-15-2007 07:25 PM
perl module installation init-5 Linux - Software 26 10-25-2004 04:14 AM
perl module installation black_man Slackware 2 10-17-2004 01:57 PM
Module Installation patpawlowski Linux - Hardware 0 03-19-2003 11:21 PM
Module Installation juagut Linux - General 16 08-26-2001 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration