From owner-freebsd-questions@FreeBSD.ORG Sat Jun 4 11:28:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48760106566C for ; Sat, 4 Jun 2011 11:28:05 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id DA7218FC08 for ; Sat, 4 Jun 2011 11:28:04 +0000 (UTC) Received: by wwk4 with SMTP id 4so269198wwk.1 for ; Sat, 04 Jun 2011 04:28:03 -0700 (PDT) Received: by 10.216.239.68 with SMTP id b46mr2869466wer.38.1307186883683; Sat, 04 Jun 2011 04:28:03 -0700 (PDT) Received: from [192.168.0.47] (paris.c-mal.com [88.170.200.60]) by mx.google.com with ESMTPS id o75sm1282074weq.40.2011.06.04.04.28.02 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Jun 2011 04:28:02 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <1700D703-4C8A-4793-9FCB-F792CCE4C646@my.gd> X-Mailer: iPhone Mail (8J2) From: Damien Fleuriot Date: Sat, 4 Jun 2011 13:27:56 +0200 To: "levitch@iglou.com" Cc: "freebsd-questions@freebsd.org" Subject: Re: failure to create zfs storage pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 11:28:05 -0000 On 3 Jun 2011, at 22:41, levitch@iglou.com wrote: > Hello, >=20 > After getting a couple of Hitachi 1T 7200 rpm drives, it seemed > like time for ZFS on FreeBSD82, having not had Z file system > subsequent to retiring whatever OpenSolaris was around. >=20 > Basically, I followed this article: >=20 > /doc/en_US.ISO8859-1/articles/remote-install/installation.html >=20 > Previous to this, I had been using sysinstall. >=20 > dd if=3D/dev/zero of=3D/dev/ad4 count=3D2 > dd if=3D/dev/zero of=3D/dev/ad6 count=3D2 >=20 > fdisk -BI ad4 > fdisk -BI ad6 >=20 > bsdlabel -wB /dev/ad4s1 > bsdlabel -wB /dev/ad6s1 >=20 > ------------------------------------------------- > bsdlabel -e /dev/ad4s1 >=20 > a: 1G 16 4.2BSD 1024 8192 0 > b: 5G * swap > c: blah,blah > d: 20G * 4.2BSD 2048 16384 0 > e: 20G * 4.2BSD 2048 16384 0 > f: * * unused 0 0 > ------------------------------------------------- >=20 > bsdlabel /dev/ad4s1 > /tmp/bsdlabel.txt && bsdlabel -R \ > /dev/ad6s1 /tmp/bsdlabel.txt >=20 > Now it was way past midnight, I cannot recall but might have run > this: >=20 > gmirror label -nb round-robin gm0 ad4s1 ad6s1 >=20 > I ran these: >=20 > gmirror label root ad4s1a ad6s1a > gmirror label var ad4s1d ad6s1d > gmirror label usr ad4s1e ad6s1e > gmirror label -F swap ad4s1b ad6s1b > gmirror load >=20 > newfs -b 8192 -f 1024 /dev/mirror/root > newfs /dev/mirror/var > newfs /dev/mirror/usr >=20 > mount /dev/mirror/root /mnt > mkdir /mnt/var /mnt/usr > mount /dev/mirror/var /mnt/var > mount /dev/mirror/usr /mnt/usr >=20 > So I got the files with 'ftp passive' and followed the article all > to the 'reboot' command. Seemed okay. >=20 > Now at the next page of the article: >=20 > /doc/en_US.ISO8859-1/articles/remote-install/zfs.html >=20 > Having read several articles and the zpool manual page, I still > have failed to create any kind of ZFS storage pool. >=20 > Darrel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" How about you scrape the gmirror altogether and use ZFS's mirror instead ? This way, you could also use the whole disks for ZFs instead of having to cr= eate labels and slices...=