Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 00:13:40 -0500
From:      "Mikhail T." <mi+t@aldan.algebra.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>, freebsd-geom@FreeBSD.org
Subject:   Recovering an old ccd
Message-ID:  <c0819cb3-6cf1-a54a-2086-8b1a8f905f4c@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c0819cb3-6cf1-a54a-2086-8b1a8f905f4c>