From owner-freebsd-current@FreeBSD.ORG Fri Jul 29 09:10:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2791C106564A for ; Fri, 29 Jul 2011 09:10:34 +0000 (UTC) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.freebsd.org (Postfix) with ESMTP id D0D558FC15 for ; Fri, 29 Jul 2011 09:10:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by solfertje.student.utwente.nl (Postfix) with SMTP id 734A580B2 for ; Fri, 29 Jul 2011 10:54:03 +0200 (CEST) Received: from hollewijn.internal (hollewijn.internal [10.236.150.4]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 5E9D480B1; Fri, 29 Jul 2011 10:53:54 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alban Hertroys In-Reply-To: <4E31B4BC.5060604@gmail.com> Date: Fri, 29 Jul 2011 10:53:54 +0200 Content-Transfer-Encoding: 8bit Message-Id: <1F86C608-1F80-4144-939C-D46C2180F634@solfertje.student.utwente.nl> References: <4E31B4BC.5060604@gmail.com> To: Lee Whalen X-Mailer: Apple Mail (2.1084) X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Jul 29 10:54:03 2011 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 909,4e32752b12094789815349 X-DSPAM-Factors: 27, Subject*recovering+data, 0.40000, but, 0.40000, but, 0.40000, contains, 0.40000, insights, 0.40000, From*Alban, 0.40000, mount+the, 0.40000, Mime-Version*Message, 0.40000, preexisting, 0.40000, by+either, 0.40000, "RAIDFrame, 0.40000, char, 0.40000, having+been, 0.40000, //www+netbsd, 0.40000, 1+array, 0.40000, or, 0.40000, Message-Id*<1F86C608+1F80, 0.40000, never, 0.40000, an, 0.40000, This+will, 0.40000, indeed, 0.40000, apparently+it's, 0.40000, h+and, 0.40000, of, 0.40000, of, 0.40000, something+that's, 0.40000, as+I, 0.40000 Cc: freebsd-current@freebsd.org Subject: Re: recovering data from a RAID1 array from a single disk on a different system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 09:10:34 -0000 On 28 Jul 2011, at 21:13, Lee Whalen wrote: I'm no expert, but I'll add my insights regardless ;) > 1. Using CCD or one of the other utilities, I need to add this USB-caged > disk into a temporary RAID-1 array in a 'degraded' state so FreeBSD sees As far as I know, CCD (concatenated disk) can not do mirroring, so your RAID-1 disk won't be created using CCD. > the disklabels as something other than type "raid". This will allow me > to mount the preexisting partitions as normal, and copy the data off the > disk. If there's some way I can positively identify a given > partition/slice as having been created by either ccd/geom/vinum, that > would be awesome. According to the man page, descriptions of the various fs_type's are in /usr/include/sys/disklabel.h, and indeed: ... #define FS_RAID 15 /* RAIDFrame drive */ ... static const char *fstypenames[] = { ... "raid", ... }; So, apparently your disk contains a "RAIDFrame drive". I never heard of that before, but apparently it's something that's part of NetBSD: http://www.netbsd.org/docs/guide/en/chap-rf.html So my guess is that the NAS device contained NetBSD instead of FreeBSD. Alban Hertroys -- The scale of a problem often equals the size of an ego. !DSPAM:909,4e32752b12094789815349!