Unsolved

This post is more than 5 years old

1 Rookie

 • 

112 Posts

3096

August 5th, 2014 04:00

VNX-for-File Windows rights from Control Station

VNX5300 for File, I'm trying to execute the following instruction but I have the "Read-only file system" error message. Root user session.

[root@C-VNX1-CS Shared]# chmod 700 /nas/rootfs/slot_2/root_vdm_2/C-UOW-CIFS/Shared/mario/

chmod: changing permissions of `/nas/rootfs/slot_2/root_vdm_2/C-UOW-CIFS/Shared/mario/': Read-only file system

The folder is presented as a cifs share and I'm trying to test rights management directly from the CS.

The file system itself is mounted as RW.

[root@C-VNX1-CS Shared]# ls -alt /nas

....

lrwxrwxrwx  1 root     root        14 May 15 05:41 rootfs -> /nbsnas/rootfs

....

[root@C-VNX1-CS Shared]# mount | grep nbs

/dev/nde1 on /nbsnas type ext3 (rw,sync)

Any idea why?

1 Rookie

 • 

112 Posts

August 5th, 2014 04:00

Same behavior here:

[root@C-VNX1-CS Shared]# setfacl -m u:46373:r mario

setfacl: mario: Read-only file system

[root@C-VNX1-CS mario]# touch test1.txt

touch: cannot touch `test1.txt': Read-only file system

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

August 5th, 2014 05:00

you need to copy them from the cifstools cd, i can't seem to find it on the support website so i am attaching the latest copy i have.

you will need to copy emcgetsd and emcsetsd from unixacltools\linux directory to the control station (use scp). Make them executable (chmod a+x emcsetsd), at that point you are ready to test.

1 Attachment

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

August 5th, 2014 05:00

6 Operator

 • 

8.6K Posts

August 5th, 2014 05:00

Please do NOT use the control station and esp. the internal mounts for data admin

Use a supported external NFS or CIFS client for that.

1 Rookie

 • 

112 Posts

August 5th, 2014 05:00

Yes I am.

Where can I find emcsetsd executable? I canoot see it in the global path, so I need to use a absolute path?

[root@C-VNX1-CS ~]# e

e2fsck            eu-elfcmp

e2image           eu-elflint

e2label           eu-findtextrel

echo              eu-nm

ed                eu-ranlib

edquota           eu-readelf

egrep             eu-size

eject             eu-strings

elif              eu-strip

else              eval

enable            ex

enc2xs            exec

encode_keychange  execcap

env               execstack

envsubst          exit

eqn               expand

eqn2graph         expect

esac              export

ether-wake        exportfs

ethtool           expr

eu-addr2line      extlinux

Moreover, where can I find some man page or documentation on this instruction?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

August 5th, 2014 05:00

are you trying to modify windows ACLs from Control Station ? If yes, you should be using  emcsetsd, for example:

./emcsetsd -g  "bob,0x1f01ff,0x13"  /nas/quota/slot_2/root_vdm_1/fs01/dir3/

6 Operator

 • 

8.6K Posts

August 5th, 2014 06:00

emcgetsd / emcsetsd are external utils (NOT to be installed in the control station)

you can download them from support.emc.com – just search for emcgetsd – they are part of the CIFS tools package

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

August 5th, 2014 06:00

yes,  maybe smbmount would work as well ..i have not tried.

6 Operator

 • 

8.6K Posts

August 5th, 2014 06:00

Apart from using a Windows client - easiest way is to try if you can use a SMB mount on Linux and change if from there.

with a NFSv4 mount  (requires config) you could use nfsv4_setfacl

emcgetsd/emcsetsd are for customers that cant to NFSv4 and need to do this via NFSv2/v3

1 Rookie

 • 

112 Posts

August 5th, 2014 06:00

Exporting a file system? Using what? NFS?

6 Operator

 • 

8.6K Posts

August 5th, 2014 06:00

dynamox wrote:

you will need to export entire file system to a Linux client, very convenient right ?

be that as it may - the control Station isnt there for data management

you should know that :-)

1 Rookie

 • 

112 Posts

August 5th, 2014 06:00

Hi Rainer, can I ask you the reason of your suggestion? I'm in a situation in which I MUST use a Linux box to set Window ACLs. Any better idea than using the CS direclty?

6 Operator

 • 

8.6K Posts

August 5th, 2014 06:00

matteo_marchetti wrote:

Where can I find some documentation on emcgetsd / emcsetsd?

When you say "NOT to be installed on the CS", where do you mean they to be installed?

If I use them from a different Linux box, how can I "point" at the CIFS shares presented by the Control Station?

emcgetsd / emcsetsd are documented in "managing a multi-protocol Environment on VNX" Manual.

Also see the Parameters guide - there is a param to be set if you want to use them.

To be used on any supported Client - not on the control station

Of course you need to NFS mount the fs

1 Rookie

 • 

112 Posts

August 5th, 2014 06:00

Where can I find some documentation on emcgetsd / emcsetsd?

When you say "NOT to be installed on the CS", where do you mean they to be installed?

If I use them from a different Linux box, how can I "point" at the CIFS shares presented by the Control Station?

6 Operator

 • 

8.6K Posts

August 5th, 2014 06:00

matteo_marchetti wrote:

Same behavior here:

[root@C-VNX1-CS Shared]# setfacl -m u:46373:r mario

setfacl: mario: Read-only file system

[root@C-VNX1-CS mario]# touch test1.txt

touch: cannot touch `test1.txt': Read-only file system

setfacl needs an external client and also a NFSv4 mount

0 events found

No Events found!

Top