Date: Wed, 27 May 2015 19:30:54 -0400 From: Jon Radel <jon@radel.com> To: Baho Utot <baho-utot@columbus.rr.com>, freebsd-questions@freebsd.org Subject: Re: FreeBSD 10.1 + ZFS Message-ID: <556653AE.7080608@radel.com> In-Reply-To: <55663337.4050806@columbus.rr.com> References: <5563939F.2070303@columbus.rr.com>, <86oal8gu30.fsf@red.stonehenge.com>, <5563A6E0.4010402@columbus.rr.com> <86382kgoi8.fsf@red.stonehenge.com>, <20150526030812.8e749982.freebsd@edvax.de>, <20150526034748.GA1674@WorkBox.Home>, <5564E1CE.2040700@columbus.rr.com> <5564E6F5.1090306@radel.com>, <5564EF07.2080603@columbus.rr.com> <20150527000713.GA3257@WorkBox.Home>, <CADqw_g%2BrHfZCC4oDRLZYHjYO5BNTTgaejU53062Qmfx8cefO9Q@mail.gmail.com> <SNT146-W323F8A94EFA6EA618FBD27A1CB0@phx.gbl> <55661AA5.9030403@columbus.rr.com> <55662C35.4000802@radel.com> <55663337.4050806@columbus.rr.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 5/27/15 5:12 PM, Baho Utot wrote:
>
>
> On 05/27/15 16:42, Jon Radel wrote:
>> On 5/27/15 3:27 PM, Baho Utot wrote:
>>>
>>> I do understand how ZFS works I am using it (ZFS RAID-Z1) on three
>>> boxen but not as the root file system.
>>>
>>>
>> <snip>
>>>
>>> You cannot do RAID-Z2 with three drives only as RAID-Z2 has two
>>> parity drives
>> You either contradict yourself or you have a shaky understanding of
>> the word "cannot". Not recommended, quite possibly not the best way
>> to use 3 disks, sure.... Cannot, well, not so much.
>
> Ok tell me how you have two parity drives with using only three
> drives. It can not be done.
>
Like this, more or less:
root@pumpkin:/etc # gpart add -t freebsd -s 10G ada0
ada0s2 added
root@pumpkin:/etc # gpart add -t freebsd -s 10G ada0
ada0s3 added
root@pumpkin:/etc # gpart add -t freebsd -s 10G ada0
ada0s4 added, but partition is not aligned on 4096 bytes
root@pumpkin:/etc # zpool create tada raidz2 /dev/ada0s2 /dev/ada0s3
/dev/ada0s4
root@pumpkin:/etc # zpool status tada
pool: tada
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tada ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ada0s2 ONLINE 0 0 0
ada0s3 ONLINE 0 0 0
ada0s4 ONLINE 0 0 0
errors: No known data errors
root@pumpkin:/etc # df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ada0s1a 253911544 902528 232696096 0% /
devfs 1 1 0 100% /dev
tada 10033936 96 10033840 0% /tada
root@pumpkin:/etc #
Of course, if one wanted a 3-device raidz2 vdev in production in the
first place, you'd do
well to have the partitions on 3 different drives, much better
performance and resilience
that way. But the logical structure of the ZFS vdev is the same.
Why are you so certain that this is impossible?
--Jon Radel
jon@radel.com
[-- Attachment #2 --]
0 *H
010 + 0 *H
00 #SanzTgk!0
*H
0o10 USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0
141222000000Z
200530104838Z010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0"0
*H
0
zSNpRV&IQZI`zQBy"aNv#
J n=ٺ.CRC|2PȦOZϓ%{0dV*$3DiFK3@@:*S= a<UNv%!)|qvO_T{5R"=,0-1YR73i-C֥wgQ'뼥8v8ߌIs:2:=F:WtaP@?⟢! 00U#0z4&&T$T0UakᢠOg£ 0U0U0 0U%0++0U
00U 0DU=0;09753http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0
*H
*nU:Uka+ #fjow^a } [jr
AX&MX"cR6}Xޫ;cs{B#ʶM>K-ػBKiۦ74{:ǟO4ne6d)5ֱqC>2Svʆ4,Jؙ
␒ZBj#!eջ~ꌅ b:,Yř38zyJ&|00sT<}k
`i
0
*H
010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0
150330000000Z
180329235959Z010 UUS10U2215010 UVA10USpringfield10U 6917 Ridgeway Dr.10U
Jon T. Radel1200U)Issued through Jon T. Radel E-PKI Manager10UCorporate Secure Email10U Jon Radel10 *H
jon@radel.com0"0
*H
0
aЩ@@g3eGރ͛; d#>q7&Hf
:3vL"jV#Xݷ>U-H[$SUڻ{Ϝ,z¶IchO=rcyrn v.Vh7k;%ueYuӬnz6!| !Aȡ+,u+
CAպF-un#vjUJWnk%j]
2JPkl 00U#0akᢠOg£ 0UE|GDp/ʚB0U0U0 0U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0]UV0T0RPNLhttp://crl.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crl0+00X+0Lhttp://crt.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0
jon@radel.com0
*H
KS `?H_D`8G߿VbĘ<tB-Ӈї|{'Ũݹg0Gp$%F(;*MO*gt$@ t6,?0|#ăz,&! {j2i[%b7ߪP+9G㲍["y<?8rZ'[UR6%L̤
w"=:L~Ƨ^jf36 OP1.}(e110-0010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0 + U0 *H
1 *H
0 *H
1
150527233054Z0# *H
1R6*'$6
TV10l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0*H
1010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0
*H
!._WθAՔFN=1u=U]n$rLՅ{*c{zjs[hx
}ۢ 鴌pıbb;958;>pGe[ÿH] R%1<f2YAim)P]7ԉ}ofs6(+XR k~N|
GS<Di"Ye I=
_He?DB9
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?556653AE.7080608>
