Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 20:13:55 +0900 (JST)
From:      KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQbKEI=?=) <hide@koie.org>
To:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 95519] =?iso-2022-jp?b?WkZTIHNsb2cbJEIkLDpvPXwkRyQtJDobKEI=?=
Message-ID:  <20150416.201355.674815436401545956.hide@koie.org>

next in thread | raw e-mail | index | archive | help
$B8q9>$G$9!#(B

$B<j85$N%^%7%s$r(BFreeBSD 9$B"*(B10$B$K$7$^$7$?!#(B
$B$=$N$H$-$K%Q!<%F%#%7%g%s$N@Z$j$+$?$rJQ$($F(B
ZFS slog$B$K$D$+$C$F$$$?%Q!<%F%#%7%g%s$rJLMQES$K;H$&$3$H$K$7$?$?$a(B
zpool remove $B%3%^%s%I$G(Bslog$B$r>C$7$?$$$N$G$9$,>C$($F$/$l$^$;$s!#(B
$B$J$K$+JL$N<j=g$,I,MW$J$N$G$7$g$&$+(B?
$B$A$J$_$K(Bzpool detach $B%3%^%s%I$O%(%i!<$K$J$j$^$7$?!#(B

$B9=@.>e$O(Bslog$B$,$"$k$N$K<B:]$K$O%G%P%$%9$,$J$$$H%G%0%l!<%I>uBV$K$J$C$F$7$^$&$N$G(B
$B$7$+$?$J$/(BUSB$B%a%b%j$r;I$7$F(Bslog$B$K$7$F$$$^$9!#(B

USB$B%a%b%j$r(Bslog$B$K$7$?<j=g(B
----
# glabel label -v zil /dev/da0  $B"+"+(BUSB$B%a%b%j(B
Metadata value stored on /dev/da0.
Done.
# zpool replace tank label/zil
----

slog$B$r>C$=$&$H$9$k<j=g(B
----
% uname -a
FreeBSD guriandgura 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
% zpool status tank
  pool: tank
 state: ONLINE
  scan: resilvered 0 in 0h41m with 0 errors on Fri Apr  3 16:35:50 2015
config:

	NAME         STATE     READ WRITE CKSUM
	tank         ONLINE       0     0     0
	  raidz1-0   ONLINE       0     0     0
	    ada1s2   ONLINE       0     0     0
	    ada2s2   ONLINE       0     0     0
	    ada3s2   ONLINE       0     0     0
	logs
	  label/zil  ONLINE       0     0     0

errors: No known data errors
% glabel status
      Name  Status  Components
 label/zil     N/A  da0  $B"+"+(BUSB$B%a%b%j(B
...
% sudo zpool remove tank label/zil
% echo $?
0
% zpool status tank
  pool: tank
 state: ONLINE
  scan: resilvered 0 in 0h41m with 0 errors on Fri Apr  3 16:35:50 2015
config:

	NAME         STATE     READ WRITE CKSUM
	tank         ONLINE       0     0     0
	  raidz1-0   ONLINE       0     0     0
	    ada1s2   ONLINE       0     0     0
	    ada2s2   ONLINE       0     0     0
	    ada3s2   ONLINE       0     0     0
	logs
	  label/zil  ONLINE       0     0     0  $B"+"+>C$($F$J$$(B

errors: No known data errors
% sudo zpool detach tank label/zil
cannot detach label/zil: only applicable to mirror and replacing vdevs
%
----

--
$B8q9>1QN4(B <hide@koie.org>



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