Re: ls or cp: cannot stat error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux