From owner-freebsd-hackers Mon Sep 27 20:43:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from beebite.ugh.net.au (beebite.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id CA90E14F85 for ; Mon, 27 Sep 1999 20:43:38 -0700 (PDT) (envelope-from andrew@ugh.net.au) Received: by beebite.ugh.net.au (Postfix, from userid 1000) id 4FEAB61; Tue, 28 Sep 1999 13:43:37 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by beebite.ugh.net.au (Postfix) with ESMTP id 34FD456; Tue, 28 Sep 1999 13:43:37 +1000 (EST) Date: Tue, 28 Sep 1999 13:43:37 +1000 (EST) From: andrew@ugh.net.au To: John-Mark Gurney Cc: Jan Pechanec , freebsd-hackers@FreeBSD.ORG Subject: Re: Corrupt File System In-Reply-To: <19990927110332.31201@hydrogen.fircrest.net> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 27 Sep 1999, John-Mark Gurney wrote: > that's why I wrote ffsrecov... but you should be able to recover the fs's > assuming you haven't writen anything to the slice of the disk that > contained your data... I tried it on both the var and usr partitions..not that var is too important but it is much smaller. With var it dumps up to inode 136 and core dumps with sig11: #0 0x280baa02 in memcpy () #1 0xefbfda2c in ?? () #2 0x8049f31 in dumpall (pi={fs = 0x280d6000, map = 0x280d4000, st = { st_dev = 131077, st_ino = 1420575, st_mode = 33188, st_nlink = 1, st_uid = 0, st_gid = 5, st_rdev = 5866536, st_atimespec = { tv_sec = 938523740, tv_nsec = 0}, st_mtimespec = { tv_sec = 895067625, tv_nsec = 0}, st_ctimespec = { tv_sec = 895067625, tv_nsec = 0}, st_size = 0x0000000001400000, st_blocks = 0x000000000000a030, st_blksize = 8192, st_flags = 0, st_gen = 1796484062, st_lspare = -188160832, st_qspare = { 0xf01be1a0f4c8e4c0, 0xf01be75800000002}}}) at main.c:450 #3 0x8048e0e in main (argc=1, argv=0xefbfdc5c) at main.c:179 #4 0x80489a9 in _start () With usr I have the problem with the image being greater than 2Gb and so mmap fails. Any ideas? Thanks for all your help, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message