Date: Fri, 20 Jan 2012 09:55:19 +0100 From: Peter Maloney <peter.maloney@brockmann-consult.de> To: freebsd-fs@freebsd.org Subject: Re: Issues with multiple-vdev ZFS root Message-ID: <4F192BF7.2020500@brockmann-consult.de> In-Reply-To: <20120119201717.GC8142@hades.panopticon> References: <20120109185944.GA8140@hades.panopticon> <20120119201717.GC8142@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/19/2012 09:17 PM, Dmitry Marakasov wrote:
> * Dmitry Marakasov (amdmi3@hades.panopticon) wrote:
>
> Just for the note: I've switched to multiple-vdev root pool
> configuration on a real machine and it works well.
>
> NAME STATE READ WRITE CKSUM
> hades ONLINE 0 0 0
> mirror-0 ONLINE 0 0 0
> ada0p3 ONLINE 0 0 0
> ada1p3 ONLINE 0 0 0
> mirror-1 ONLINE 0 0 0
> ada2p3 ONLINE 0 0 0
> ada3p3 ONLINE 0 0 0
>
> root has 1 copies and I've tried to copy it over, so it's likely
> located on the second mirror, still the system is bootable and I
> haven't seen any problems at all.
>
> The questions still remain, as this configuration is not really
> documented.
>
To test your virtualbox one disk theory, you could create a sliced up
root pool on a single disk:
# gpart show
=> 34 ... da1 GPT (10G)
34 2014 - free - (1M)
2048 128 1 freebsd-boot (64k)
2176 1920 - free - (960k)
4096 ... 2 freebsd-zfs (2G)
... ... 3 freebsd-zfs (2G)
... ... 4 freebsd-zfs (2G)
... ... 5 freebsd-zfs (2G)
# zpool status zroot
...
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/root1 ONLINE 0 0 0
gpt/root2 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gpt/root3 ONLINE 0 0 0
gpt/root4 ONLINE 0 0 0
--
--------------------------------------------
Peter Maloney
Brockmann Consult
Max-Planck-Str. 2
21502 Geesthacht
Germany
Tel: +49 4152 889 300
Fax: +49 4152 889 333
E-mail: peter.maloney@brockmann-consult.de
Internet: http://www.brockmann-consult.de
--------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F192BF7.2020500>
