Eng KC wrote:
Hi mark
Thanks for pointing out the inode problem.
Would you able to advise how I can fix the inode problem
First, you might try
find -inum 32647 -ls
Alternatively,
find -inum 32647 -exec mv {} whatevernameIwant \;
or
find -inum 32647 -exec rm {} \;
mark
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.
Thanks.
Date: Mon, 23 Apr 2007 14:20:30 -0400 (EDT)
From: <m.roth2006@xxxxxxx>
Subject: Re: ls or cp: cannot stat error
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Message-ID: <20070423142030.CCX97625@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii
>Date: Mon, 23 Apr 2007 13:11:11 -0400
>From: "Tom Kearns" <tkea@xxxxxxx>
>
>Check the permission on the /data4/v5lmts directory. You should have
read
and execute bits on.
>
>>>> "Eng KC" <kceng123@xxxxxxxxx> 4/23/2007 9:13 AM >>>
>hi All,
>
>This is a resend.
>
>When I do a ls * like below
>
>[oracle@db]$ ls -l /data4/v5lmts/vin_group*
>-rw-r----- 1 oracle dba 734072832 Apr 12 10:22
<snip>
>I can see the file, but if I do a ls /path/filename like below
>
>[oracle@db]$ ls /data4/v5lmts/vin_group3_add1.ora
>ls: /data4/v5lmts/vin_group3_add1.ora: No such file or directory
Try ls -i, then you can use find ... -i <inode> to rename it, or delete
it, whatever.
mark
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list