From owner-freebsd-stable@FreeBSD.ORG Thu Nov 26 12:00:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7606106568B for ; Thu, 26 Nov 2009 12:00:07 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 87BD18FC13 for ; Thu, 26 Nov 2009 12:00:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NDd14-000281-A8 for freebsd-stable@freebsd.org; Thu, 26 Nov 2009 13:00:06 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Nov 2009 13:00:06 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Nov 2009 13:00:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Thu, 26 Nov 2009 12:56:50 +0100 Lines: 17 Message-ID: References: <4B0E3ABA.3030606@tzim.net> <790a9fff0911260040i1456d7c0j4f8327d24d2966cf@mail.gmail.com> <20091126085034.GA51998@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20090928) In-Reply-To: <20091126085034.GA51998@icarus.home.lan> Sender: news Subject: Re: Can't use gpt labels re-importing pool X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 12:00:07 -0000 Jeremy Chadwick wrote: > Why are people bothering with GPT labels (or in some cases, glabels) > when AHCI (whether it be ataahci.ko or ahci.ko) is in use? Under what > circumstance would the device name change dynamically in this situation? > > I've never witnessed this happening with AHCI, at least on Intel > systems, and I've hot-swapped hard disks many times over. It isn't specific to AHCI, but this is where most people encountered it first. The issue in question is "how to make ZFS survive drive renaming" for any cause - driver change, controller change, drive shuffling, etc. In general, ZFS will taste individual drives on "zpool import" so will try to do the right thing, but it might pick up different labels for different drives, etc. Using glabel tricks simply makes the naming a bit more consistent.