NFS-Ganesha Mounts as a Read-Only Filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

 

I have recently setup a Ceph cluster and on request using CephFS (MDS version: ceph version 13.2.5 (cbff874f9007f1869bfd3821b7e33b2a6ffd4988) mimic (stable)) as a backend for NFS-Ganesha. I have successfully tested a direct mount with CephFS to read/write files, however I’m perplexed as to NFS mounting as read-only despite setting the RW flags.

 

[root@mon02 mnt]# touch cephfs/test.txt

touch: cannot touch âcephfs/test.txtâ: Read-only file system

 

Configuration of Ganesha is below:

 

NFS_CORE_PARAM

{

              Enable_NLM = false;

              Enable_RQUOTA = false;

              Protocols = 4;

}

 

NFSv4

{

              Delegations = true;

              RecoveryBackend = rados_ng;

              Minor_Versions =  1,2;

}

 

CACHEINODE {

              Dir_Chunk = 0;

              NParts = 1;

              Cache_Size = 1;

}

 

EXPORT

{

    Export_ID = 15;

    Path = "/";

    Pseudo = "/cephfs/";

    Access_Type = RW;

    NFS_Protocols = "4";

    Squash = No_Root_Squash;

    Transport_Protocols = TCP;

    SecType = "none";

    Attr_Expiration_Time = 0;

    Delegations = R;

 

    FSAL {

        Name = CEPH;

                             User_Id = "ganesha";

                             Filesystem = "cephfs";

                             Secret_Access_Key = "<key here>";

    }

}

 

 

Provided mount parameters:

 

mount -t nfs -o nfsvers=4.1,proto=tcp,rw,noatime,sync 172.16.32.15:/ /mnt/cephfs

 

I have tried stripping much of the config and altering mount options, but so far completely unable to decipher the cause. Also seems I’m not the only one who has been caught on this:

 

https://www.spinics.net/lists/ceph-devel/msg41201.html

 

Thanks in advance,

 

Thomas

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux