Date: Mon, 17 Sep 2012 17:33:05 +0300 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: Olivier Smedts <olivier@gid0.org> Cc: freebsd-fs@freebsd.org Subject: Re: zpool add log to root pool Message-ID: <505734A1.9000501@gmail.com> In-Reply-To: <CABzXLYMO3NkNws_8eLE21qMxOiTBK5zq9m_Nb_WrRA_fu=D1_Q@mail.gmail.com> References: <CABzXLYMO3NkNws_8eLE21qMxOiTBK5zq9m_Nb_WrRA_fu=D1_Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
17.09.2012 15:34, Olivier Smedts wrote: > Is there anyone here using a separate log device (or "ZIL") on a root pool ? # zpool set bootfs= tank > # zpool add tank log gpt/zil > cannot add to 'tank': root pool can not have multiple vdevs or separate logs > > Under 9-STABLE, using zpool v28. This seems to be a limitation from > OpenSolaris. For example, FreeBSD supports booting from a > multiple-vdev root pool. I found that most people use the "unset > bootfs property, add vdev, set bootfs again" trick to have a working > multiple-vdev root pool under FreeBSD. I think I can do the same for > the log device but don't want to loose my data. > > Is there anyone successfuly using a log device / zil on a root pool > under FreeBSD ? Me. # zpool iostat -v faz0 capacity operations bandwidth pool alloc free read write read write -------------------------------------- ----- ----- ----- ----- ----- ----- faz0 121G 173G 22 149 130K 671K mirror 121G 173G 22 149 130K 659K gptid/b88daece-7a48-11df-8703-0018f36885d5 - - 10 56 111K 660K gptid/23ddb9f0-7b04-11df-8867-0018f36885d5 - - 10 56 111K 660K logs - - - - - - gptid/3592d260-c98e-11e0-9ef6-0018f36885d5 1,86M 1014M 0 0 0 11,6K cache - - - - - - gptid/3809bef7-c98e-11e0-9ef6-0018f36885d5 36,3G 8M 71 8 653K 374K -------------------------------------- ----- ----- ----- ----- ----- ----- # zpool get bootfs faz0 NAME PROPERTY VALUE SOURCE faz0 bootfs - default -- Sphinx of black quartz judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505734A1.9000501>