I am getting below error when trying to find for the files under /var/spool/ directory.
unix@test1 >ls -la /var/spool
/var/spool: I/O error
Please advise
I am getting below error when trying to find for the files under /var/spool/ directory.
unix@test1 >ls -la /var/spool
/var/spool: I/O error
Please advise
Can you show what you get when you try this series of commands
#does this command at least show spool as a directory and run as a directory?
ls -lad /var
# if it does try
cd /var/spool
# if no errors try this and show full output, including errors
ls -l
I think the file system may be damaged. /var/run is a tmpfs file system, it should be there. What is the version of Solaris, please. Or the output of
uname -a
Thank you for the update.
unix@test1 >ls -lad /var
drwxr-xr-x 46 root sys 1024 Apr 2 2007 /var
unix@test1 >cd /var/spool
cd: error retrieving current directory: getcwd: cannot access parent directories: I/O error
unix@test1 >uname -a
SunOS test1 5.10 Generic_141414-01 sun4v sparc SUNW,Sun-Fire-T200
pkaturi@us1096ldap01 >df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d100 4.9G 402M 4.5G 9% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 12G 1.3M 12G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/dev/md/dsk/d130 9.8G 4.2G 5.6G 43% /usr
/platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1
4.9G 402M 4.5G 9% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
4.9G 402M 4.5G 9% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d140 7.9G 4.6G 3.2G 60% /var
swap 15G 2.6G 12G 18% /tmp
swap 12G 16K 12G 1% /var/run
/dev/dsk/c0t2d0s1 39G 13G 26G 34% /BACK
/dev/md/dsk/d150 8.9G 1.3G 7.5G 15% /opt
/dev/md/dsk/d120 30G 5.7G 24G 20% /data
/dev/dsk/c0t2d0s3 12G 4.6G 7.3G 39% /home
/dev/dsk/c0t2d0s4 9.8G 4.6G 5.1G 48% /photos
/dev/dsk/c0t3d0s3 17G 49M 17G 1% /var/core
/dev/dsk/c0t3d0s4 15G 1.3G 13G 10% /var/spool
/dev/dsk/c0t3d0s1 30G 4.1G 25G 14% /LOG
Thanks