Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!uunet!adelphi!promark!mark From: mark@promark.UUCP (Mark J. DeFilippis) Newsgroups: comp.unix.internals Subject: Re: recovery lost directories/files Summary: Man... Message-ID: <3726@promark.UUCP> Date: 6 Oct 90 12:34:24 GMT References: <24603@adm.BRL.MIL> <1990Sep26.134004.15516@decuac.dec.com> Organization: Promark Data Concepts, Garden City, NY Lines: 29 In article <1990Sep26.134004.15516@decuac.dec.com>, mjr@hussar.dco.dec.com (Marcus J. Ranum) writes: > In article <24603@adm.BRL.MIL> emsca!intevep!milan!tonysena@sun.com (Giuseppe Sena) writes: > > > > We have a SUN 3/60 with SunOS 4.0.3 and a 300Mb disk drive. Today we > >lost a directory with very important and confidential files. > > Can't you restore it from your backup tapes ? > > mjr. He said they had no backups in his posting. This may help you. The answer to your question is yes there is a way to get your files and directories back. The inode table should have been updated as little as possible since the time of loss. THe sa,me goes for data block allocation from the free list for new files. Instead of going through the issues involved here, or telling you to use the much complicated, but not highly available fsdb (File system debugger), there is an article in the October 1990 _UNIX REVIEW_ magazine which talks about file recovery complete with C code. Mark J. DeFilippis -- UUCP: uunet!adelphi!promark!mark