- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: long delay while issuing ls -l on /
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
06-03-2004 12:50 AM
06-03-2004 12:50 AM
On our test server, when I issue the command either as root or myself, ls -l on the root / drive it takes forever to come back.
However an ls command comes back almost instaneous.
Suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 12:54 AM
06-03-2004 12:54 AM
Re: long delay while issuing ls -l on /
do you have a long wait doing ls -l else where eg /tmp ?
you may have some corrupt inodes and need to do an fsck
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 12:54 AM
06-03-2004 12:54 AM
Re: long delay while issuing ls -l on /
BTW, which version of HP-UX are you using. Could you please provide the what string (what /usr/bin/ls) for ls(1) binary.
Regards,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:07 AM
06-03-2004 01:07 AM
Re: long delay while issuing ls -l on /
I do believe that there is a stale nfs mount, let me dig into it a bit further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:13 AM
06-03-2004 01:13 AM
Re: long delay while issuing ls -l on /
I have also done a mount -a
and I have also restarted the /sbin/rc2.d/net services but the problem still exists.
I am on HPUX 11i on an RP390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:21 AM
06-03-2004 01:21 AM
Re: long delay while issuing ls -l on /
looks like the nfs server for you is down. Identify the server which is down or "out of network" and then follow the steps to mount the directory of this nfs server on to your machine.
Just to test ls(1), you can unmount all nfs mounts. I am sure ls(1) would will work fine.
Also if you can mount all the the nfs mount, you will be able to find which nfs mount is down.
HTH,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:27 AM
06-03-2004 01:27 AM
Re: long delay while issuing ls -l on /
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:37 AM
06-03-2004 01:37 AM
Re: long delay while issuing ls -l on /
1. stale NFS mounts #Identify and unmount the fs.
2. Huge number of files ! # Proper housekeeping
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 01:41 AM
06-03-2004 01:41 AM
Re: long delay while issuing ls -l on /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:06 AM
06-03-2004 02:06 AM
Re: long delay while issuing ls -l on /
Do you have a lot of files inside?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:10 AM
06-03-2004 02:10 AM
Re: long delay while issuing ls -l on /
I don't recall trying to mount a pfs CD either. I thought I'd rebooted once before to see if that resolved the problem and it hadn't... but after turning off the unneeded NFS services and rebooting, it's ok now. An rp2400 loaded with the same OS (and default NFS config) was working fine all along.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:14 AM
06-03-2004 02:14 AM
Re: long delay while issuing ls -l on /
1, there are not a lot of files in /.
2, I am quite sure the problem is with the /net (which was in the mnttab to use nfs)
However, I issued the command /sbin/rc2.d/nfs.client (whatever) stop and then restarted it to try and re-initialize or re-read the fstab and re-create the mnttab. But this didn't work.
I also tried to issue the mount -a and this didn't resolve the problem either.
Is there a command that I am missing in the /sbin/rc2.d that I should be using to re-intialize the 'required' filesystems?
I would rather not reboot the server, but I can if I have to as it is a test server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:18 AM
06-03-2004 02:18 AM
Re: long delay while issuing ls -l on /
if you have identified a stale NFS mount try unmounting it with the -f force option if this does not work which is usually what happens try mount -o which over rides an existing mount. If you cant overcome it with one of these options I think you may well have to reboot.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 03:04 AM
06-03-2004 03:04 AM
Re: long delay while issuing ls -l on /
Therefore rebooted and it is much better now, although I am onto my next problem.
Thanks all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 05:32 PM
06-03-2004 05:32 PM
Re: long delay while issuing ls -l on /
If you are interested in knowing, I had 28 systems giving the same problem at 1 site. The problem was resolved after I disabled automounter.
I have not investigated this problem further but know automount was causing this.
Hope it helps others.
Cheers,
Mohan.