Date: Mon, 2 Jul 2018 17:35:28 +0200 From: Maurizio Vairani <clover.informatica.it@gmail.com> To: =?UTF-8?Q?Karli_Sj=c3=b6berg?= <karli@inparadise.se> Cc: freebsd-fs@freebsd.org Subject: Re: Reproducible panic playing with zpool remove in FreeBSD 11.2-RELEASE. Message-ID: <f2b66f27-d9f0-e79b-142b-d40e6c470be6@cloverinformatica.it> In-Reply-To: <dc187d15-c1c8-4dc2-b760-bfce877e3769@email.android.com> References: <dc187d15-c1c8-4dc2-b760-bfce877e3769@email.android.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Il 02/07/2018 16:45, Karli Sjöberg ha scritto: > > > On Jul 2, 2018 15:52, Maurizio Vairani > <clover.informatica.it@gmail.com> wrote: > > Hi, > > boot the 11.2-RELEASE installation media in the . > Insert an USB memory stick, suppose it is /dev/da5. > # gpart create -s GPT da5 > # gpart add -t freebsd-zfs -a 1m -s 1g da5 > # gpart add -t freebsd-zfs -a 1m -s 1g da5 > # zpool create -O mountpoint=/tmp/ztest ztest da5p1 da5p2 > # cp /bin/* /tmp/ztest > # zpool remove ztest da5p1 > > > How are you even able to remove a partition in a pool without redundancy? > > I would've thought ZFS would complain about that and at least force > you to have an '-f' or something in there... This is a new feature in 11.2-RELEASE. From ZPOOL-FEATURES(7): device_removal GUID com.delphix:device_removal READ-ONLY COMPATIBLE no DEPENDENCIES none This feature enables the "zpool remove" subcommand to remove top-level vdevs, evacuating them to reduce the total size of the pool.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2b66f27-d9f0-e79b-142b-d40e6c470be6>