- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: can not automount
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-11-2007 01:30 AM
04-11-2007 01:30 AM
I am try to set up automount on 11i machine (my first time doing that) . I have configured nfsconf and auto_master file for the requierd nfs, when running automount -v I get a message that the FS was mounted , in /etc/mnttab I can see the mounted fs , and still no files appear in the mount dircetory. Also , trying to write to the dircetory hangs the shell.
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:54 AM
04-11-2007 01:54 AM
Re: can not automount
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 02:07 AM
04-11-2007 02:07 AM
Re: can not automount
The problem could be at the other end. Can
any other system get good NFS access to the
same remote file system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 02:38 AM
04-11-2007 02:38 AM
Re: can not automount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 02:55 AM
04-11-2007 02:55 AM
Re: can not automount
Please post the contents of the auto_master and files it points to. There is probably a problem there.
Aich Pessah Shalchah?
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
04-11-2007 03:10 AM
04-11-2007 03:10 AM
Re: can not automount
I`ve defined everything in the auto_master:
root@unixlab2: cat /etc/auto_master
/net -hosts -nosuid,soft
/my unixlab1:/home/testleo/automount
root@unixlab2:
root@unixlab2: cat /etc/mnttab
-hosts /net autofs ignore,indirect,nosuid,soft 0 0 1176296055
unixlab1:/home/testleo/automount /my autofs ignore,indirect, 0 0 1176297283
Pesah beseder, haiti be hul :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 03:24 AM
04-11-2007 03:24 AM
Re: can not automount
you do not use /etc/aut_master correctly: This file is the so-called master map and contains maps only - not single mount entries.
root@unixlab2: cat /etc/auto_master
/net -hosts -nosuid,soft
/my unixlab1:/home/testleo/automount
Create a file /etc/auto.mymap containing
unixlab1 &:/home/testleo/automount
Change /etc/auto_master to
/net -hosts -nosuid,soft
/my /etc/auto.mymap
And after a 'automount -v' you can see the NFS directory under
ls /my/unixlab1
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 03:41 AM
04-11-2007 03:41 AM
Re: can not automount
ls /my does not show anything ,
ls /my/unixlab1 hangs the shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 04:54 AM
04-11-2007 04:54 AM
Re: can not automount
- you should check for NFS related messages in /var/adm/syslog/syslog.log
- check order of the name resolution:
grep auto /etc/nsswitch.conf
- is the result of NFS-mounting this directory without automount the same?
mkdir /other
mount unixlab1:/home/testleo/automount /other
ls /other
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 05:24 PM
04-11-2007 05:24 PM
Re: can not automount
root@unixlab2: mount unixlab1:/home/testleo/automount /my
root@unixlab2: ls /my
1 2 3 lost+found
root@unixlab2:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 03:54 AM
04-12-2007 03:54 AM
Re: can not automount
Post the following here:
# cat /etc/auto_master
# cat
# cat /etc/mnttab
I want to see exactly how your automounter is configured before moving forward.
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-14-2007 08:43 PM
04-14-2007 08:43 PM
Re: can not automount
I have updated patches on the system , and now the situation is a little better , trying to write to the automount directory does not hang the shell , but I do get an error :
root@unixlab2: touch a
touch: a cannot create
Still cant see the files of the mount.
Now, for what you have asked:
root@unixlab2: cat /etc/auto_master
/net -hosts -nosuid,soft
/my /etc/auto.mymap
root@unixlab2: cat /etc/auto.mymap
unixlab1 &:/home/testleo/automount
root@unixlab2: cat /etc/mnttab ( irrelevant lines where removed )
-hosts /net autofs ignore,indirect,nosuid,soft 0 0 1176387571
/dev/vg00/lvol10 /test vxfs log 0 0 1176625492
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176625705
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2007 09:43 PM
04-15-2007 09:43 PM
Re: can not automount
please help me to sort this
>>
trying to write to the automount directory does not hang the shell , but I do get an error :
root@unixlab2: touch a
touch: a cannot create
Still cant see the files of the mount.
<<
What is the result of
ls /my/unixlab1
ls -ld /my/unixlab1
and then
grep /my /etc/mnttab
As a root user, you have no special privilegs on the remote system, so
touch /my/unixlab1/newfile
would require world-open acces rights at
/home/testleo/automount on unixlab1.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2007 10:16 PM
04-15-2007 10:16 PM
Re: can not automount
In one session:
tail -f /var/adm/syslog/syslog.log
Then start the automount service and try the change directory.
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
04-16-2007 10:56 PM
04-16-2007 10:56 PM
Re: can not automount
The unixlab1 dir was never created in /my
so ls on its variations will not give any result.
I think I do have the permissions to that NFS , if I mount without automount I can write to it.
Now, SEP:
Another weird thing that is happening is that the automound does not write anything to syslog nor to /var/adm/automount.log...
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 10:58 PM
04-16-2007 10:58 PM
Re: can not automount
root@unixlab2: grep -i /my /etc/mnttab
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176807176
root@unixlab2:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 01:13 AM
04-17-2007 01:13 AM
Re: can not automount
keep in mind, that the directory
/my/uniylab1
may NOT be visible by a simple
ls /my
It first gets mounted when trying to access
/my/unixlab1
explicitly via
ls /my/unixlab1
If that last command does not produce any output, the automount is not triggered correctly.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 01:25 AM
04-17-2007 01:25 AM
Re: can not automount
ls
does not produce any output also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 01:37 AM
04-17-2007 01:37 AM
Re: can not automount
having done the
cd /my/unixlab1/
then now send us
grep /my /etc/mnttab
tail /var/adm/syslog/syslog.log
mfG Peter
PS: Only as user 'pelephone system admin t'
you'll be able to submit points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 01:46 AM
04-17-2007 01:46 AM
Re: can not automount
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176807176
root@unixlab2: cd /my
root@unixlab2: ll
total 0
root@unixlab2: grep -i /my /etc/mnttab
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176807176
No message was received in syslog
PS: I will take care of the points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 02:36 AM
04-17-2007 02:36 AM
Re: can not automount
you did not perform the commands exactly as I told you. Please do so - send error messages (if there should be any) as well, please.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 10:40 PM
04-17-2007 10:40 PM
Re: can not automount
/my/unixlab1 not found
root@unixlab2: ls -ld /my/unixlab1
/my/unixlab1 not found
root@unixlab2: grep /my /etc/mnttab
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176807176
root@unixlab2:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 12:06 AM
04-18-2007 12:06 AM
Re: can not automount
now we know, that the automounter was not triggered by accessing
/my/unixlab1
Try again:
automount -f /etc/auto_master -v
and look at the output.
I did not see your name switch config - please send:
grep auto /etc/nsswitch.conf
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 12:10 AM
04-18-2007 12:10 AM
Re: can not automount
root@unixlab2: automount -f /etc/auto_master -v
automount: /my mounted
automount: no unmounts
root@unixlab2: ls /my/unixlab1
/my/unixlab1 not found
root@unixlab2: ls -ld /my/unixlab1
/my/unixlab1 not found
root@unixlab2: grep /my /etc/mnttab
/etc/auto.mymap /my autofs ignore,indirect 0 0 1176898055
root@unixlab2: grep -i auto /etc/nsswitch.conf
automount: files nis
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 01:40 AM
04-18-2007 01:40 AM
Re: can not automount
due to the output, now we have activated your custom map (before it wasn't!):
>>
root@unixlab2: automount -f /etc/auto_master -v
automount: /my mounted
automount: no unmounts
<<
Now please check the output:
1) ls -l /etc/auto.mymap
There may NOT be execute rights on this file!
2) showmount -e unixlab1
mfG Peter