- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS, why I can not list the contents?!
Operating System - HP-UX
1752679
Members
5791
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-12-2001 11:43 AM
тАО07-12-2001 11:43 AM
NFS, why I can not list the contents?!
I met a very strange problem.
Background:
I set up a NFS through SAM a couple of monthes ago, the file system located in NT server, which name is mis_server, the directory on NT is /E/NFS, here is the bdf said:
mis_server:/E/NFS 26627708 3195264 23432444 12% /usr/NFS
The original problem is:
When I try to change some files permission, it failed.
For example:
chmod 777 filename
chmod: can't change filename: Not owner
I knew the reason why I can not do it is that the UNIX box only is a client in this case, so I did the following step:
1. umount /usr/NFS
2. exportfs -va
3. in /etc/rc.config.d/nfsconf
changed "PCNFS_SERVER=0" to "1"
4. /sbin/init.d/nfs.client stop
5. /sbin/init.d/nfs.server stop
6. /sbin/init.d/nfs.client start
7. /sbin/init.d/nfs.server start
After that, I can see /usr/NFS through bdf or mount -v, however, one more question happened.
I can not list the contents of /usr/NFS
cd /usr/NFS
ll
It says "Total 0"
However, if I go to the sub-directory, it is OK although I still can not change the permission. For example:
cd /usr/NFS/flash
ll
It says:
total 110
----rwxrwx 1 nobody 4294967295 81 Jul 12 14:24 cgflash.txt
----rwxrwx 1 nobody 4294967295 90015 Jul 12 14:24 fsdet.txt
...
I really confused, anybody has clue?
Background:
I set up a NFS through SAM a couple of monthes ago, the file system located in NT server, which name is mis_server, the directory on NT is /E/NFS, here is the bdf said:
mis_server:/E/NFS 26627708 3195264 23432444 12% /usr/NFS
The original problem is:
When I try to change some files permission, it failed.
For example:
chmod 777 filename
chmod: can't change filename: Not owner
I knew the reason why I can not do it is that the UNIX box only is a client in this case, so I did the following step:
1. umount /usr/NFS
2. exportfs -va
3. in /etc/rc.config.d/nfsconf
changed "PCNFS_SERVER=0" to "1"
4. /sbin/init.d/nfs.client stop
5. /sbin/init.d/nfs.server stop
6. /sbin/init.d/nfs.client start
7. /sbin/init.d/nfs.server start
After that, I can see /usr/NFS through bdf or mount -v, however, one more question happened.
I can not list the contents of /usr/NFS
cd /usr/NFS
ll
It says "Total 0"
However, if I go to the sub-directory, it is OK although I still can not change the permission. For example:
cd /usr/NFS/flash
ll
It says:
total 110
----rwxrwx 1 nobody 4294967295 81 Jul 12 14:24 cgflash.txt
----rwxrwx 1 nobody 4294967295 90015 Jul 12 14:24 fsdet.txt
...
I really confused, anybody has clue?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 01:00 PM
тАО07-12-2001 01:00 PM
Re: NFS, why I can not list the contents?!
Do you have 777 on the directory?
Users have to be able to read, write, and execute to list and modify files.
Users have to be able to read, write, and execute to list and modify files.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 01:31 PM
тАО07-12-2001 01:31 PM
Re: NFS, why I can not list the contents?!
It seems you need to provide read/write(rw) permissions to client. for that edit ur /etc/exports file and change access permission to either rw or root(be careful for this permission as client can do anything on this directory).
Hope this solves your problem
Cheers...
Satish.
Hope this solves your problem
Cheers...
Satish.
Difference between good and the best is only a little effort
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 01:34 PM
тАО07-12-2001 01:34 PM
Re: NFS, why I can not list the contents?!
Sorry, I forgot to mention,
u need to run exportfs -a on server and stop/start NFS server and client.
Cheers...
Satish.
u need to run exportfs -a on server and stop/start NFS server and client.
Cheers...
Satish.
Difference between good and the best is only a little effort
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP