From owner-freebsd-hackers@freebsd.org Mon Feb 27 02:24:08 2017 Return-Path: Delivered-To: freebsd-hackers@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 722E3CEFB30 for ; Mon, 27 Feb 2017 02:24:08 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x241.google.com (mail-yw0-x241.google.com [IPv6:2607:f8b0:4002:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3517B3BF for ; Mon, 27 Feb 2017 02:24:08 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x241.google.com with SMTP id l138so1000437ywc.0 for ; Sun, 26 Feb 2017 18:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LINNW1MLtLUGvEWYc2GTtJvSqBCWGF0iYzLcy44c3po=; b=iNuiKX0kLpwrhfKnRRf1Ejttnqvux2obhOBUFEJZboz+z1U01urSKQI2Oca+jJGgZ8 5eMefoRhwJwZCRITBNqI+EvYF4BTil4WGObPcgkMo+Exf2okX307FMFT6lxi4ccoVkFB yyds/YqedLjVWYX9CtSNNdwQpYF2FRAf4UgBvM07JXvTm+x3tjx8IzzFzm3r5qD43/vu i6utQwNe7C8+Y+o6smFQkbXtE3pjBRBxRw9euPrXByfVFkVFvxBJKe9RZb6Iwb7C3YRf vug7id/XgmnZWOdhcqZwO56fCze8uk87huq4uxuqQtJSf7tNzwXFYl/8pphpPnOSqPse p2mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LINNW1MLtLUGvEWYc2GTtJvSqBCWGF0iYzLcy44c3po=; b=oWPQcuJzhvsvojvKzC0B8DXFTnPbBDFbbz1CxmOceFGDqZdYUZG8hUH34sLTbVzUre C8g/Pim+tSK5oxddJ979NFj3Jh0SxnCLzNG6UCwfBGTQjUKjqe7GisER3w1v79RYiWNJ o+uHBwi+3J6fB3y/sbzVnK+6Bc8Rmg/R+vfJD4E7j92qpmAymIT3uzKZCQL9RjDhwvi3 BK/eXk9aRnsMz3ejpFKHFqYl9biPLhFVUQA+rvJkcu3PK8nryLj7jYSC/uutalVR9+pk nN3Z15wNoKXbNrL+ZRKcQQPYenhIbwBWHanMOQwTaahRkSjCexpTr3Nk5S2xnLf9PAB0 jDTg== X-Gm-Message-State: AMke39k6KrdP3RPJRCP+nZcckjMCxENI/PrFG2n9W5MrDQWuGY/01hz2yq/SJCfkYt4EGncuofZrtiG+HEL7Ag== X-Received: by 10.129.173.68 with SMTP id l4mr6596515ywk.351.1488162247475; Sun, 26 Feb 2017 18:24:07 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.38.133 with HTTP; Sun, 26 Feb 2017 18:24:07 -0800 (PST) In-Reply-To: References: From: Alan Somers Date: Sun, 26 Feb 2017 19:24:07 -0700 X-Google-Sender-Auth: ofcLPoCq464oKGYdyirDFmnDd0k Message-ID: Subject: Re: ZFS should prefer the most specific... or something. To: Zaphod Beeblebrox Cc: Andrey Fesenko , FreeBSD Hackers Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 02:24:08 -0000 On Sun, Feb 26, 2017 at 6:28 PM, Zaphod Beeblebrox wrote: > On Sun, Feb 26, 2017 at 7:09 PM, Andrey Fesenko wrote: > >> >> "A disk can be specified by a full path to the device or the geom(4) >> provider name" see zpool(8) >> For example gpt lables >> >> > Yeah, no. You didn't read carefully. Let me be more clear. Some random > rejig of device names causes zfs to abandon your carefully constructed > name. GPT and GPT labels are more stable, but some machines will not allow > a GPT label. Anyways, after the random event, you have maximally long, > low-signal-to-noise ratio names. Zaphod, You can fix your particular problem by setting "kern.geom.label.disk_ident.enable=0" in /boot/loader.conf. -Alan