- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ls -al / hang
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
12-06-2007 12:42 AM
12-06-2007 12:42 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 12:46 AM
12-06-2007 12:46 AM
Re: ls -al / hang
Probably ls -al / is listing a stale nfs mount.
Check your nfs mounts and possibly stop/start the services or automounter and the problem should go away. There may of course be a problem on the actual NFS server.
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
12-06-2007 12:56 AM
12-06-2007 12:56 AM
Re: ls -al / hang
i have already stop & start the nfs daemon
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
then with some command, i start the nfs, but still hang. something that make me confuse is in /etc/mnntab file, there is a mounting /net:
pjkpdb1:(pid777) /net ignore defaults 0 0 1185044493
the real hostname is oasddb1.
# more /etc/mnttab
/dev/vg00/lvol3 / vxfs log 0 1 1185044449
/dev/vg00/lvol1 /stand hfs defaults 0 0 1185044450
/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0 1185044463
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0 1185044463
/dev/vg00/lvol6 /tmp vxfs delaylog,nodatainlog 0 0 1185044464
/dev/vg00/lvol5 /opt vxfs delaylog,nodatainlog 0 0 1185044464
/dev/vg00/lvol4 /home vxfs delaylog,nodatainlog 0 0 1185044464
pjkpdb1:(pid777) /net ignore defaults 0 0 1185044493
/dev/vg02/lvol1 /db11i vxfs log,nodatainlog 0 0 1191241319
/dev/vg03/lvol1 /appstest vxfs log,nodatainlog 0 0 1191241334
/dev/vg01/lvol1 /appsproddb vxfs delaylog,nodatainlog,largefiles 0 0 1191314463
# uname -a
HP-UX oasddb1 B.11.11 U 9000/800 930887987 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 02:31 AM
12-06-2007 02:31 AM
Re: ls -al / hang
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 02:40 AM
12-06-2007 02:40 AM
Re: ls -al / hang
this is most probably related to a network connectivity problem to the server pjkpdb1.
what do you see when in your syslog.log or when you run dmesg?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 02:55 AM
12-06-2007 02:55 AM
Solutiondo
echo $line
ls -al $line
done
this wil give you a clou on what the ls is hanging..
als soon as this hangs you know what the dir is that is causing it, like the ealyer post it is most likely a nfs mount from a server that you can't ping anny more, if that is the cause it is solved when you temp ad the ip to a other server, this normaly wil free the i/o wait....
if it is not a nfs mount please post the lvdisplay -v from mountpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 04:30 AM
12-06-2007 04:30 AM
Re: ls -al / hang
pjkpdb1 is the old hostname for this server. the new hostname is oasddb1. I have changed the ip and hostname for this server. when i run script gave by Verschuren, output hang at net directory.
nt
total 16
drwxr-x--- 2 root sys 96 Dec 11 2006 .
drwxr-xr-x 25 root root 8192 Dec 6 16:37 ..
net
I think, it's related to /etc/auto_master. hmm..poor me, before i have kill -9 autmount daemon. I try to run automount but can not, it's hang.
# /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master
# ps -ef|grep mount
root 27097 27078 0 18:57:44 pts/24 0:00 grep mount
root 26169 1 0 15:57:54 ? 0:00 /usr/sbin/rpc.mountd
is it need reboot server for solving this issue?
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 04:46 AM
12-06-2007 04:46 AM
Re: ls -al / hang
Yes.
Make sure your host name resolution is correct, then reboot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 05:20 AM
12-06-2007 05:20 AM
Re: ls -al / hang
Yes. Unfortunately you will have to reboot.
Before you reboot, also verify your /etc/fstab for any references to the old name.
good luck!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 06:30 AM
12-06-2007 06:30 AM
Re: ls -al / hang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2007 06:32 AM
12-06-2007 06:32 AM