Operating System - HP-UX
1826214 Members
2628 Online
109691 Solutions
New Discussion

lost+found file systm crrptn

 
David Bellamy
Respected Contributor

lost+found file systm crrptn

hi all,

i have many files starting with # in all of rootvg file systems lost+founds. is there any way to recover where they belong

thx in advance
3 REPLIES 3
Mark Vollmers
Esteemed Contributor

Re: lost+found file systm crrptn

The Unix book we have says that the names for files placed in the lost and found represent the inodes for the files. You have to examine the file to figure out where it goes. since it could be from anywhere. Try the "file" command. Ascii files should be easy; open and look at it. Other files may be more difficult. Hope this helps.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Wieslaw Krajewski
Honored Contributor

Re: lost+found file systm crrptn

Hi,

All files placed in the lost+found directory receive names
#inode_number.
You can try to identify them just doing
cd lost_found
file *
this command clasify all these files.
Then for ascii files just look into them by for example
more \#number
For binary files you can check them by
strings \#number more

Good Luck!
Permanent training makes master