From owner-freebsd-fs@FreeBSD.ORG Thu May 31 23:26:10 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A8B2106566C for ; Thu, 31 May 2012 23:26:10 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD168FC0C for ; Thu, 31 May 2012 23:26:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=rair.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SaEkr-000J1B-3K for freebsd-fs@freebsd.org; Thu, 31 May 2012 23:26:09 +0000 Date: Fri, 01 Jun 2012 08:26:07 +0900 Message-ID: From: Randy Bush To: FreeBSD FS User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: hptrr disk labeling 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: Thu, 31 May 2012 23:26:10 -0000 i have an hptrr controller with 12-16 2tb satas on it. a picture before i started cleaning up some disk failures. NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m00-d01 ONLINE 0 0 0 label/m00-d00 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m01-d00 ONLINE 0 0 0 label/m01-d01 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m02-d00 ONLINE 0 0 0 label/m02-d01 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m03-d00 ONLINE 0 0 0 label/m03-d01 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m04-d00 ONLINE 0 0 0 label/m04-d01 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m05-d00 ONLINE 0 0 0 label/m05-d01 ONLINE 0 0 0 the reason i used glabels was because when the system boots or the controller rescans, it assigns da0 to the first drive it finds alive on the controller, da1 to the second, etc. this means that drive addition or removal changes the daX numbering. so the labels are so that zfs can find its ass when assembling the array. the kernel opt options ATA_STATIC_ID # Static device numbering is for ata, not sata, yes? is there a nice way out of this? randy