- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- aufofs - automount ??
Operating System - Linux
1752701
Members
5748
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
Go to solution
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
тАО10-20-2009 06:21 PM
тАО10-20-2009 06:21 PM
I am running Red Hat Version 5.3 and have an NFS servers with the following mount points:
/dev/mapper/VGcvoinfs-lvapps
100G 68K 100G 1% /t3appsoftware
/dev/mapper/VGcvoinfs-lvpublic
42G 44K 42G 1% /t3public
I've setup autofs to automount the file systems on the client servers as:
cvoinfs2-p:/t3appsoftware 100G 64K 100G 1% /t3/appsoftware
cvoinfs1-p:/t3public 42G 32K 42G 1% /t3/public
My question is, is there any way to have the autofs setup mount the file systems as the same name as the NFS server has them mounted as ??
i.e.: /t3appsoftware and not as: /t3/appsoftware
/dev/mapper/VGcvoinfs-lvapps
100G 68K 100G 1% /t3appsoftware
/dev/mapper/VGcvoinfs-lvpublic
42G 44K 42G 1% /t3public
I've setup autofs to automount the file systems on the client servers as:
cvoinfs2-p:/t3appsoftware 100G 64K 100G 1% /t3/appsoftware
cvoinfs1-p:/t3public 42G 32K 42G 1% /t3/public
My question is, is there any way to have the autofs setup mount the file systems as the same name as the NFS server has them mounted as ??
i.e.: /t3appsoftware and not as: /t3/appsoftware
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2009 01:18 AM
тАО10-21-2009 01:18 AM
Solution
The automounter requires one directory level to set up its "sensor". In your case, /t3 is the autofs "sensor" filesystem.
Autofs at the top level would require mounting each directory of the root filesystem through autofs, which would require starting up autofs early in the boot procedure, within the initrd. It's probably possible, but most likely way too much work for changing a small detail.
A simpler solution might be to create some symbolic links:
ln -s /t3/appsoftware /t3appsoftware
ln -s /t3/public /t3public
MK
Autofs at the top level would require mounting each directory of the root filesystem through autofs, which would require starting up autofs early in the boot procedure, within the initrd. It's probably possible, but most likely way too much work for changing a small detail.
A simpler solution might be to create some symbolic links:
ln -s /t3/appsoftware /t3appsoftware
ln -s /t3/public /t3public
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2009 04:52 AM
тАО10-21-2009 04:52 AM
Re: aufofs - automount ??
Thanks
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