Gluster Storage Platform NFS export

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

 



Hi David,

This can be done by creating a directory in nfs mount with respective 
owner/group and the directory can be used during mount to allow the user 
specific access.

For example, a volume MyData can be mounted to make directory with respective 
owner/group

# mount -t nfs -o soft,nolock server1:/nfs/MyData /mnt
# mkdir /mnt/demodata
# chown demouser.demogroup /mnt/demodata
# umount /nfs/MyData

Now, demouser can mount and use with the directory for normal access.

# mount -t nfs -o soft,nolock server1:/nfs/MyData/demodata /mnt

Let me know how this works.

Thanks,

Regards
Bala


All the volumes are owned by root.


David Christensen wrote:
> I am having an issue allowing non-root users the ability to write to an
> nfs mount that is being shared from a volume on my newly installed
> Gluster Storage Platform.
> 
> I have tried everything I know to allow read/write access however only
> root is able to write to the mount point.  How is this done using
> Gluster?  I know from standard NFS configurations both the client and
> the server need to have users that have the same UID/GID and thought
> that this might be the issue but I am not sure if it is.
> 
> Any help would be appreciated
> 
> Thanks,



[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