From owner-freebsd-stable@FreeBSD.ORG Thu Nov 26 11:10:11 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 39234106568B for ; Thu, 26 Nov 2009 11:10:11 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA9E8FC17 for ; Thu, 26 Nov 2009 11:10:10 +0000 (UTC) Received: by pzk15 with SMTP id 15so467015pzk.3 for ; Thu, 26 Nov 2009 03:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vPTtc3maL3iOZhqm7oMV+84Wwtj7E4uxNdlOgv0eIG4=; b=Qiz3sySKOFqdc9OHfQen1BR0sbg9O9i3mjDg0IYLKOoPx+iMcODCCJZidAqu/0/LKS PZkWgG+RXBQUvk+h0xcUQt2t2Vb42+q9MO3cW9bmbqhl7HqbCScBx0/BJuxVB5m7wm5F +VyPWvxowHYTb1Ms+7bYz4hkUhvlZiO00lFIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ee+pTGnVT+vGyl9abFk0k+47Zf8akJ26L389xweuJiHWok5gLQCuB/HwLQhcbf3Tqk NbSzmZbkBVYLZsfDlYcjT852ByjSCQ5nG2XBdtTKTj4J6ZfSOlQ/5L02hliBWLavOi5T +wZAdFyPFK8jPfB+5CBPrwhhKb+VZ1DHjD1SQ= MIME-Version: 1.0 Received: by 10.142.248.38 with SMTP id v38mr942415wfh.280.1259233810499; Thu, 26 Nov 2009 03:10:10 -0800 (PST) In-Reply-To: <790a9fff0911260229u40d9f499w28a7ce46e1f92467@mail.gmail.com> References: <4B0E3ABA.3030606@tzim.net> <790a9fff0911260040i1456d7c0j4f8327d24d2966cf@mail.gmail.com> <20091126085034.GA51998@icarus.home.lan> <790a9fff0911260229u40d9f499w28a7ce46e1f92467@mail.gmail.com> Date: Thu, 26 Nov 2009 18:10:10 +0700 Message-ID: From: Edho P Arief To: Scot Hetzel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, Jeremy Chadwick 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 11:10:11 -0000 On Thu, Nov 26, 2009 at 5:29 PM, Scot Hetzel wrote: > On 11/26/09, Jeremy Chadwick wrote: >> I'm a bit curious about something, so maybe someone can help me >> =C2=A0understand: >> >> =C2=A0Why are people bothering with GPT labels (or in some cases, glabel= s) >> =C2=A0when AHCI (whether it be ataahci.ko or ahci.ko) is in use? =C2=A0U= nder what >> =C2=A0circumstance would the device name change dynamically in this situ= ation? >> > > There was a thread about this problem where the drives had changed > their device names due to a change in the kernel drive =C2=A0(Current lis= t > from July): > > http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009377.html > > Through out this thread there were various suggests on how he could > recover the system, and prevent the problem from occurring in the > future. > > One of the suggestions was that use of zpool replace to change from > device names to using glabel labels. > > http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009440.html > >> =C2=A0I've never witnessed this happening with AHCI, at least on Intel >> =C2=A0systems, and I've hot-swapped hard disks many times over. >> > > Using glabels, gpt labels, or gptid solves the problem of not needing > to remember which device name the drive originally had. =C2=A0For instanc= e, > on a zfs zraid pool with 3 disks (ad1 ad2 ad3) you could disconnect > the pool from one computer and connect it to another system and it > wouldn't matter which order you reconnected the drives (1 2 3 or 3 =C2=A0= 1 > 2) as the pool would still be recognized when it is imported on the > new system. =C2=A0Also if the new system already has drives ad1 and ad2, = it > wouldn't matter. > > Scot for some reasons it sounds to me like 'avoiding problem' since device name shouldn't matter in zfs (or so I read) --=20 O< ascii ribbon campaign - stop html mail - www.asciiribbon.org