ls or cp: cannot stat error
Michael Schwendt
mschwendt at gmail.com
Sat May 5 14:22:16 UTC 2007
On 05/05/07, Eng KC wrote:
>
> Thanks for pointing out the inode problem.
>
> Would you able to advise how I can fix the inode problem
>
> I have check
>
> # ls -i /data4/v5lmts/vin_group3*
> 32647 /data4/v5lmts/vin_group3_add1.ora
>
> # ls -i
> 6078594 stop_all_route.sh
> 6078587 start_1-30_route.sh
>
> # find -inum 32647 -print
>
> # find -inum 6078594 -print
> ./stop_all_route.sh
> # find -inum 32647 -print
>
> When find the inode number, it did not return the file name.
> # find -inum 32647 -print
Because you only search in current directory as your "ls -i" example
shows. You need to specify the root search path:
find /data4 -inum 32647 -print
More information about the redhat-list
mailing list