From owner-freebsd-questions@FreeBSD.ORG Sat Nov 10 13:30:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B8A5B00 for ; Sat, 10 Nov 2012 13:30:28 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD5508FC08 for ; Sat, 10 Nov 2012 13:30:27 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz17so1863021pbc.13 for ; Sat, 10 Nov 2012 05:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hymL9clp3ZIF3Dz32gOuPdAqvs8GrIY89qirdqP8ylI=; b=prNJIA7HRe2Wyx5WFDpkcF7iCnDSXqZauqPmdOyMWeu4+WPgEJ0nH6fxQJaDm4ZQf3 vzuJTIDh6YHubHDDvw4pU3jnD0LDDuSpZAbPNXEws+YRvflHXWRzm43yBimkIflJcRaz T9DPtDnJdt1LwpKnbWVGmDcD8IiyVSyrAIJlagJc0jab9c4krLiurOy0AEvGL9eeckNr +abdeblLtQWzFxMDdP36gmstsQqx6zpqztLMdoFyxbPQPFTjrh/wbGdanbyQ9aUhqhGl zQCipUOZDgT5PeGpXniEfP0vPjmp9vuqbmVW5VpyivGI5qDsssDk9FsvtdT+delH/kVV uV9A== MIME-Version: 1.0 Received: by 10.66.85.233 with SMTP id k9mr33895559paz.73.1352554221629; Sat, 10 Nov 2012 05:30:21 -0800 (PST) Received: by 10.66.20.197 with HTTP; Sat, 10 Nov 2012 05:30:21 -0800 (PST) In-Reply-To: <1B.E6.23131.FBAE9905@smtp02.insight.synacor.com> References: <1B.E6.23131.FBAE9905@smtp02.insight.synacor.com> Date: Sat, 10 Nov 2012 17:30:21 +0400 Message-ID: Subject: Re: Groupping restored partitions into slices From: Snow Mountains To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 13:30:28 -0000 Thomas, thank you great info (didn't know for GPT). However, I successfully restored my slices. I post this method here for someone with similar problem in the future: * deleted first 2k of data from ad4 using dd if=/dev/zero of=/dev/ad4 count=2 * created fdisk configuration file with three slices; I determined the size by simply calculating the sum of slice sizes as reported by scan_ffs; * then /dev/ad4s1-3 appeared; * then used scan_ffs on each new slice and used these results to create three new bsdlabels; * used gpart info to activate swap partitions in bsdlabel file; * write you this mail from restored system. Thank you for all the info. SergiM