Unsolved

1 Rookie

 • 

3 Posts

1423

December 30th, 2021 07:00

How to export a nfs share with all_squash option on Unity

Hi,

I would  like to export a nfs share with all_squash option . Version Unity used: 5.1.1

Regards

4 Operator

 • 

2.9K Posts

December 30th, 2021 13:00

Hello,

 

I would recommend reviewing this document for questions regarding NFS shares and Unity.

 

https://dell.to/3HpHfz2

3 Apprentice

 • 

318 Posts

December 31st, 2021 00:00

re above

 

export options are

none

read

read/write

read-only, allow root

read/write, allow root

 

where it says allow root = no ( root ) squash

where is does not say allow root = ( root ) squash which is I think the all_squash  option you are after. I would suggest set it up and test to it works as you expect.

1 Rookie

 • 

3 Posts

December 31st, 2021 02:00

Hi,

Thanks for the documentation but Y didn't  find the solution to my problem while it's easy to configurate on a nfs linux server or a netapp equipement

Regards

1 Rookie

 • 

3 Posts

December 31st, 2021 02:00

Hi,

Y tried but not.

'allow root =no'  means root squash: only the client user root is  seen as nobody on the nfs share, not all the user (what I am looking for)

Regards,

 

1 Rookie

 • 

2 Posts

July 25th, 2023 07:00

Hello

I am facing the same limitation.

How can we set export option "all_squash" ? I can't find this parameter on dell unity.

 

Unity version 5.2.2

 

Best regards

3 Apprentice

 • 

318 Posts

July 26th, 2023 10:00

by default its all squash, you have explicitly export to hosts with no squash. This is I suspect the desired default, i.e. export with least privilege's 

1 Rookie

 • 

2 Posts

July 27th, 2023 02:00

Hello, thank you for your answer. Unfortunatly, I don't really understand your solution.

 

I tried the following parameters:

read/write : root user write with anon uid/gid, others users write with their uid/gid

read/write allow root: root user write with 0:0, others users write with their uid/gid

 

all_squash option usually works like that :

root user write with anon uid/gid, others users write with anon uid/gid too

source: man page (https://linux.die.net/man/5/exports)

 

How can we set export option "all_squash" ? I can't find this parameter on dell unity.

 

Best regards

No Events found!

Top