Project

General

Profile

ganesha.conf

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

Download (1.58 KB)

 
1
NFS_K2RB5
2
{
3
   PrincipalName ="nfs" ;
4
   KeytabPath = /etc/krb5.keytab ;
5
   Active_krb5 = false ;
6
   DomainName = example.com ;
7
}
8

    
9

    
10
EXPORT
11
{
12
        # Export Id (mandatory, each EXPORT must have a unique Export_Id)
13
        Export_Id = 22;
14

    
15
        # Exported path (mandatory)
16
        Path = /;
17

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

    
21
        Protocols = 4;
22

    
23

    
24
        # Required for access (default is None)
25
        # Could use CLIENT blocks instead
26
        Access_Type = RW;
27
        
28
        Squash = no_root_squash ;
29
 
30
        #SecType = krb5;
31

    
32
        # Exporting FSAL
33
        FSAL {
34
                Name = RGW;
35
                User_Id="kyfan";
36
                Access_Key_Id = "kyfan";
37
                Secret_Access_Key="kyfan";
38
        }
39
}
40

    
41
EXPORT
42
{
43
        # Export Id (mandatory, each EXPORT must have a unique Export_Id)
44
        Export_Id = 23;
45

    
46
        # Exported path (mandatory)
47
        Path = /mount;
48

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

    
52
        Protocols = 4;
53

    
54

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

    
59
        Squash = no_root_squash ;
60

    
61
        #SecType = krb5;
62

    
63
        # Exporting FSAL
64
        FSAL {
65
                Name = RGW;
66
                User_Id="kyfan";
67
                Access_Key_Id = "kyfan";
68
                Secret_Access_Key="kyfan";
69
        }
70
}
71

    
72
RGW {
73
        ceph_conf = "/etc/ceph/ceph.conf";
74
        name = "client.radosgw.gateway";
75
        cluster = "ceph";
76
        init_args = "-d --debug-rgw=16 --keyring=/etc/ceph/ceph.client.radosgw.keyring";
77
}
78

    
79