LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 07-19-2007, 04:55 AM   #1
vallond
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
giving search-string(s) from a file to linux "find" command Fond_of_Opensource Linux - Newbie 3 02-02-2009 06:14 PM
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
A regularly executing "find" command without my intention freaks me simber Linux - Newbie 2 05-21-2006 10:29 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Help,I can't find my USB mouse when I run "kudzu" command in RH9. aeolus Red Hat 0 03-27-2004 09:14 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration