Network and Storage Protocols
Network and Storage Protocols
Hi,
Banging my head against a wall here;
DOT 8.1.1
vol0 exported and my host added to exports file. qtree for volt set to unix.
#Auto-generated by setup Fri Aug 16 13:26:59 GMT 2013
/vol/vol0 -sec=sys,ro,root=192.168.178.34:192.168.178.201,nosuid
/vol/vol0/home -sec=sys,rw,root=192.168.178.201,nosuid
Unable to edit files in etc even when mounted.
ls -l
drwxr-xr-x 30 20041 _keytabusers 4096 20 Nov 18:06 etc
drwxrwxrwt 3 root wheel 4096 16 Aug 14:26 home
drwxr-xr-x 3 root wheel 4096 16 Aug 14:27 sim
It should be as simple as add device IP to exports. Ensure volt has been set with device IP and given root access.
I cannot get any access, am I missing something.
Colin
What is security style of vol0? “qtree status” shows it.
vol0 is unix by default and that is what it is.
qtree is unix
mount command was
mount 192.168.178.200:/vol/vol0 mnt
I can mount it all ok. browse and list. But I cannot write. even though the hosts IP is set as root in exports.
Please follow below Rules while exporting.
Rules for exporting Resources
• Specify complete pathname, must begin with /vol prefix
• Cannot export /vol, which is not a pathname to a file, directory or volume
◦ Export each volume separately
• When export a resource to multiple targets, separate the target names with a
colon (:)
• Resolve hostnames using DNS, NIS or /etc/hosts per order in /etc/
nssswitch.conf
just do the showmount -e <filer Name>; you will see the permissions you have for that linux box.
thank you,
AK G
Results of show mount -e
Exports list on 192.168.178.200:
/vol/vol0/home Everyone
/vol/vol0 Everyone
Run the following commands:
rdfile /etc/exports
just edit your /etc/exports file to
/vol/vol0 -sec=sys,ro,root=192.168.178.34:192.168.178.201,rw=192.168.178.34:192.168.178.201:192.168.178.200,nosuid
/vol/vol0/home -sec=sys,rw,root=192.168.178.201,nosuid
ctrl -c
exportfs -a
thank you
AK G
Your export line shows ro - read-only. Change it to rw or rw=<ip addresses>.
Bill
#Auto-generated by setup Fri Aug 16 13:26:59 GMT 2013
/vol/vol0 -sec=sys,ro,root=192.168.178.34:192.168.178.201,nosuid
/vol/vol0/home -sec=sys,rw,root=192.168.178.201,nosuid
your vol0 is exported as ro (read-only) change to rw=<host_name_or_ip-address>. you can check with the persmission with the command exportfs -c ip_address path
Ye