From owner-freebsd-questions@FreeBSD.ORG Sat Jun 4 15:11:37 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 B05651065670 for ; Sat, 4 Jun 2011 15:11:37 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 482B78FC16 for ; Sat, 4 Jun 2011 15:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=Ij7Ols8fj+zs9LcqZSurohaURCF/HQy0bidwWuGFSw4=; b=rPJbd0lmFiAYjU2Xpz7xeYPBllBHO9r2iLp3VcIXdigvuOB0Rgbw6udIhhGWRuuMi5GIK3JJD9GTlWtRpvCC540ZFwjge5x0l2GnyQ5cDZLxTA505BrFMxKfmWG1hZoP3WwnmoYz5OXZLqq2qCUk8VNFFYwhyRfvdQ3nJpk04r4=; Received: from iglou3.iglou.com ([192.107.41.6]:60387 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1QSsVk-0001rO-Ny by authid with igloumta_auth for freebsd-questions@freebsd.org; Sat, 04 Jun 2011 11:11:36 -0400 Received: from shell1.iglou.com ([192.107.41.17]:36123 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1QSsVj-00021h-Vm; Sat, 04 Jun 2011 11:11:36 -0400 Date: Sat, 4 Jun 2011 11:11:35 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Damien Fleuriot In-Reply-To: <1700D703-4C8A-4793-9FCB-F792CCE4C646@my.gd> Message-ID: References: <1700D703-4C8A-4793-9FCB-F792CCE4C646@my.gd> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b 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 15:11:37 -0000 >> >> 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. >> >> Basically, I followed this article: >> >> /doc/en_US.ISO8859-1/articles/remote-install/installation.html >> >> Previous to this, I had been using sysinstall. >> >> dd if=/dev/zero of=/dev/ad4 count=2 >> dd if=/dev/zero of=/dev/ad6 count=2 >> >> fdisk -BI ad4 >> fdisk -BI ad6 >> >> bsdlabel -wB /dev/ad4s1 >> bsdlabel -wB /dev/ad6s1 >> >> ------------------------------------------------- >> bsdlabel -e /dev/ad4s1 >> >> 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 >> ------------------------------------------------- >> >> bsdlabel /dev/ad4s1 > /tmp/bsdlabel.txt && bsdlabel -R \ >> /dev/ad6s1 /tmp/bsdlabel.txt >> >> Now it was way past midnight, I cannot recall but might have run >> this: >> >> gmirror label -nb round-robin gm0 ad4s1 ad6s1 >> >> I ran these: >> >> gmirror label root ad4s1a ad6s1a >> gmirror label var ad4s1d ad6s1d >> gmirror label usr ad4s1e ad6s1e >> gmirror label -F swap ad4s1b ad6s1b >> gmirror load >> >> newfs -b 8192 -f 1024 /dev/mirror/root >> newfs /dev/mirror/var >> newfs /dev/mirror/usr >> >> mount /dev/mirror/root /mnt >> mkdir /mnt/var /mnt/usr >> mount /dev/mirror/var /mnt/var >> mount /dev/mirror/usr /mnt/usr >> >> So I got the files with 'ftp passive' and followed the article all >> to the 'reboot' command. Seemed okay. >> >> Now at the next page of the article: >> >> /doc/en_US.ISO8859-1/articles/remote-install/zfs.html >> >> Having read several articles and the zpool manual page, I still >> have failed to create any kind of ZFS storage pool. >> > > > 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 create labels and slices... Well, I might even do this today. I still intend to run FreeBSD on it. So, perhaps something like this?: http://www.b0rken.org/freebsd/zfs.html Darrel