- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS - Filesystem sharing problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 08:52 PM
04-08-2008 08:52 PM
NFS - Filesystem sharing problem
I shared /emsrad file system in my NFS server with the following steps.
1. edited the /etc/exports file and added the following entry.
/emsrad rw
2. exportfs -a
3. check the following parameters in /etc/rc.config.d/nfsconf file
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIUD=16
PCNFS_SERVER=0
START_MOUNTD=1
4. stoped and started the nfs.core and nfs.server services.
showmount command is not showing shared filesystem.
Can anybody help me out on this issue.
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 08:58 PM
04-08-2008 08:58 PM
Re: NFS - Filesystem sharing problem
"showmount" without any option will list all clients that have remotely mounted a filesystem from host.
In order to know the export filesystem,
# showmount -e or
# exportfs
And also in /etc/exports should be,
Ex:/emsrad -rw
Best Regards,
Ramesh S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 09:49 PM
04-08-2008 09:49 PM
Re: NFS - Filesystem sharing problem
Output of showmount -e is
#showmount -e
export list for tcsdevmd:
/emsrad rw
That means filesystem is exported.
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 10:02 PM
04-08-2008 10:02 PM
Re: NFS - Filesystem sharing problem
When i am trying to mount from client. It is giving permissions denied.
root@tcsdevmd:/> mount tcsdevems://emsrad /nfsclient
Permission denied.
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 10:42 PM
04-08-2008 10:42 PM
Re: NFS - Filesystem sharing problem
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 10:49 PM
04-08-2008 10:49 PM
Re: NFS - Filesystem sharing problem
root@tcsdevmd:/> mount tcsdevems://emsrad /nfsclient
Permission denied.
I don't think it is this obvious but you don't need that "//". Just:
# mount tcsdevems:/emsrad /nfsclient
I assume /nfsclient exists and is local?
If it isn't the "//", what does /etc/xtab show on the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 11:01 PM
04-08-2008 11:01 PM
Re: NFS - Filesystem sharing problem
Sorry there is a correction.
#mount tcsdevems:/emsrad /nfsclient
permission denied.
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 11:05 PM
04-08-2008 11:05 PM
Re: NFS - Filesystem sharing problem
And the answers to the other two questions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 01:04 AM
04-09-2008 01:04 AM
Re: NFS - Filesystem sharing problem
/nfsclient is mount point created on NFS client system.
contents of the /etc/xtab is
# cat /etc/xtab
/emsrad -access=rw
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 01:06 AM
04-09-2008 01:06 AM
Re: NFS - Filesystem sharing problem
nfs client is activated in your client server
if not configure nfs client
if yes
try
1. ping your client from server and client vice versa
ping your client with host name
provide me the out of nslookup of client and server
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 02:21 AM
04-09-2008 02:21 AM
Re: NFS - Filesystem sharing problem
>contents of the /etc/xtab is
/emsrad -access=rw
These two look fine.
Can you do a dummy mount of /emsrad back on the server somewhere else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 02:29 AM
04-09-2008 02:29 AM
Re: NFS - Filesystem sharing problem
you need to add a minus-sign before the option specification in /etc/exports:
/emsrad -rw=
If you don't have access restrictions, drop the option, use just
/emsrad
Your syntax will give access to a host named 'rw', IMHO.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 02:54 AM
04-09-2008 02:54 AM
Re: NFS - Filesystem sharing problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 06:20 PM
04-09-2008 06:20 PM
Re: NFS - Filesystem sharing problem
> # cat /etc/xtab
> /emsrad -access=rw
This is your problem. The syntax you're using means "only allow the NFS client named 'rw' to access the filesystem". What I think you were trying to do is allow any NFS clients access to the filesystem. In that case you would not need the "rw" after the directory in your /etc/exports file. It would just be:
# cat /etc/exports
/emsrad
If you make this change and then un-export and re-export the filesystem it should allow any client to mount the filesystem.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 08:09 PM
04-09-2008 08:09 PM
Re: NFS - Filesystem sharing problem
Thanks for reply.
I /etc/exports file and modified with /emsrad. After this i am able to mount in client but i am not able to create files.
error as follows:
#touch file1
touch: file1 cannot create
and if i am trying create from vi editor it is giving "Read-only filesystem"
Thanks
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 08:55 PM
04-09-2008 08:55 PM
Re: NFS - Filesystem sharing problem
Your file system does not have proper permission reexport it as follows
in /etc/export file
/file system rw=hostname or (all)
Regards
safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2008 03:06 AM
04-10-2008 03:06 AM
Re: NFS - Filesystem sharing problem
using a root account across NFS-mountpoints requires additional settings.
Best NOT use root but an ordinary user with proper access rights.
Look at
ls -la /nfsclient
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2008 03:32 AM
04-10-2008 03:32 AM
Re: NFS - Filesystem sharing problem
I found the problem.
I am trying with root account. by default root is diabled. For getting root access we need to add the following entry in exports file.
/emsrad -root=tcsdevmd
Thanks to all for providing help