Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ha cluster config #1129

Open
neroita opened this issue May 8, 2024 · 1 comment
Open

Ha cluster config #1129

neroita opened this issue May 8, 2024 · 1 comment
Labels

Comments

@neroita
Copy link

neroita commented May 8, 2024

Hi all ,
I'm using nfs-ganesha to export a ocfs filesystem on a two node cluster.
This is the config:

  • corosync/pacemaker move cluster ip from one node to other.
  • filesystem to export is on shared ocfs2 storage.
  • nfs-ganesha run at startup when fs is already mounted on both nodes.
  • this is ganesha.conf:
NFS_CORE_PARAM {
        Enable_NLM = false;
        Enable_RQUOTA = false;
        Protocols = 4;
        mount_path_pseudo = true;
}
NFS_KRB5 {
        Active_krb5 = false;
}
NFSV4 { 
        Only_Numeric_Owners = true; 
}
CACHEINODE {
    Dir_Chunk = 0;
    NParts = 1;
    Cache_Size = 1;
}
MDCACHE {
        Dir_Chunk = 0;
}
EXPORT {
        Export_Id = 2;
        Path = "/u";
        Pseudo = "/u";
        Protocols = 4;
        Disable_ACL = TRUE;
        Transports = "TCP";
        Access_Type = RW;
        Sectype = "sys";
        Attr_Expiration_Time = 0;
        Squash = no_root_squash;
        FSAL {
                Name = VFS;
        }
        CLIENT {
                Clients = 10.0.0.0/16;
        }
}

Everything seem to work but when I move the service from one node to another:

  1. I get that message on client's dmesg:
[683224.304437] NFS: nfs: lost 2 locks
[683339.273146] NFS: nfs: lost 2 locks
  1. Some service on my swarm cluster that run on nfs get an IOWAIT error.

Is there something on my config that I need to change or optimize ?

thank's,
neroita.

@ffilz ffilz added the question label May 9, 2024
@xiaods
Copy link

xiaods commented May 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants