System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ls -lrt command not working in root filesystem

SOLVED
Go to solution
chindi
Respected Contributor

ls -lrt command not working in root filesystem

Hi guys,
I have an rx4640 server ,
8gb RAM , 2 CPU , 11iv2

the problem is ,ls -lrt command just hangs in the root filesystem only.
Elesewhere its absolutely fine .

root #/ >bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 1512784 582936 72% /

Any help would be great .
12 REPLIES
rariasn
Honored Contributor

Re: ls -lrt command not working in root filesystem

Hi Chindi,

Put the error from the command.

rgs,
chindi
Respected Contributor

Re: ls -lrt command not working in root filesystem

Hi rariasn ,
There is no o/p from the comand it just hangs .


rariasn
Honored Contributor

Re: ls -lrt command not working in root filesystem

chindi
Respected Contributor

Re: ls -lrt command not working in root filesystem

Hi rariasn ,
So reboot is the only option then ???
Anyways lets c i have also logged a call wid HP..lets c what dey say..
rariasn
Honored Contributor

Re: ls -lrt command not working in root filesystem

Hi,


No "reboot".

Steven E. Protter say,

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.


Rgs,
chindi
Respected Contributor

Re: ls -lrt command not working in root filesystem

Hi rariasn ,
there is no nfs mount on this server.
I will check the automounter daemon .


rariasn
Honored Contributor

Re: ls -lrt command not working in root filesystem

Hi,

Verify integrity VG00

# vgdisplay -v vg00

rgs,
Robert Salter
Respected Contributor
Solution

Re: ls -lrt command not working in root filesystem

Did you check the syslog.log file for any errors? Usually a hang on a 'ls' means the system is waiting for I/O from a device, i.e NFS mount, disk, etc...
Time to smoke and joke
singh sanjeev
Trusted Contributor

Re: ls -lrt command not working in root filesystem

what is the response of the bdf command on the system.

Sanjeev Singh
Anoop Sivan
Frequent Advisor

Re: ls -lrt command not working in root filesystem

Hi,
Kindly verify the /etc/fstab file if any remote drives that connect to via Samba, some reason these shares do not mount automatically on boot.If is not mounted mount all the drivs using,
#mount -a

Anoop
R.K. #
Honored Contributor

Re: ls -lrt command not working in root filesystem

Hello Chindi..

It might be due to NFS file systems..

Try:
# bdf -l

lower case L, to list local file sys. If this runs fine, then issue is because of NFS mounted file sys.
Don't fix that what ain't broke
chindi
Respected Contributor

Re: ls -lrt command not working in root filesystem

Hi Guys,

I took a reboot , and nw d problem is solved.
WE take Business copy on it and may b it was waiting for some I/O's as rightly pointed out by Mr. Robert

Thanks guys.