From owner-freebsd-fs@FreeBSD.ORG Mon Apr 13 04:23:30 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD7B31065673 for ; Mon, 13 Apr 2009 04:23:30 +0000 (UTC) (envelope-from dimitar.vassilev@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4865E8FC16 for ; Mon, 13 Apr 2009 04:23:30 +0000 (UTC) (envelope-from dimitar.vassilev@gmail.com) Received: by ewy19 with SMTP id 19so1820821ewy.43 for ; Sun, 12 Apr 2009 21:23:29 -0700 (PDT) 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=f0Vx2jMSOf0JY9YL1UdU4EfcnWHbDrMmI1XgUwR/Uus=; b=FTQoVkT5SJ8eoou89l+ZNNx0PaNx1Xem0WQmgBkbgq7oxCGJXWKa/7bmpzMhB2pHvp 293p91OCBOghYo1Ng7jg6Bmp8wXsXejvr2WZNnuzZE7a7r9NBqBsgeIdZI3p9veWtd+/ P1JIUWb41mOTn3pYwdZYNy4A7bY/o9p6JCAQQ= 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=PN/PenCmDa1DWlvmk9uSzUbRFEZN2GmQcw6UeImfy64FtaT34EEhFxwRzkg5rrx+L0 3TVeQu3rSJK2ePXtd8zr0qgjNfSgM0vISjGEBx7tDLTNxFjXuFbZxjw6h1k0o/IcgE4B KWyPMjw1FengEv1YZt/Gshg142plxbTrr1+uU= MIME-Version: 1.0 Received: by 10.216.72.209 with SMTP id t59mr1429829wed.27.1239594852050; Sun, 12 Apr 2009 20:54:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Apr 2009 06:54:12 +0300 Message-ID: <59adc1a0904122054j52cf9c60h6b3909379e04463@mail.gmail.com> From: Dimitar Vasilev To: "Tobias C. Berner" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re: zfs and moving devices X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 04:23:31 -0000 2009/4/13 Tobias C. Berner : > Hi > > I have a zfs pool > > =C2=A0 =C2=A0 =C2=A0 =C2=A0NAME =C2=A0 =C2=A0 =C2=A0 =C2=A0STATE =C2=A0 = =C2=A0 READ WRITE CKSUM > =C2=A0 =C2=A0 =C2=A0 =C2=A0multimedia =C2=A0ONLINE =C2=A0 =C2=A0 =C2=A0 0= =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ad8 =C2=A0 =C2=A0 =C2=A0 ONLINE =C2=A0 = =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ad10 =C2=A0 =C2=A0 =C2=A0ONLINE =C2=A0 = =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ad12 =C2=A0 =C2=A0 =C2=A0ONLINE =C2=A0 = =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ad14 =C2=A0 =C2=A0 =C2=A0ONLINE =C2=A0 = =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 > > Now, I need more sata-connecters. If I activate > an other onboard-controller, the device names > move: > > =C2=A0 ad8 =C2=A0-> ad14 > =C2=A0 ad10 -> ad16 > =C2=A0 ad12 -> ad18 > =C2=A0 ad14 -> ad20 > > > What is the proper way to handle this in zfs? > > > thanks, Tobias > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > There was an option for ata_static_id's in $KERNCONF - you need to enable this to keep the sata from shifting.Don't remember the exact magic instance - should be somewhere in LINT/hint/GENERIC. Should resemble something like ATA_STATIC_ID. Cheers, Dimitar