[PC-BSD Testing] Trouble with ZFS zpool creation

Bill Sun billksun at gmail.com
Tue May 18 10:32:56 PDT 2010


Thanks Kris!  I will be trying out the new snapshot soon.

About raidz, I read somewhere that it'll just behave like "mirror" if you
only have 2 drives.[1]  However, later, I also read that a root pool cannot
be configured with raidz.[2]  But I also read that a mirrored configuration
is better for performance,[3] so I think I'll be going with "mirror" for a
2-drive bootable zfs configuration :)

-Bill

[1] http://osdir.com/ml/os.solaris.opensolaris.zfs/2006-07/msg00107.html
<http://osdir.com/ml/os.solaris.opensolaris.zfs/2006-07/msg00107.html>[2]
http://hub.opensolaris.org/bin/view/Community+Group+zfs/zfsbootFAQ#HInstallationQuestions
[3]
http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Should_I_Configure_a_RAIDZ.2C_RAIDZ-2.2C_RAIDZ-3.2C_or_a_Mirrored_Storage_Pool.3F

On Tue, May 18, 2010 at 4:57 AM, Kris Moore <kris at pcbsd.org> wrote:

>  On 05/17/2010 16:20, Bill Sun wrote:
>
> I'm getting an error creating zpool when trying to install from
> PCBSD8-STABLE-20100420-x64-DVD.iso:
>
>  cannot create 'tank0': one or more devices is currently unavailable
> Error1: zpool create -m none -f tank0 raidz ad10p2 ad8
>
>  ad10 and ad8 are identical Hitachi 750 GB SATA drives.  In the installer
> I selected ad10 as the install destination and add a 10 GB SWAP partition
> and then used the rest as ZFS. Under the ZFS dialog, I have selected raidz
> and added ad8 to the pool, and added "/" mount point.  ad8 should be
> unpartitioned (though it used to have a Kubuntu installation on it), does it
> need to be partitioned?  Can I do this via the installer (i.e., by select
> ad8 as the new installation destination, setup partition, then switch back
> to ad10)?
>
>  Of note, BSD is an entirely new world to me, and I have zero experience
> in setting up ZFS.  I'm currently trying to convert my Kubuntu box into a
> PC-BSD one.
>
>  -Bill
>
>
> Bill,
>
> I've fixed some issues in the latest snapshot with zpool creation, can you
> give that a whirl? Also with raidz, its recommended to use 3 disks in the
> array, you may wish to use "mirror" mode instead :)
>
>
> --
> Kris Moore
> PC-BSD Software
> iXsystems
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20100518/c34bebd5/attachment-0001.html>


More information about the Testing mailing list