Date: Tue, 15 Oct 2013 17:49:06 -0500 From: "James R. Van Artsdalen" <james-freebsd-current@jrv.org> To: freebsd-current@freebsd.org Subject: Please shorten ZFS disk names. Message-ID: <525DC662.6030002@jrv.org>
index | next in thread | raw e-mail
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.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525DC662.6030002>
