Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 12:54:44 -0800
From:      Artem Belevich <fbsdlist@src.cx>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc:        Rick Macklem <rmacklem@uoguelph.ca>, Dan Nelson <dnelson@allantgroup.com>, Scott Ullrich <sullrich@gmail.com>, freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org>, "Sam Fourman Jr." <sfourman@gmail.com>
Subject:   Re: Help ZFS FreeBSD 8.0 RC2 Write performance issue
Message-ID:  <ed91d4a80911121254v77ae48eatd720cff7dcbb9bc@mail.gmail.com>
In-Reply-To: <86my2ro51s.fsf@ds4.des.no>
References:  <11167f520911111050j36dd94far667c81e6f5c18e69@mail.gmail.com> <20091111204903.GI89052@dan.emsphone.com> <11167f520911111326v13bb442bt36e853afbecdf834@mail.gmail.com> <9bbcef730911111352t12188bdajbca71bcf35a5beb5@mail.gmail.com> <Pine.GSO.4.63.0911121147310.9126@muncher.cs.uoguelph.ca> <11167f520911121044l74744c30u5a4d9ca008ab863c@mail.gmail.com> <d5992baf0911121048o76c1543el2b4d9de84ffb107@mail.gmail.com> <11167f520911121101o403751ddmb544dfaf1c61bf1e@mail.gmail.com> <ed91d4a80911121219sa0f3fa3s934791725028a966@mail.gmail.com> <86my2ro51s.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/11/12 Dag-Erling Sm=F8rgrav <des@des.no>:
> The zpool(1M) manpage seems to disagree:
>
> =A0 =A0 =A0 Log =A0devices =A0can =A0be added, replaced, attached, detach=
ed, and imported
> =A0 =A0 =A0 and exported as part of the larger pool.

Solaris' man page has somewhat different wording -- it indicates that
only part of mirrored log device can be removed. See
http://docs.sun.com/app/docs/doc/819-2240/zpool-1m

In any case the reality is that you can not remove log vdev from the pool:

$ zpool status z1
  pool: z1
 state: ONLINE
 scrub: none requested
config:

	NAME         STATE     READ WRITE CKSUM
	z1           ONLINE       0     0     0
	  mirror     ONLINE       0     0     0
	    ada3p3   ONLINE       0     0     0
	    ada2p3   ONLINE       0     0     0
	logs         ONLINE       0     0     0
	  gpt/zil    ONLINE       0     0     0
	cache
	  gpt/l2arc  ONLINE       0     0     0

errors: No known data errors
$ zpool remove z1 gpt/zil
Password:
cannot remove gpt/zil: only inactive hot spares or cache devices can be rem=
oved

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed91d4a80911121254v77ae48eatd720cff7dcbb9bc>