From owner-freebsd-current@FreeBSD.ORG Tue Oct 15 23:03:48 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8B0DFA75 for ; Tue, 15 Oct 2013 23:03:48 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id 6387E2EAC for ; Tue, 15 Oct 2013 23:03:47 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.jrv.org (Postfix) with ESMTP id 1488F1CE002 for ; Tue, 15 Oct 2013 17:54:30 -0500 (CDT) X-Virus-Scanned: amavisd-new at zimbra.housenet.jrv Received: from mail.jrv.org ([127.0.0.1]) by localhost (zimbra.housenet.jrv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pnDyHODGcY61 for ; Tue, 15 Oct 2013 17:54:29 -0500 (CDT) Received: from [10.0.2.15] (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mail.jrv.org (Postfix) with ESMTPSA id 4D1611CE001 for ; Tue, 15 Oct 2013 17:54:28 -0500 (CDT) Message-ID: <525DC662.6030002@jrv.org> Date: Tue, 15 Oct 2013 17:49:06 -0500 From: "James R. Van Artsdalen" User-Agent: Mozilla/5.0 (Windows NT 5.0; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Please shorten ZFS disk names. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 23:03:48 -0000 BLACKIE:/root# uname -a FreeBSD BLACKIE.housenet.jrv 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256428M: Sun Oct 13 23:46:54 CDT 2013 root@CLANK.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64 This pool is on da{0,1,2,3,4,5,6,7} - I think, only da4 is sure NAME STATE READ WRITE CKSUM z03 ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HSTK ONLINE 0 0 0 da4 ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HTCQ ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300JDT5 ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HTCE ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HTS7 ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300JBN1 ONLINE 0 0 0 diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HTAP ONLINE 0 0 0 another example: BLACKIE:/usr/src# zpool status pool: BLACKIE state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM BLACKIE ONLINE 0 0 0 gptid/3d882ab0-3588-11e3-b6bc-002590c08004 ONLINE 0 0 0 Based on the hardware config that's either ada0p3 or ada1p3. Whichever it is I want to mirror it onto the other but I don't the names to use for src and dst.