Project

General

Profile

Bug #40425 ยป ganesha.conf

The attachemnt is the NFS-Ganesha config file - Kunyang Fan, 06/19/2019 09:08 AM

 
NFS_K2RB5
{
PrincipalName ="nfs" ;
KeytabPath = /etc/krb5.keytab ;
Active_krb5 = false ;
DomainName = example.com ;
}


EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 22;

# Exported path (mandatory)
Path = /;

# Pseudo Path (required for NFS v4)
Pseudo = /rgw;

Protocols = 4;


# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RW;
Squash = no_root_squash ;
#SecType = krb5;

# Exporting FSAL
FSAL {
Name = RGW;
User_Id="kyfan";
Access_Key_Id = "kyfan";
Secret_Access_Key="kyfan";
}
}

EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 23;

# Exported path (mandatory)
Path = /mount;

# Pseudo Path (required for NFS v4)
Pseudo = /rgw2;

Protocols = 4;


# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RW;

Squash = no_root_squash ;

#SecType = krb5;

# Exporting FSAL
FSAL {
Name = RGW;
User_Id="kyfan";
Access_Key_Id = "kyfan";
Secret_Access_Key="kyfan";
}
}

RGW {
ceph_conf = "/etc/ceph/ceph.conf";
name = "client.radosgw.gateway";
cluster = "ceph";
init_args = "-d --debug-rgw=16 --keyring=/etc/ceph/ceph.client.radosgw.keyring";
}


    (1-1/1)