From owner-freebsd-geom@FreeBSD.ORG Wed Sep 12 16:11:15 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AB6416A41B for ; Wed, 12 Sep 2007 16:11:15 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 632AB13C474 for ; Wed, 12 Sep 2007 16:11:15 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so200395rvb for ; Wed, 12 Sep 2007 09:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Sl/nDR6rqzswXQAUaLlftTzsk0mHYjv7JfVx/X/QLHc=; b=W18DBR+evYAbqo/kiQm3/Q6+/nLmFuqk60zSS77LXSWUW3AHe6DxEG0U5d99c8AjLBQpyfDguzRgcjcC9pGDUh3B8Ev3vBktC4eiUzQgqhADFzEcLAJLRBDa73Yr2+O/qbzOwrYyX+AoQp4FUOBVpiy8QrlDZjLfJSzGPL1tv3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BTFLwHYG+nze5iB7XYeUopYbeBv96P78Rq6jTVfl5TKskiIWEDuGhRBwq4TTupAShIAF2g5uIit3pgzpc3Z/Erz6rVs5UfMuhqYoEkMne+iWgFcptKxDGUmyModTsceZ0InJPJmrFTkun++TD3tfGm/xutSU/gnCSjS+3jNT5LQ= Received: by 10.141.155.5 with SMTP id h5mr337886rvo.1189611830197; Wed, 12 Sep 2007 08:43:50 -0700 (PDT) Received: by 10.141.77.8 with HTTP; Wed, 12 Sep 2007 08:43:50 -0700 (PDT) Message-ID: <92bcbda50709120843o6af4bd38v8725be3f5b765b0e@mail.gmail.com> Date: Wed, 12 Sep 2007 17:43:50 +0200 From: "n j" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Gmirror on a partition of a slice X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 16:11:15 -0000 Hello, I've originally sent this mail to -questions, but -geom is probably the better place to ask for pointers to any help regarding installing gmirror on a partition of a slice. Here's the problem. Using http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html and http://people.freebsd.org/~rse/mirror/ as pointers, as well as handbook and man pages, I tried to set up gmirror on a partition of a slice the following way (using identical 1Gb disks da0 & da1): 1) install FreeBSD on 1st disk /dev/da0s1a 2) create slice on 2nd disk fdisk -BI /dev/da1 3) bsdlabel -w -B /dev/da1s1 4) edit BSD label to create a ~500 Mb partition for gmirror a: 1000000 16 4.2BSD 2048 16384 8 c: 2097120 0 unused 0 0 # "raw" part 5) gmirror label -h -n -b round-robin gm0 /dev/da1s1a to create mirror 6) fdisk -BI /dev/mirror/gm0 to create a slice in gm0 7) bsdlabel -w -B /dev/mirror/gm0s1 to create root partition a: 995951 16 4.2BSD 2048 16384 8 c: 995967 0 unused 0 0 # "raw" part 8) newfs, mount, dump/restore to /dev/mirror/gm0s1a, modify fstab, loader.conf, create boot.config to boot off mirror 9) reboot ... and at that point I get "Not ufs" and "No /boot/loader". Any kind of input, be it a link to some material on the web or a proper sequence of command is much appreciated. I've googled a lot and haven't found any examples/howtos/tutorials on how to set up what I'm trying to do. Thanks, -- Nino