- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls hangs on NFS mounted HOME directory
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-03-2002 06:46 AM
12-03-2002 06:46 AM
ls hangs on NFS mounted HOME directory
we have our HOME directories mounted via NFS. now sometimes doing an ls in the home directory hangs. even ^C doesn't work. this is especially true in my hp-ux 11.00 machine and with my login. but when I login to some other hp machine, ls works fine. the home directory is automounted. also i run bash from my login shell sh. when i logout from bash, it hangs indefinitely. i have to press ^C repeatedly to come out of bash. can anyone help?
btw: i tried running tusc on ls. but surprisingly, it runs fine without hanging
saurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 06:53 AM
12-03-2002 06:53 AM
Re: ls hangs on NFS mounted HOME directory
check with:
# nfsstat -m
which version of NFS is used. If there are not the same versions on client and server, please mount the HOME directories with option e.g. '-o vers=2' if version2 and so on.
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:21 AM
12-03-2002 07:21 AM
Re: ls hangs on NFS mounted HOME directory
If you have many files in your home dirs, then consult this link:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062925401&admit=-938907319+1038928416832+28353475
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 09:22 PM
12-03-2002 09:22 PM
Re: ls hangs on NFS mounted HOME directory
saurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 09:35 PM
12-03-2002 09:35 PM
Re: ls hangs on NFS mounted HOME directory
Also check the latest NFS patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 09:44 PM
12-03-2002 09:44 PM
Re: ls hangs on NFS mounted HOME directory
The default on HPUX 11 is only 4. On 11i it is 16. Something to think about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 04:20 AM
12-04-2002 04:20 AM
Re: ls hangs on NFS mounted HOME directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:20 AM
12-04-2002 05:20 AM
Re: ls hangs on NFS mounted HOME directory
saurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:29 AM
12-04-2002 05:29 AM
Re: ls hangs on NFS mounted HOME directory
please do:
# what /usr/bin/nfsstat
then check the permissions of:
# ll /var/adm/sw/save/PHNE_
-r-sr-xr-x 1 root bin 32768 Nov 6 1997 nfsstat
# ll /usr/bin/nfsstat
-r-sr-xr-x 1 root bin 28672 Nov 20 15:10 nfsstat
The ownership should be root/bin, if not please change them.
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:33 AM
12-04-2002 05:33 AM
Re: ls hangs on NFS mounted HOME directory
Can you post your
/etc/mnttab file??
Also, when was the last time you patched this machine? Is it 64bit?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 05:58 AM
12-04-2002 05:58 AM
Re: ls hangs on NFS mounted HOME directory
And most important, get Dave Olker's book on NFS. It's a bit humbling to see just how much work it takes to keep NFS healthy. Some sysadmins turn it off on production servers since it can seriously affect production schedules when it doesn't quite work right.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 06:23 AM
12-04-2002 06:23 AM
Re: ls hangs on NFS mounted HOME directory
O'Reilly and Associates publishes a book "NIS and NFS Administration".
I'd recommend this book first, as it is lighter reading. It takes a beginners approach to tackeling NFS, as well as gives some history, setup, and suggestions. It will give you basic methods of testing, and point you to other reading if NFS is not failing, but TCP/IP or a different service is.
To backup what Bill stated, I turn off NFS on any machine that is not a file server, or client. I support OS/Hardware on 5 Oracle servers, 2 compute servers and 1 cluster, 4 file servers, and approximately 100 file clients for CAD/CAM. NFS only runs on the file servers and CAD/CAM clients.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 08:15 PM
12-04-2002 08:15 PM
Re: ls hangs on NFS mounted HOME directory
# what /usr/bin/nfsstat
/usr/bin/nfsstat:
nfsstat: PHNE_17101
# ls -l /usr/bin/nfsstat
-r-sr-xr-x 1 root bin 28672 Oct 21 1999 /usr/bin/nfsstat
There is no directory /var/adm/sw/save/PHNE_17101
This is a 64 bit machine. I don't know when it was last patched, as I am not an administrator, but I don't think it hasn't been patched in last one year or so. I am also attaching my /etc/mnttab.
Our HOME directories are under /moon_1.
saurav