Re: NFS-Ganesha Cluster - User rw Mount

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

 



You see nobody most probably because NFSv4 uid mapping is enabled.

Either use the same uids everywhere (both Ganesha and clients) or disable NFS uid mapping from clients and NFS Ganesha server .

To check if it's nfs id mapping:

Client:
cat /sys/module/nfs/parameters/nfs4_disable_idmapping

Server:
cat /sys/module/nfsd/parameters/nfs4_disable_idmapping

Best Regards,
Strahil Nikolov


 Fri, Nov 5, 2021 at 21:43, Taste-Of-IT
<kontakt@xxxxxxxxxxxxxx> wrote:
Hi,

yes all files belong to nobody. I access via nfs4. So i must add an uuid to the ganesha.conf file under export? Do you have an example how it is correct and how to mount from client side?

thx
Taste

Am 05.11.2021 17:33:03, schrieb Ivan Rossi:
> Notice if all the files appear to belong to "nobody" when you access from a
> remote user.
> are you mounting using nfs4 or nfs3? with nfs4 you need to have the same
> uids and gids on the server too.
> it is a nfs4 thing.
>
> Il giorno ven 5 nov 2021 alle ore 16:25 Taste-Of-IT <kontakt@xxxxxxxxxxxxxx>
> ha scritto:
>
> > Hi,
> > i have installed latest GlusterFS with NFS Ganesha Cluster. Write access
> > via root is no problem, but if i want to mount it in e.g. linux mint as
> > user, i can only read. The ganesha.conf has Access_type=rw and
> > squas=no_roto_squash,disable_acl=true and sectyp="sys".
> >
> > Any idea?
> > thanks
> > Taste
> > ________
> >
> >
> >
> > Community Meeting Calendar:
> >
> > Schedule -
> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> > Bridge: https://meet.google.com/cpu-eiue-hvk
> > Gluster-users mailing list
> > Gluster-users@xxxxxxxxxxx
> > https://lists.gluster.org/mailman/listinfo/gluster-users
> >
>
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux