Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 01:59:50 -0700 (PDT)
From:      Josh Brooks <user@mail.econolodgetulsa.com>
To:        freebsd-hackers@freebsd.org
Subject:   recovering data from a truncated vn-file possible?
Message-ID:  <20030704015704.Y57224-100000@mail.econolodgetulsa.com>

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

Long story short, I have a 4gig vn-backed filesystem.  The file backing it
is now missing the last 750megs ... I can vnconfig it, but when I fsck it
I see:

# fsck -y /dev/vn1
** /dev/vn1

CANNOT READ: BLK 44109856
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 44109856, 44109857,
44109858, 44109859,
ioctl (GCINFO): Inappropriate ioctl for device
fsck: /dev/vn1: can't read disk label


Is there anything at all I can do to get data out of this ?  I know some
of it (750 megs worth) is gone for good - but can I get any of the rest of
it ?  Presumably, when mounted, this was only 50% full ...

thaks.



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