- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: permission denied using mkdir on mounted remot...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-21-2004 05:06 AM
тАО09-21-2004 05:06 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:10 AM
тАО09-21-2004 05:10 AM
SolutionLets say package shmuel is on node1 and vg02 is activated when the package starts.
can node1 do a mkdir while node2 can not?
This would be the behavior i sould expect becaue the volume group is not active on node 2.
If this is an NFS do an id command for the user on both systems. If the user on the system that can't mkdir doesn't include the same groups this can also trigger the problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:13 AM
тАО09-21-2004 05:13 AM
Re: permission denied using mkdir on mounted remote filesystem
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:21 AM - last edited on тАО09-16-2024 02:29 AM by support_s
тАО09-21-2004 05:21 AM - last edited on тАО09-16-2024 02:29 AM by support_s
Re: permission denied using mkdir on mounted remote filesystem
Hi,
What is the id that you are using to create the directory on this filesystem using the nfs mount point. If the filesystem was exported using rw permissin you should be able to create directories using unix uids which own the parent directories in the mount point.
You may not be able to do so using the root id if the nfs export does not allow root access to the nfs exported filesystem.
Take a look at the third solution over here,http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90054/B1031-90054_top.html&con=/hpux/onlinedocs/B1031-90054/00/00/42-con.html&toc=/hpux/onlinedocs/B1031-90054/00/00/42-toc.html&searchterms=root&queryid=20040921-112012
Hope this helps.
regds
[Moderator edit: Removed the broken link. Please refer to https://support.hpe.com/]
- Tags:
- drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:21 AM
тАО09-21-2004 05:21 AM
Re: permission denied using mkdir on mounted remote filesystem
The users are the same on both servers. One of the filesystems seems to be working fine as do the original two filesystems.
I also verified the read/write parmissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:25 AM
тАО09-21-2004 05:25 AM
Re: permission denied using mkdir on mounted remote filesystem
nodeA is NFS server and mounts the FS directly
nodeB is the NFS client mounts FS via NFS from nodeA
on nodeA, in the file /etc/exports, do you have the directive
/path/to/filesystem -access=blah1:blah2:...:blahN,root=nodeB
the 'root=nodeB' is the detemining factor if you can use the mkdir command on the NFS mounted filesystem. Otherwise -access:blahX directives give the remote nodes named blahX a read only access.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:48 AM
тАО09-21-2004 05:48 AM
Re: permission denied using mkdir on mounted remote filesystem
By default, root of NFS client will not be mapped to the root of NFS server. So even if you are root in the NFS client, you will only get the permissions of nobody (UID -2). For the very reason you are not able to mkdir on the remote mounted filesystem
Try this
# exportfs -iv -o root=
Say
yourhostname: node1
MC-SG-Package-DNS-name: pkg1
NFS-export = /app1 the local filesystem that you are exporting to yourself
# exportfs -iv -o root=node1:pkg1 /app1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 05:56 AM
тАО09-21-2004 05:56 AM
Re: permission denied using mkdir on mounted remote filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 06:14 AM
тАО09-21-2004 06:14 AM
Re: permission denied using mkdir on mounted remote filesystem
Maybe the filesystem for which you did not have any problem was owned by root and the one for which you had problems was owned by another user id. Just a guess. You can also check the directory permissions of the mount points before and after the mount.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 06:22 AM
тАО09-21-2004 06:22 AM
Re: permission denied using mkdir on mounted remote filesystem
This cannot be the case, if you did nt add root= option to the exportfs command, requests from NFS client root will be assigned the UID of -2. So even if the remote mounted filesystem is owned by root, the system will treat the requests with the previlege of -2.
Bob:-
Are you saying, you had problems creating directory on one remote-mounted filesystem and not the other.
Could be that directory had write permissions for "OTHER" group.
Check the permissions of the remotemounted filesystem, I am positive it has write permissions for OTHER group like
-XXXYYYrwx
The above permission means, even if the NFS client root requests are assigned UID of -2, he can read/write to the directory due to the rwx permissions for the "WORLD"