Command "find" misses some subdirectories
I have 2 servers RHEL3 exactly the same links to a SAN.
A HP script use the command find /proc/scsi with returns on my first server : /proc/scsi /proc/scsi/sg /proc/scsi/sg/version /proc/scsi/sg/host_strs /proc/scsi/sg/host_hdr /proc/scsi/sg/hosts /proc/scsi/sg/device_strs /proc/scsi/sg/device_hdr /proc/scsi/sg/devices /proc/scsi/sg/debug /proc/scsi/sg/def_reserved_size /proc/scsi/sg/allow_dio /proc/scsi/qla2300 /proc/scsi/qla2300/2 /proc/scsi/qla2300/1 /proc/scsi/qla2300/HbaApiNode /proc/scsi/qla2300/0 /proc/scsi/scsi on the second second : find /proc/scsi /proc/scsi /proc/scsi/sg /proc/scsi/sg/version /proc/scsi/sg/host_strs /proc/scsi/sg/host_hdr /proc/scsi/sg/hosts /proc/scsi/sg/device_strs /proc/scsi/sg/device_hdr /proc/scsi/sg/devices /proc/scsi/sg/debug /proc/scsi/sg/def_reserved_size /proc/scsi/sg/allow_dio /proc/scsi/qla2300 As you can see the second server the "find" list all subdirectories but /proc/scsi/qla2300 and furthemore on that server : ls -Rl /proc/scsi /proc/scsi: total 0 dr-xr-xr-x 2 root root 0 Jun 27 16:33 qla2300 -r--r--r-- 1 root root 0 Jul 19 11:45 scsi dr-xr-xr-x 2 root root 0 Jul 19 11:45 sg /proc/scsi/qla2300: total 0 -rw-r--r-- 1 root root 0 Jul 19 11:45 0 -rw-r--r-- 1 root root 0 Jul 19 11:45 1 -rw-r--r-- 1 root root 0 Jul 19 11:45 2 crw------- 1 root root 254, 0 Jun 27 16:33 HbaApiNode /proc/scsi/sg: total 0 -rw-r--r-- 1 root root 0 Jul 19 11:45 allow_dio -r--r--r-- 1 root root 0 Jul 19 11:45 debug -rw-r--r-- 1 root root 0 Jul 19 11:45 def_reserved_size -r--r--r-- 1 root root 0 Jul 19 11:45 device_hdr -r--r--r-- 1 root root 0 Jul 19 11:45 devices -r--r--r-- 1 root root 0 Jul 19 11:45 device_strs -r--r--r-- 1 root root 0 Jul 19 11:45 host_hdr -r--r--r-- 1 root root 0 Jul 19 11:45 hosts -r--r--r-- 1 root root 0 Jul 19 11:45 host_strs -r--r--r-- 1 root root 0 Jul 19 11:45 version Why find can not list subdirectories into /proc/scsi on the second server ???? - The credentials seems all right. - There are no "alias". I try \find to bypass alias, no result. - PATH en env variable are the same between both server. Any ideas ? |
All times are GMT -5. The time now is 06:15 AM. |