Operating System - Tru64 Unix
1834419 Members
1830 Online
110067 Solutions
New Discussion

can i restore deleted files from disk? impossible?

 
SOLVED
Go to solution
zhxg
New Member

can i restore deleted files from disk? impossible?

Can i restore deleted files from disk, if no backup?
i traced the cell of file metadata, its content erased when file deleted, so it seems
no way to restore deleted files. right?
the only thing i can do is to scan disk blocks, to find out which blocks have content of my files? it's terrible.
7 REPLIES 7
Michael Schulte zur Sur
Honored Contributor
Solution

Re: can i restore deleted files from disk? impossible?

Hi,

that's right. There is no regular way un undelete files in True64. As you said the only chance is to scan the disk. If you are an expert you could perhaps follow the trail of pointers. There may be a programme to help you but I don't what the name is.

greetings,

Michael
Venkatesh BL
Honored Contributor

Re: can i restore deleted files from disk? impossible?

In the future, you may consider using 'mktrashcan' to create trash can for you AdvFS directory. Eventhough its primitive, something is better than...
zhxg
New Member

Re: can i restore deleted files from disk? impossible?

yes, mktrashcan can defer delete, but not so convenient.
ftx log can be used to restore? i dumped log, but not find metadata in it, i am confused that how log used to redo/undo when system recovers from fail?
Venkatesh BL
Honored Contributor

Re: can i restore deleted files from disk? impossible?

I dunno which log you are referring to. AdvFS transaction log (internally) to log the transactions. It uses this to recover during a failure. I don't think this log is available to the user.
zhxg
New Member

Re: can i restore deleted files from disk? impossible?

log contains metadata information, nvlogpg -v can show them. these information may be somewhat helpful for undelete.
i already dumped twenty thousand files by scanning disk blocks with fragmentrary cell information. it's really terrible to do so. But more terrible, is to find out what they are. fortunately, it isn't my duty, hehe.
Manish PATHAK_2
Regular Advisor

Re: can i restore deleted files from disk? impossible?

Exactly zxhg,

Now there is no more way than scanning the disk and i agree with Michael.That is the only possible way seems to restore the contains.

From the next time onwards you can look for some alternate commands and by using them you can move the content to some Trash_Can and then after the satisfactory analysis you can permanantly remove it.

Further try to restore the lost data.

Best of luck
Manish
zhxg
New Member

Re: can i restore deleted files from disk? impossible?

thanks for all