From owner-freebsd-geom@FreeBSD.ORG Fri Dec 4 08:26:01 2009 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 033061065676 for ; Fri, 4 Dec 2009 08:26:01 +0000 (UTC) (envelope-from nveeser@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id D303B8FC17 for ; Fri, 4 Dec 2009 08:26:00 +0000 (UTC) Received: by pwj15 with SMTP id 15so2042343pwj.3 for ; Fri, 04 Dec 2009 00:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=TPFL4PuZoW8CsEdsm9g2Vbp5OSnuR65ujrNJ6pPOw0Q=; b=IZMDnMSkofplvUSl5Kw+mIQV8Gj1PvJPEmcqVgeqAtGfiqzuwgm5KLVeY6zVl2+X3a vOxsIvS5kg6plG8qXqM3HN/DWMAReUqE4yKhKU1U1H9rFnmzYpaRm2NOX2Qa0/dPAIn5 uZOYRcXKC13ETYrPIJzTpZ7Bc7k6E1H7B9Zng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kfbT+hMKCcrhJEMcHC32x2/2kqH/yD3gtqfYPpz5/ZaWArvhE6pNTet+ax5CnFItB/ 7VH0d2O3TCADqCl20omPe6mYY1uIQ0ni6z8paktC/Td1orqk7zkWD/26uGrh72UGQnmt lDK+bAiD8D/mpxGBRhUU/eHBbzZnQ16TFw2A4= MIME-Version: 1.0 Received: by 10.140.226.13 with SMTP id y13mr186206rvg.70.1259913622668; Fri, 04 Dec 2009 00:00:22 -0800 (PST) Date: Fri, 4 Dec 2009 00:00:22 -0800 Message-ID: <674b92e90912040000o293fdf26hdf1af9e8d9ba9a87@mail.gmail.com> From: Nicholas Veeser To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Trouble making a mirror 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: Fri, 04 Dec 2009 08:26:01 -0000 I have two 250GB disks I want to have a 20G Slice on each (with root and swap) and have a mirror. Then I want the rest to be used in a ZFS pool. I have ad4 and ad6 root is currently on ad6s1a So I was going to try to create a mirror on ad4 and copy over to the mirror and reboot from there. So I tried... # fdisk -p /dev/ad6 | fdisk -u /dev/ad4 # gmirror label -v -b round-robin gm0 /dev/ad4s1 Assertion failed: (md.md_provsize != 0), function mirror_label, file /usr/src/sbin/geom/class/mirror/geom_mirror.c, line 245. Any idea why this is not working? Or why the assertion is coming up? I suspect that there is something odd about my disk (data or hardware) but I have no idea what it is. n