Unsolved
This post is more than 5 years old
1 Rookie
•
112 Posts
0
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?
0 events found


matteo_marchett
1 Rookie
•
112 Posts
0
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
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
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
CifsTools_7.1.71.1.zip
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 5th, 2014 05:00
https://download.emc.com/downloads/DL32449_CIFS-Tools.zip.zip
Rainer_EMC
6 Operator
•
8.6K Posts
0
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.
matteo_marchett
1 Rookie
•
112 Posts
0
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?
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
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/
Rainer_EMC
6 Operator
•
8.6K Posts
0
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
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 5th, 2014 06:00
yes, maybe smbmount would work as well ..i have not tried.
Rainer_EMC
6 Operator
•
8.6K Posts
0
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
matteo_marchett
1 Rookie
•
112 Posts
0
August 5th, 2014 06:00
Exporting a file system? Using what? NFS?
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 5th, 2014 06:00
be that as it may - the control Station isnt there for data management
you should know that :-)
matteo_marchett
1 Rookie
•
112 Posts
0
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?
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 5th, 2014 06:00
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
matteo_marchett
1 Rookie
•
112 Posts
0
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?
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 5th, 2014 06:00
setfacl needs an external client and also a NFSv4 mount