From owner-freebsd-stable@FreeBSD.ORG Sat Oct 2 15:13:41 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91F36106566B for ; Sat, 2 Oct 2010 15:13:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id DF4568FC0A for ; Sat, 2 Oct 2010 15:13:40 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o92FDaVP027329 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 2 Oct 2010 16:13:37 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o92FDaVP027329 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1286032417; bh=J0WRu2aRXcyLdJSx8R6qIEim7nHywIqco3sZoWwOHqE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4CA74C18.2020405@infracaninophile.co.uk>|Date:=20S at,=2002=20Oct=202010=2016:13:28=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac= 20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.2.9)=20Gecko/20100915=20Thu nderbird/3.1.4|MIME-Version:=201.0|To:=20=3D?UTF-8?B?UGV0ZXIgQW5rZ XJzdMOlbA=3D=3D?=3D=20|CC:=20"Marat=20N.Afanasyev" =20,=20stable@freebsd.org|Subject:=20Re:=20device=2 0names=20changes=20for=20adX.|References:=20<1C68D21A-9539-473D-AE DB-9A8CCE4956F1@pean.org>=09<4CA73215.9030908@ksu.ru>=20|In-Reply-To:=20|X-Enigmail-Version:=201.1.1|Ope nPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg =3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0 D=0A=20boundary=3D"------------enig6F1BD6F6B75A7669257774CC"; b=uFi24ekZCP2XIR9SLf+ahsTjgcReV0APDYol6OjcSCg1mKoymaOf9gqGjyk9haA8y 6VRVQehmfdlydJxZQB2WZ2BSFArZgNbabns9tHNuWWkcxGin5g8Iej6QEVStzc7KZx UDuB6qfRvq2RB/EbFxit9o8auMzV6U0NAZHxGLM4= Message-ID: <4CA74C18.2020405@infracaninophile.co.uk> Date: Sat, 02 Oct 2010 16:13:28 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: =?UTF-8?B?UGV0ZXIgQW5rZXJzdMOlbA==?= References: <1C68D21A-9539-473D-AEDB-9A8CCE4956F1@pean.org> <4CA73215.9030908@ksu.ru> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6F1BD6F6B75A7669257774CC" X-Virus-Scanned: clamav-milter 0.96.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: "Marat N.Afanasyev" , stable@freebsd.org Subject: Re: device names changes for adX. 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: Sat, 02 Oct 2010 15:13:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6F1BD6F6B75A7669257774CC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/10/2010 15:29:49, Peter Ankerst=C3=A5l wrote: >> Peter Ankerst=C3=A5l wrote: >>> When I installed FreeBSD 8.1-RELEASE (freebsd-update) the adX devices= changed index number and >>> the machine obviously didnt boot. Due to this I hesitate to install 8= =2E1 on my servers remote. How do I know >>> if and to what the devices will change? >> label your filesystems and mount them by label rather than by device n= ame. see >> >> man glabel > Thanks, I may try that. But how will this affect ZFS raidz set up to us= e ad-drives? >=20 > Like this: >=20 > tank ONLINE 0 0 0 > raidz1 ONLINE 0 0 0 > ad10s2 ONLINE 0 0 0 > ad12 ONLINE 0 0 0 > ad14 ONLINE 0 0 0 > ad16 ONLINE 0 0 0 It actually shouldn't matter. ZFS writes metadata about the zpools, zdevs etc. it knows about onto the drives, and if it can read the drive and see the metadata, it can reconstruct itself. You can take disks out of a ZFS setup, shuffle them, stick them back into the wrong slots, and ZFS will still work. Similarly, you can use glabel to name the disks, and switch to using that, and everything should still work. In fact, if you glabel the disks while ZFS is still active, it should instantly recognise all the new names and update the 'zpool status' output on the fly. Actually, that last is probably the right way to do things -- you'll update the zpool.cache that way, which means that ZFS will come up without any remedial action after reboot. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig6F1BD6F6B75A7669257774CC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkynTCAACgkQ8Mjk52CukIxIXQCfZjARgmx5JqyXsWTg+t+zCg9C VBcAoIh+/LFFRRLqFe+EID8Y9gIs5Abc =hsgs -----END PGP SIGNATURE----- --------------enig6F1BD6F6B75A7669257774CC--