- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: No clue how the NFS mount points are mounted
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
тАО11-10-2013 02:05 AM - last edited on тАО11-10-2013 08:27 PM by Maiko-I
тАО11-10-2013 02:05 AM - last edited on тАО11-10-2013 08:27 PM by Maiko-I
Hi All,
# df -hP /opt/linuxdepots/
Filesystem Size Used Avail Use% Mounted on
uxlinux:/sg/opt/linuxdepots 354G 34G 302G 11% /autofs/linuxdepots
Here both "/autofs/linuxdepots" and "/opt/linuxdepots/" are same. But my query is /autofs/linuxdepots is configured part of autofs. but there is no clue how /opt/linuxdepots/ is configure.
Can any one throw some light on this.
P.S. This thread has been moved from Linux > System Admin to Linux > networking. - Hp Forum Moderator
Solved! Go to Solution.
- Tags:
- NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2013 06:41 AM
тАО11-11-2013 06:41 AM
Re: No clue how the NFS mount points are mounted
It is probably caused by symbolic links (sort of similar to Windows shortcuts).
Please run this command:
ls -ld /opt /opt/linuxdepots
Either the /opt directory or /opt/linuxdepots may be a symbolic link.
Symbolic links are identified in the ls -ld listing by having a lower-case letter "l" in the first column. They will also have their target displayed at the end of the line. You will probably see something like this:
lrwxrwxrwx 1 root root <timestamp> /opt/linuxdepots -> /autofs/linuxdepots or lrwxrwxrwx 1 root root <timestamp> /opt -> /autofs
The permissions of a symbolic link are normally ignored, and the permissions of the actual file will be used instead.
This is why the permissions of symbolic links are usually always "lrwxrwxrwx" and they cannot be easily changed.
(Some very special situations may produce symbolic links with different permissions, but those situations should be regarded as programming errors or minor filesystem corruption.)
Symbolic links can be created with the "ln -s" command, and deleted with a regular "rm" command.
The use of "ln -s" is conceptually similar to the "cp" command:
"cp <source> <destination>" makes a copy of <source> at <destination>,
and "ln -s <source> <destination>" makes a link to <source> appear at <destination>.
In both cases, if <destination> is a directory, the copy/link will be created using its original file/directory name, but if <destination> is a non-existent file in a valid directory, then the copy/link will be named <destination> instead of its original file/directory name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2013 09:48 AM
тАО11-11-2013 09:48 AM
Re: No clue how the NFS mount points are mounted
>"ln -s" is conceptually similar to the "cp" command:
>"ln -s <source> <destination>" makes a link to <source> appear at <destination>.
Hmm, I conceptualize it exactly the reverse. I.e.:
ln -s <target of symlink> <symlink>
Though without the -s, for hardlinks, there is a well defined source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2013 02:30 PM
тАО11-12-2013 02:30 PM
Re: No clue how the NFS mount points are mounted
It does not look like symbolic link. Please find the output.
# ll -d /opt/linuxdepots/
dr-xr-xr-x 58 root root 3072 Nov 12 15:12 /opt/linuxdepots/
# ll -d /autofs/linuxdepots/
dr-xr-xr-x 58 root root 3072 Nov 12 15:12 /autofs/linuxdepots/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2013 02:12 PM
тАО11-16-2013 02:12 PM
Solution> # ll -d /opt/linuxdepots/
> dr-xr-xr-x 58 root root 3072 Nov 12 15:12 /opt/linuxdepots/
Leave out the last slash from the command. When trying to check the information of a directory symlink, it can make a difference.
Please try this command EXACTLY:
# ll -d /opt/linuxdepots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2013 01:57 PM
тАО11-20-2013 01:57 PM
Re: No clue how the NFS mount points are mounted
Yes you are correct.
Now it is showing the original directory.
Thanks a lot.