From owner-freebsd-fs@FreeBSD.ORG Fri Jun 12 21:05:06 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 8F6BF10656A7 for ; Fri, 12 Jun 2009 21:05:06 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC298FC19 for ; Fri, 12 Jun 2009 21:05:05 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1MFDvq-00024n-Ca for freebsd-fs@freebsd.org; Fri, 12 Jun 2009 21:05:02 +0000 Received: from 67.177.235.141 ([67.177.235.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2009 21:05:02 +0000 Received: from mlists by 67.177.235.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2009 21:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Peter Jones Date: Fri, 12 Jun 2009 14:53:50 -0600 Lines: 14 Message-ID: <86ljnxyy01.fsf@pmade.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 67.177.235.141 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin) Cancel-Lock: sha1:OmNB8sVqBY2G+QGvct/rZavwbqw= Sender: news Subject: Logical Disk to Physical Drive Mapping 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: Fri, 12 Jun 2009 21:05:07 -0000 Given the situation where you have several identical physical drives, what is the best way to turn logical labels such as da5 into a physical identifier like "the drive in slot 4"? It looks like I could use dmesg, some assumptions, and glabel to label the logical disks. However, I plan to use ZFS and as far as I can tell glabel doesn't support ZFS. What is the de facto way of doing this? I'll be using FreeBSD-CURRENT for this, btw. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US