Please shorten ZFS disk names.
James R. Van Artsdalen
james-freebsd-current at jrv.org
Tue Oct 15 23:03:48 UTC 2013
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 at 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.
More information about the freebsd-current
mailing list