On Fri, 19 Jun 2009 11:50:07 PDT, stephen bond
<no-re...@opensolaris.org> wrote:

>Kees,
>
>is it possible to get at least the contents of /export/home ?
>
>that is supposedly a separate file system.

That doesn't mean that data is in one particular spot on the
disk. The blocks of the zfilesystems can be interspersed.

>is there a 
>way to look for files using some low level disk reading
>tool. If you are old enough to remember the 80s 
>there was stuff like PCTools that could read anywhere
>on the disk. 

I am old enough. I was the proud owner of a 20 MByte
harddisk back then (~1983).
Disks were so much smaller, you could practically scroll
most of the contents in a few hours.
The on disk data structures are much more complicated now.

>I need some text files, which should be 
>easy to recover.

You could read the device using dd and pipe it block by
block into some smart filter that skips blocks with
gibberish and saves anything that looks like text.
You can try to search blocks for typical phrases you know
are in the text and filter blocks on that property.
sed or awk or your friends.

>Are there any rules on how zfs structures itself?
>maybe the old file allocation table still exists
>and just needs to be restored.

You'll have to understand the internals, the on-disk format
is documented, but not easy to grasp.

zdb is the program you'd use to analyse the zpool.

>thank you very much
>Stephen

Good luck.
-- 
  (  Kees Nuyt
  )
c[_]
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to