rendered paste body-bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63>
/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@0,0
1. c0t1d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63>
/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@1,0
2. c0t2d0 <SUN72G cyl 8921 alt 2 hd 255 sec 63>
/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@2,0
Specify disk (enter its number): 2
selecting c0t2d0
format> veri
Primary label contents:
Volume name = < >
ascii name = <SUN72G cyl 8921 alt 2 hd 255 sec 63>
pcyl = 8923
ncyl = 8921
acyl = 2
bcyl = 0
nhead = 255
nsect = 63
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 32 258.86MB (33/0/0) 530145
1 unassigned wm 33 - 65 258.86MB (33/0/0) 530145
2 backup wm 0 - 8920 68.34GB (8921/0/0) 143315865
3 unassigned wm 66 - 98 258.86MB (33/0/0) 530145
4 unassigned wm 99 - 131 258.86MB (33/0/0) 530145
5 unassigned wm 132 - 164 258.86MB (33/0/0) 530145
6 unassigned wm 165 - 197 258.86MB (33/0/0) 530145
7 unassigned wm 198 - 8920 66.82GB (8723/0/0) 140134995
8 unassigned wu 0 0 (0/0/0) 0
9 unassigned wu 0 0 (0/0/0) 0
format> q
-bash-3.00# fstyp /dev/dsk/c0t2d0s4
Unknown_fstyp (no matches)
-bash-3.00# fstyp /dev/dsk/c0t2d0s5
Unknown_fstyp (no matches)
-bash-3.00# zpool create testpool mirror c0t2d0s4 c0t2d0s5
-bash-3.00# zpool status -v
pool: testpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c0t2d0s4 ONLINE 0 0 0
c0t2d0s5 ONLINE 0 0 0
errors: No known data errors
-bash-3.00# stmsboot -e
[system reboots, login]
-bash-3.00# /usr/sbin/stmsboot -L
non-STMS device name STMS device name
------------------------------------------------------------------
/dev/rdsk/c0t2d0 /dev/rdsk/c4t500000E0115FFB50d0
-bash-3.00# zpool status -v
pool: testpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c4t500000E0115FFB50d0s4 ONLINE 0 0 0
c4t500000E0115FFB50d0s5 ONLINE 0 0 0
errors: No known data errors