Xref: utzoo comp.unix.xenix:11395 comp.unix.wizards:21819 comp.unix.questions:21979 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think!snorkelwacker!ira.uka.de!fauern!tumuc!guug!pcsbst! From: torsten@pcsbst.pcs.com) (Administrator for this machine) Newsgroups: comp.unix.xenix,comp.unix.wizards,comp.unix.questions Subject: Re: Corrupted Filesystem * IDEAS * Message-ID: <1990May4.170828.25850@pcsbst.pcs.com> Date: 4 May 90 17:08:28 GMT References: <1990Apr29.133610.11755@NCoast.ORG> Reply-To: torsten@pcsbst.pcs.com (Administrator for this machine:/usr3/torsten) Organization: /../pcsbst/etc/organization Lines: 51 In article <1990Apr29.133610.11755@NCoast.ORG> rhg@ncoast.ORG (Rich Garrett) writes: > > >PROBLEM: I've lost a filesystem, one that has very important files on it. > As I posted to comp.unix.xenix, this was caused during a system > freeze while I was running Paradox under vpix. A reboot followed > and I have to-date been unable to recover this filesystem. The > paradox files were on the device /dev/de052 (/mnt2) and not on > or part of the DOS partition. [..] Stuff deleted I've also sent this answer to Rich by mail but i think this is of general interest, so i post it here. I don't know vpix, but i think there are ways to do it : --You have a plain SYS_V filesystem, do the following : # :> file # create an empty file # mkfs file YOUR_FILESYSTEM_CONFIGURATION # do an mkfs which matches # your damaged filesystem # Be sure that you match it exactly !!!!!!!!!!!!!!!!!!!!!!!!!! # Now use dd to copy the newly created superblock # to your damaged filesystem. You should only copy # the second block !!!!! # dd if=file of=/dev/device bs=512 skip=1 seek=1 count=1 Now fsck will do the rest for you, because it now has all information it will need. --You have a BSD fast filesystem : Use fsck -b BLOCK to specify an alternate superblock to be used. On our Workhorses block 32 is always a copy of it. For your system lookup the fine manual ;-). Good luck, Torsten. --- Name : Torsten Homeyer Company : PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Munich W-Germany. UUCP : ..[pyramid ;uunet!unido]!pcsbst!tho (PYRAMID PREFERRED!!) DOMAIN : tho@pcsbst.pcs.[ COM From rest of world; DE From Europe ] Name : Torsten Homeyer Company : PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Munich W-Germany. UUCP : ..[pyramid ;uunet!unido]!pcsbst!tho (PYRAMID PREFERRED!!) DOMAIN : tho@pcsbst.pcs.[ COM From rest of world; DE From Europe ]