Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 1999 13:43:37 +1000 (EST)
From:      andrew@ugh.net.au
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        Jan Pechanec <pechy@hp735.cvut.cz>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Corrupt File System
Message-ID:  <Pine.BSF.4.10.9909281332190.27643-100000@beebite.ugh.net.au>
In-Reply-To: <19990927110332.31201@hydrogen.fircrest.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909281332190.27643-100000>