Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 00:56:23 +1100 (EST)
From:      Andrew <acs@fl.net.au>
To:        hackers@freebsd.org
Subject:   Getting data from an inode
Message-ID:  <Pine.BSF.4.05.10003240047110.39253-100000@jander.fl.net.au>

next in thread | raw e-mail | index | archive | help
Hi,

I have a corrupt disk that I cant mount. fsck complains a bit:

** /dev/rwd1s1e

CANNOT READ: BLK 16
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 31,

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

USING ALTERNATE SUPERBLOCK AT 32
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
CLEAN FLAG NOT SET IN SUPERBLOCK
FIX? [yn] y

709 files, 7807 used, 12008 free (904 frags, 1388 blocks, 4.6%
fragmentation)

UPDATE STANDARD SUPERBLOCK? [yn] y


CANNOT WRITE: BLK 16
CONTINUE? [yn] y

THE FOLLOWING SECTORS COULD NOT BE WRITTEN: 31,

***** FILE SYSTEM WAS MODIFIED *****

mount dies with an I/O error. fsdb allows me to look at the disk and I can
see all the inodes of files I'm trying to recover but I'm not sure how to
extract the data. A search of the archives reveals imp@village.org wrote a
program (icat) to do it but I cant track it down. It was suggested at the
time that the functionality be merged into fsdb. Was it?

Any ideas?

Thanks,

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.05.10003240047110.39253-100000>