On 01/22/2013 09:46 AM, Phil Budne wrote:
Have you seen if Linux can mount your images?
Yes, although these are from UTek V, and there seems to be some quirk of
that particular OS which makes them not quite compatible with any of the
UFS variants that Linux supports.
In fact, the UFS driver in recent kernels doesn't even seem to work at all
- I can mount the images, but any attempts at access results in errors.
Older 2.4.x kernels do much better - to the point that back in ~2006, when
I was last looking at this, using the 'sun' variant of the UFS driver
seemed stable and I'd left it at that - but in some recent testing I've now
seen read ops occasionally barf on certain files and directories even then;
there's obviously something in the UTek implementation which trips the
driver up (and some change seems to have happened in the UFS driver within
the last few years which appears to have left it unable to read any of the
data at all)
I've recently acquired a few more fs dumps from a couple of different
sources/machines, which is why I'm looking at this again - but it also
means that the probability of them all being corrupt (rather than just
"not-quite-compatible") is low. Hence my desire to try and pick them apart
in user-land, outside of the kernel UFS implementation, to try and work out
what's causing them to fail. (they all seem to be "ufs-1", incidentally, in
that there's no ufs2-type information in the superblock)
cheers
Jules