From owner-freebsd-fs@freebsd.org Wed May 17 18:04:51 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99C74D7123F; Wed, 17 May 2017 18:04:51 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00ABF1152; Wed, 17 May 2017 18:04:50 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from iris.berlin.strato.de ([192.166.200.216]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MSdz2-1daSTu2pRU-00RZGI; Wed, 17 May 2017 20:04:42 +0200 Subject: Re: zpool imported twice with different names (was Re: Fwd: ZFS) To: freebsd-fs@freebsd.org Cc: freebsd-stable@freebsd.org References: <7c059678-4af4-f0c9-ff3b-c6266e02fb7a@gmx.com> <20170516170802.71c2a470@fabiankeil.de> From: Nikos Vassiliadis Message-ID: Date: Wed, 17 May 2017 20:04:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170516170802.71c2a470@fabiankeil.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:6Rd0kPg9czQyeXeXZ2jF/uGJOkXUj70mrDlNMedt8G+8LCwuQs1 vVveoV5bQh+1X1rpRPLBKKGDbRx1icgJe44jOBqstKNmR5Wz3r2mJ4XGMC+saoS4TU2n0YK lPg3N3uac4qYTJ/7AHAxwmNwheq/q8zcxdr6dXCqZ/bgrA1jqBrkP5mnLNoeupKPNX8PU1J CP2b3VAJypzIJfE8euPXA== X-UI-Out-Filterresults: notjunk:1;V01:K0:BdwiEojxuvU=:lmUH/4TrjS6leaks0TnLnX Am3V5MGGsvXoj2BbnlG4oFmQqr7XGFaeJ17iki/iRi1DbsrdLDEYhZwpytEihzDmoOFvhRauG j6SfUCK+ncO8ojmfyVZjzBXS9gleTbvo3lxtk+IN+mazTeU2vxet+rd+h/NcuBW/2vOBiLxXT HSPz9Yda0oPbmyb86ks1hz0cdCVkmnR01yn7k5yDKn9Ck5d1KawJ0c63ws0K3HFp1cL5GZ0Yr kumPV7iMAiHNCTPVu785/N8FMVN2CUjSw+YTroMZshruEP+DfODMic8JG2Gk2PSCHUUaX+RgA ATdzw77Fe1/eVkH7oIJF0atLGFZ2JDDjgCgS0ihZU3YOZ3WcHWUS8w/Gr9BAjVOcslk9N/z8q Dd910kF8CRgE+AbWIODfZgH1tKI1CqUqKg1/R+jJI8HMjjWVfO2csl3z/5rEWvcC/znScqmVp JMO2eX6usBVptJI/Z8//sEPdERz4esFg8/EdCziQ265kyumKBMg0kV2PjtPQtj+2gBicfgzex pS5m6iUnwe1MprFm4uSxsRVtbht7aNFKPdqQnaAfBA5/T6WduN3sRv3416Z47Cud6a3l/NbPW 90rSMqEsmMhR9rdohocet34m937D879kLkSLC+O5G7KG9RX4MGd3IdLD/kqvQYcPPeWowUWI9 99c/+QvdsQMNYveKXY56ML7YJ7HfOIzA3LkwHA48ErKzp0u3ajLwREEU+Dr0NHg5SJ591fjDe Op55DTIILt2Gj7dzw5iAPRH5vjnjFdrDMhIAaXpVLjMh6HeIM02667DdlpLgdkmI3acjVyEBi t7mfHy9 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2017 18:04:51 -0000 On 05/16/2017 05:08 PM, Fabian Keil wrote: > Why did you use the -f flag? Unless you can reproduce the > problem without it, it's not obvious to me that this is a > bug. If you boot from another system, there is no other way to import a pool than using "import -f". So, I guess it is part of normal administrative tasks. You can read more here: > http://docs.oracle.com/cd/E19253-01/819-5461/gazuf/index.html This works and always have worked as documented. Renaming a pool also works as documented, that is, doing "zpool import oldnamepool newnamepool". Except for this corner-case. IMHO this is a very serious bug. Best, Nikos