1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
gpart create -s gpt /dev/da4

gpart add -a 4k -i 1 -s 2g -t freebsd-swap /dev/da4
gpart add -a 4k -i 2 -t freebsd-zfs /dev/da4

glabel status | grep da4

zpool attach personal gptid/302d8674-8532-11e7-81f4-3c4a92f7783c gptid/f23b85d2-854a-11e7-81f4-3c4a92f7783c



root@guile:~ # zpool status -v family
  pool: family
 state: ONLINE
  scan: resilvered 3.68M in 0h0m with 0 errors on Sat Aug 19 03:34:45 2017
config:

	NAME                                            STATE     READ WRITE CKSUM
	family                                          ONLINE       0     0     0
	  mirror-0                                      ONLINE       0     0     0
	    gptid/d6a27299-dc08-11e4-a59a-3c4a92f7783c  ONLINE       0     0     0
	    gptid/d181f052-26e0-11e7-a6f9-3c4a92f7783c  ONLINE       0     0     0

errors: No known data errors



root@guile:~ # camcontrol devlist
<ATA WDC WD20EZRX-00D 0A80>        at scbus0 target 8 lun 0 (pass0,da0)
<ATA ST2000DM006-2DM1 CC26>        at scbus0 target 9 lun 0 (pass1,da1)
<ATA ST3000DM001-1ER1 CC25>        at scbus0 target 10 lun 0 (pass2,da2)
<ATA ST3000DM001-1ER1 CC25>        at scbus0 target 11 lun 0 (pass3,da3)
<HP DL18xG6BP 2.10>                at scbus0 target 12 lun 0 (pass4,ses0)
<ATA ST4000DM005-2DP1 0001>        at scbus0 target 16 lun 0 (pass5,da4)
<SanDisk  1.26>                    at scbus8 target 0 lun 0 (pass6,da5)


root@guile:~ # glabel status
                                      Name  Status  Components
gptid/d6a27299-dc08-11e4-a59a-3c4a92f7783c     N/A  da0p2
gptid/d181f052-26e0-11e7-a6f9-3c4a92f7783c     N/A  da1p2
gptid/af637efb-dc07-11e4-a59a-3c4a92f7783c     N/A  da2p2
gptid/b0d0c32f-dc07-11e4-a59a-3c4a92f7783c     N/A  da3p2
gptid/ce6d0952-79f8-11e5-84ef-3c4a92f7783c     N/A  da5p1
gptid/ce756dba-79f8-11e5-84ef-3c4a92f7783c     N/A  da5p2


root@guile:~ # glabel list | grep -E "Geom|Name|Mediasize"
\Geom name: da0p2
1. Name: gptid/d6a27299-dc08-11e4-a59a-3c4a92f7783c
   Mediasize: 1998217809920 (1.8T)
1. Name: da0p2
   Mediasize: 1998217809920 (1.8T)
Geom name: da1p2
1. Name: gptid/d181f052-26e0-11e7-a6f9-3c4a92f7783c
   Mediasize: 1998217809920 (1.8T)
1. Name: da1p2
   Mediasize: 1998217809920 (1.8T)
Geom name: da2p2
1. Name: gptid/af637efb-dc07-11e4-a59a-3c4a92f7783c
   Mediasize: 2998411857920 (2.7T)
1. Name: da2p2
   Mediasize: 2998411857920 (2.7T)
Geom name: da3p2
1. Name: gptid/b0d0c32f-dc07-11e4-a59a-3c4a92f7783c
   Mediasize: 2998411857920 (2.7T)
1. Name: da3p2
   Mediasize: 2998411857920 (2.7T)
Geom name: da5p1
1. Name: gptid/ce6d0952-79f8-11e5-84ef-3c4a92f7783c
   Mediasize: 524288 (512K)
1. Name: da5p1
   Mediasize: 524288 (512K)
Geom name: da5p2
1. Name: gptid/ce756dba-79f8-11e5-84ef-3c4a92f7783c
   Mediasize: 8003739648 (7.5G)
1. Name: da5p2
   Mediasize: 8003739648 (7.5G)



glabel list, zpool status, and smartctl -a /dev/adaX