The ls -la command hangs on root (/) filesystem (Doc ID 1001785.1)

Last updated on JULY 11, 2017

Applies to:

Solaris Operating System - Version 8 6/00 U1 and later
All Platforms

Symptoms

The ls -la command hangs on root (/) filesystem:

Running "ls -la /" hangs, yet running "ls -la" to other root directories (i.e. ls -la /usr) does NOT hang. Review of /var/adm/messages shows NFS related errors, even though this is NOT a true NFS client. Here are the errors that may appear in the /var/adm/messages file when the "ls -la /" hangs:

Mar 28 09:23:19 moe nfs: [ID 333984 kern.notice] NFS server for volume management \ (/vol) not responding still trying

Mar 28 09:31:13 moe nfs: [ID 664466 kern.notice] NFS getattr failed for server for \ volume management (/vol): error 23 (RPC: Unitdata error)

In this particular situation, this client was mounting a CD remotely from another system, which was shutdown before unsharing the CD, and before the client could unmount the remote CD mount.

The tail end of a truss shows that it was hanging on /vol as well (line numbers set and it was hanging on line 256-257):

# cd /

# truss -fall -vall -wall -rall ls -la

.

.

.

249   4884/1:                 lstat64("./xfn", 0xFFBEFAC0)                                       = 0

250   4884/1:                         d=0x04680002 i=7         m=0040555 l=1   u=0         g=0         sz=1

251   4884/1:                                 at = Mar 27 14:15:01 EST 2002   [ 1017256501 ]

252   4884/1:                                 mt = Mar 27 14:15:01 EST 2002   [ 1017256501 ]

253   4884/1:                                 ct = Mar   8 20:24:51 EST 2002   [ 1015637091 ]

254   4884/1:                         bsz=8192   blks=1         fs=autofs

255   4884/1:                 acl("./xfn", GETACLCNT, 0, 0x00000000)                   = 4

256   4884/1:                 lstat64("./vol", 0xFFBEFAC0)       (sleeping...)

257   4884/1:                 lstat64("./vol", 0xFFBEFAC0)                                       Err#131 ECONNRESET

258   4884/1:                         Received signal #2, SIGINT [default]

259   4884/1:              

*** process killed ***

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms