- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Automount problems
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
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
10-25-2007 09:10 AM
10-25-2007 09:10 AM
When I go to the directory, I get nothing in it.
It's a single map file that I am having issues with.
When I restart all the /sbin/init.d NFS daemons, I get this with the nfs.client daemon, what does it mean?
/sbin/init.d#: ./nfs.client stop
umountall: umount : has failed.
umountall: diagnostics from umount
nfs umount: nfs_unmount: /sapmnt/ASP/global: is busy
umount: return error 1.
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/profile : Block device required
umount: return error 1.
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/global : Block device required
umount: return error 1.
umountall: umount : has failed.
umountall: diagnostics from umount
nfs umount: nfs_unmount: /sapmnt/ASP/global: is busy
umount: return error 1.
killing biod
killing automountd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 09:20 AM
10-25-2007 09:20 AM
Re: Automount problems
The filesystem looks like is busy with one of SAP process
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 09:25 AM
10-25-2007 09:25 AM
Re: Automount problems
/sbin/init.d#: fuser -cu /sapmnt/JPD/global
/sapmnt/JPD/global: fuser: could not find file system mounted at /sapmnt/JPD/global.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 09:26 AM
10-25-2007 09:26 AM
Re: Automount problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 10:31 AM
10-25-2007 10:31 AM
Re: Automount problems
You might have tried fuser -k (to kill)
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 01:41 AM
10-26-2007 01:41 AM
Re: Automount problems
What can I do to make them available?
Do I have to reboot the machine?
#: grep JPD /var/tmp/mnttab.out
sapjpd_map /sapmnt/JPD/global autofs ignore,direct,dev=6000008b 0 0 1192565363
sapjpd_map /sapmnt/JPD/profile autofs ignore,direct,dev=6000008c 0 0 1192565363
/dev/vgsap/lvol1 /sapmnt/JPD vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40010001 0 0 1192565479
/dev/vgsap/lvol2 /usr/sap/JPD vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40010002 0 0 1192565479
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 01:52 AM
10-26-2007 01:52 AM
Re: Automount problems
As far as the mounted busy ones you can still try lsof or fuser -u hostname:/mount/point to see if you can ID the process that is still in the filesystem.
I thought I saw in 11iv3 that there is a umount -f option to forcibly unmount a ghost NFS filesystem but alas we are not there yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 02:17 AM
10-26-2007 02:17 AM
Re: Automount problems
First of all, forcible unmount is available in 11.23 and 11.31 so you don't need to move to 11.31 to get that.
Secondly, I'm still not clear what you're trying to do. Are you wanting to remove the autofs mount points from the system or actually use AutoFS?
The /etc/mnttab entries you posted:
_________________________
# grep JPD /var/tmp/mnttab.out
sapjpd_map /sapmnt/JPD/global autofs ignore,direct,dev=6000008b 0 0 1192565363
sapjpd_map /sapmnt/JPD/profile autofs ignore,direct,dev=6000008c 0 0 1192565363
/dev/vgsap/lvol1 /sapmnt/JPD vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40010001 0 0 1192565479
/dev/vgsap/lvol2 /usr/sap/JPD vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40010002 0 0 1192565479
_________________________
are either AutoFS or VxFS. Are you trying to use AutoFS to perform loopback mounts to the same system? Or are these local VxFS SAP filesystems unrelated to the AutoFS ones? If you want to remove the AutoFS mount entries from the /etc/mnttab file you should be able to by issuing the command "umountall -F autofs". Does that remove the AutoFS entries?
Regards,
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
10-26-2007 02:58 AM
10-26-2007 02:58 AM
Re: Automount problems
The problem is that the automounted directories are not available. Everything else is available via the automount.
The automount server is exporting the filesystems.
#: l /sapmnt/JPD/global
total 0
#: l /sapmnt/JPD/profile
total 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 03:06 AM
10-26-2007 03:06 AM
Re: Automount problems
If you want to troubleshoot the problem I'd want to see a copy of all your AutoFS maps, your entire /etc/mnttab file, and I'd want you to collect a debug logfile from automountd.
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
10-26-2007 03:58 AM
10-26-2007 03:58 AM
Re: Automount problems
I configure the map files and then restart the /sbin/init.d/*nfs* daemons. In this case, one of the daemons cannot get restarted - that looks to be the source of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2007 04:02 AM
10-26-2007 04:02 AM
Re: Automount problems
umountall -F autofs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2007 08:10 AM
10-29-2007 08:10 AM
Re: Automount problems
/sbin/init.d#: umountall -F autofs
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/profile : Block device required
umount: return error 1.
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/global : Block device required
umount: return error 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2007 08:29 AM
10-29-2007 08:29 AM
Re: Automount problems
# /sbin/init.d/nfs.client start
Do you see any error messages? Can you then use the "umountall -F autofs" command?
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
10-29-2007 09:01 AM
10-29-2007 09:01 AM
Re: Automount problems
Does it need a reboot?
/sbin/init.d#: /sbin/init.d/nfs.client start
starting NFS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 15020
starting up the BIO daemons
/usr/sbin/biod 16
Reading in /etc/exports
starting up the Status Monitor daemon
rpc.statd already started, using pid: 15050
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 15068
Starting up the AutoFS daemon
/usr/sbin/automountd
Running the AutoFS command interface
/usr/sbin/automount
mounting remote NFS file systems ...
mounting CacheFS file systems ...
/sbin/init.d#: umountall -F autofs
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/profile : Block device required
umount: return error 1.
umountall: umount : has failed.
umountall: diagnostics from umount
umount: cannot unmount /sapmnt/JPD/global : Block device required
umount: return error 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2007 09:03 AM
10-29-2007 09:03 AM
Re: Automount problems
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
10-29-2007 09:43 AM
10-29-2007 09:43 AM
Re: Automount problems
After the reboot, I get this.
all the map files look good.
/sbin/init.d#: automount -v
automount: /sapmnt/JPD/global mounted
automount: /sapmnt/JPD/profile mounted
automount: no unmounts
/sbin/init.d#: ll /sapmnt/JPD/profile
/sapmnt/JPD/profile unreadable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2007 09:47 AM
10-29-2007 09:47 AM
Re: Automount problems
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
10-30-2007 02:00 AM
10-30-2007 02:00 AM
Re: Automount problems
I don't think that NFS is successful, all I get is "Unavailable" when I do ls on the directory.
What does it mean?
The two directories involved are:
/sapmnt/JPD/global and
/sapmnt/JPD/profile
/sbin/init.d#: grep JPD /etc/mnttab
sapjpd_map /sapmnt/JPD/global autofs ignore,direct,dev=60000009 0 0 1193694051
sapjpd_map /sapmnt/JPD/profile autofs ignore,direct,dev=6000000a 0 0 1193694051
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2007 05:19 AM
10-30-2007 05:19 AM
Re: Automount problems
If you need help analyzing the log file you can either post it to this thread or send it to me at dave.olker@hp.com.
Regards,
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
10-30-2007 06:49 AM
10-30-2007 06:49 AM
Re: Automount problems
The line contained
I removed everything after and including 'anon' and re-exported. Then everything became visible.