Recovering an old ccd

Mikhail T. mi+t at aldan.algebra.com
Fri Dec 27 05:14:00 UTC 2019


Hello!

I need to recover some data from a ccd array I used years ago (early 
21st century).

I have the three disks hooked up and visible to a FreeBSD-11.x machine:

  * /dev/da0 (36Gb)
  * /dev/da1 (36Gb)
  * /dev/da2 (72Gb)
      o /dev/da2s1

I used dd(1) to dump them onto my current server and can turn the dumps 
into devices using md(4).

But I cannot remember the ccd-configuration parameters I used back then 
-- nor even, whether all three were part of the array, or just the first 
two. The presence of the da2s1 suggests it, but trying to mount the 
/dev/da2s1 fails with EINVAL...

file(1) identifies the first two of the images as "data", but the third 
is more interesting:

    DOS/MBR boot sector MS-MBR XP english at offset 0x12c "Invalid
    partition table" at offset 0x144 "Error loading operating system" at
    offset 0x163 "Missing operating system", disk signature 0x2f392f38;
    partition 1 : ID=0x7, active, start-CHS (0x0,1,1), end-CHS
    (0x3ff,254,63), startsector 63, 143363997 sectors

Using the sysutils/scan_ffs on the images, I get the old labels listed: 
the "last mounted as" strings make perfect sense, but the offsets/sizes 
do not. For example:

    da2: X: 134217728 1088 4.2BSD 2048 16384 0 # /tmp/meow
    da1: X: 25165824 7341120 4.2BSD 2048 16384 0 # /var
    da0: X: 125381904 8389759 4.2BSD 2048 16384 0 # /mnt

Any hints/suggestions? Thank you! Yours,

    -mi



More information about the freebsd-geom mailing list