From owner-freebsd-questions@FreeBSD.ORG Mon Dec 6 05:24:05 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA6F6106567A for ; Mon, 6 Dec 2010 05:24:05 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4B98FC0A for ; Mon, 6 Dec 2010 05:24:04 +0000 (UTC) Received: by fxm16 with SMTP id 16so9070919fxm.13 for ; Sun, 05 Dec 2010 21:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1OF7TFgB5wiJ/ZxOyyDPf5NBNnYp/LTE9rG7F6XkETs=; b=YXto/WaSBOMCl4p02yCDeyeMSTyAgxWh2JQgnj3I5NlERYh6CKJvkYqXL6RJT4T4Dg IsTXmKb8eEoKljZAYrp328fMWYKmD5Plaz7fAG658lBnTaYvqXWOxhXyGlBEgOKJxvPP TWELi3w+hx4m4mEO4zhhq6sC083FCH+TS6yR8= 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=dhhcQC2i1Hq1hDZoHp9s9y1RVQ9SG+unWZHOB/aPtoZsbZWFaXlWTngA3a4StoGQ7g E+VWfq/23oS2fk3QnQQjza8whyNSwGB3ogaoWiEYXlqffwsbTZrK46QqrtcZ1ny6TxKy zOMesMULED7RpZrzYbjxUAOm6qj+iCSkepIZA= MIME-Version: 1.0 Received: by 10.223.70.136 with SMTP id d8mr5174440faj.3.1291611552042; Sun, 05 Dec 2010 20:59:12 -0800 (PST) Received: by 10.223.78.205 with HTTP; Sun, 5 Dec 2010 20:59:11 -0800 (PST) In-Reply-To: References: Date: Sun, 5 Dec 2010 23:59:11 -0500 Message-ID: From: "illoai@gmail.com" To: Peter Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: how to trace /dev/gpt/label to adaX to conroller? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 05:24:05 -0000 On 8 November 2010 12:19, Peter wrote: > iH, > =A0Is there any easy straight forward way to trace my /dev/gpt/data.zfs > disk to what ada device it is, and on what controller? > > I've traced it manually by doing a gpart list adaX |grep data.zfs on each > adaX device, then somehow I found out what controller it is on [I think b= y > manually looking at serial number of the disk, and tracing cables]. =A0Th= is > was easy when I had 2 disks, but now I have 4, and figure there could be > an easier way instead of doing a 'for i' loop on each adaX device, tracin= g > cables, etc. > > FreeBSD 8-STABLE if it makes a difference. > > ]Peter[ > =A0I'm prolly doing something wrong. Variations on # gpart list do you any good? --=20 --