From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 17:46:37 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 5CCB3106566B for ; Mon, 8 Nov 2010 17:46:37 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7748FC12 for ; Mon, 8 Nov 2010 17:46:36 +0000 (UTC) Received: (qmail 24240 invoked by uid 89); 8 Nov 2010 17:19:55 -0000 Received: from localhost (HELO webmail.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 8 Nov 2010 17:19:55 -0000 Received: from 216.241.167.208 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Mon, 8 Nov 2010 10:19:55 -0700 Message-ID: Date: Mon, 8 Nov 2010 10:19:55 -0700 From: "Peter" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: 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, 08 Nov 2010 17:46:37 -0000 iH, Is 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 by manually looking at serial number of the disk, and tracing cables]. This 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, tracing cables, etc. FreeBSD 8-STABLE if it makes a difference. ]Peter[ I'm prolly doing something wrong.