ldg1: prtvtoc /dev/dsk/c0t600A098000AC8034000000AD5A20C1BFd0 -7
ldg2: prtvtoc /dev/dsk/c0t600A098000AC8034000000AF5A20C1E4d0 -8
ldg3: prtvtoc /dev/dsk/c0t600A098000AC8034000000B15A20C219d0 -9
ldg4: prtvtoc /dev/dsk/c0t600A098000ADCF3E000000B95A20C257d0 -12
ldg5: prtvtoc /dev/dsk/c0t600A098000ADCF3E000000BB5A20C27Fd0 -13
ldg6: prtvtoc /dev/dsk/c0t600A098000ADCF3E000000BD5A20C2B0d0 -14
ldg7: prtvtoc /dev/dsk/c0t600A098000ADCF3E000000BF5A20C2DCd0 -15 之前查出的信息
==============================================================================================
#以下以ldg6为例做disklable和bootblk操作
Sourcing /root/.profile-EIS...
root@cm01 #
root@cm01 #
root@cm01 # ldm list #列出ldg 状态信息
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.4% 0.4% 6d 4h 36m
ldg1 active -n---- 5001 256 1T 0.5% 0.5% 2d 2h 21m
ldg2 active -n---- 5006 256 1T 0.4% 0.4% 2d 2h 19m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 16m
ldg4 active -n---- 5003 256 512G 0.9% 0.9% 6d 3h 10m
ldg5 active -n---- 5004 256 512G 0.8% 0.7% 6d 3h 28m
ldg6 active -n---- 5000 32 16G 0.0% 0.0% 2d 37m
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 8m
root@cm01 #
root@cm01 # prtvtoc /dev/dsk/c0t600A098000ADCF3E000000BD5A20C2B0d0 #prtvtoc查看当前是否可用
prtvtoc: /dev/rdsk/c0t600A098000ADCF3E000000BD5A20C2B0d0: Unable to read Disk geometry errno = 0x16 #unable
root@cm01 #
root@cm01 # ldm list -l ldg6 #列出要做配置的ldg6 状态信息
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
ldg6 active -n---- 5000 32 16G 0.0% 0.0% 2d 38m #FLAGS状态为n
SOFTSTATE
Solaris running
UUID
0d7235bd-3358-4d50-af30-a3934409911e
MAC
00:14:4f:f8:04:14
HOSTID
0x84f80414
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
effective-max-pagesize=256MB
hardware-max-pagesize=16GB
DEPENDENCY
master=
CORE
CID CPUSET
75 (600, 601, 602, 603, 604, 605, 606, 607)
80 (640, 641, 642, 643, 644, 645, 646, 647)
88 (704, 705, 706, 707, 708, 709, 710, 711)
91 (728, 729, 730, 731, 732, 733, 734, 735)
VCPU
VID PID CID UTIL NORM STRAND
0 600 75 0.1% 0.1% 100%
1 601 75 0.0% 0.0% 100%
2 602 75 0.0% 0.0% 100%
3 603 75 0.0% 0.0% 100%
4 604 75 0.0% 0.0% 100%
5 605 75 0.0% 0.0% 100%
6 606 75 0.0% 0.0% 100%
7 607 75 0.0% 0.0% 100%
8 640 80 0.0% 0.0% 100%
9 641 80 0.0% 0.0% 100%
10 642 80 0.0% 0.0% 100%
11 643 80 0.0% 0.0% 100%
12 644 80 0.0% 0.0% 100%
13 645 80 0.0% 0.0% 100%
14 646 80 0.0% 0.0% 100%
15 647 80 0.0% 0.0% 100%
16 704 88 0.0% 0.0% 100%
17 705 88 0.0% 0.0% 100%
18 706 88 0.0% 0.0% 100%
19 707 88 0.0% 0.0% 100%
20 708 88 0.0% 0.0% 100%
21 709 88 0.1% 0.1% 100%
22 710 88 0.0% 0.0% 100%
23 711 88 0.0% 0.0% 100%
24 728 91 0.0% 0.0% 100%
25 729 91 0.0% 0.0% 100%
26 730 91 0.0% 0.0% 100%
27 731 91 0.0% 0.0% 100%
28 732 91 0.0% 0.0% 100%
29 733 91 0.0% 0.0% 100%
30 734 91 0.0% 0.0% 100%
31 735 91 0.0% 0.0% 100%
MEMORY
RA PA SIZE
0x170000000 0x402170000000 16G
CONSTRAINT
cpu=whole-core
max-cores=unlimited
VARIABLES
auto-boot?=false
boot-device=disk6 disk
pm_boot_policy=disabled=0;ttfc=0;ttmr=0;
IO
DEVICE PSEUDONYM OPTIONS
pci@303/pci@1/network@0,8a /SYS/CMIOU0/PCIE1/IOVNET.PF0.VF5
pci@306/pci@1/network@0,8b /SYS/CMIOU1/PCIE3/IOVNET.PF1.VF5
pci@30a/pci@1/network@0,97 /SYS/CMIOU2/PCIE2/IOVNET.PF3.VF5
pci@30f/pci@1/network@0,97 /SYS/CMIOU3/PCIE2/IOVNET.PF3.VF5
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
disk6 disk6@primary-vds0 0 disk@0 primary #ldg6磁盘名称为disk6
ovm6vdisk01 ovm6vdisk01@primary-vds0 1 disk@1 primary
ovm6vdisk02 ovm6vdisk02@primary-vds0 2 disk@2 primary
VCONS
NAME SERVICE PORT LOGGING
ldg6 primary-vcc0@primary 5000 on
root@cm01 #
root@cm01 # ldm list-services #列出disk对应的DEVICE编号
VCC
NAME LDOM PORT-RANGE
primary-vcc0 primary 5000-5100
VSW
NAME LDOM MACADDRESS NET-DEV DVID|PVID|VIDs
---- ---- ---------- ------- --------------
primary-vsw9 primary 00:14:4f:f8:34:88 -- 1|1|--
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds0 primary disk4 /dev/dsk/c0t600A098000ADCF3E000000B95A20C257d0
disk5 /dev/dsk/c0t600A098000ADCF3E000000BB5A20C27Fd0
disk2 /dev/dsk/c0t600A098000AC8034000000AF5A20C1E4d0
disk3 /dev/dsk/c0t600A098000AC8034000000B15A20C219d0
data2 /dev/dsk/c0t600A098000AC8034000000BE5A20C41Cd0
data1 /dev/dsk/c0t600A098000AC8034000000B35A20C299d0
ovm4vdisk01 /dev/dsk/c0t60002AC000000000000000400001FB2Ed0
ovm3vdisk01 /dev/dsk/c0t60002AC0000000000000004C0001FB2Ed0
ovm3vdisk02 /dev/dsk/c0t60002AC0000000000000004D0001FB2Ed0
ovm3vdisk03 /dev/dsk/c0t60002AC0000000000000004E0001FB2Ed0
ldg2asmvd01 /dev/dsk/c0t60002AC0000000000000003C0001FB2Ed0
ldg2asmvd02 /dev/dsk/c0t60002AC0000000000000003D0001FB2Ed0
ldg2asmvd03 /dev/dsk/c0t60002AC0000000000000003E0001FB2Ed0
ldg2asmvd04 /dev/dsk/c0t60002AC0000000000000003F0001FB2Ed0
ldg2asmvd05 /dev/dsk/c0t60002AC0000000000000004A0001FB2Ed0
ldg2ocrvd01 /dev/dsk/c0t60002AC0000000000000003A0001FB2Ed0
ldg2ocrvd02 /dev/dsk/c0t60002AC0000000000000003B0001FB2Ed0
ldg2ocrvd03 /dev/dsk/c0t60002AC000000000000000390001FB2Ed0
disk6 /dev/dsk/c0t600A098000ADCF3E000000BD5A20C2B0d0
ovm6vdisk01 /dev/dsk/c0t60002AC0000000000000005A0001FB2Ed0
ovm6vdisk02 /dev/dsk/c0t60002AC0000000000000005B0001FB2Ed0
disk7 /dev/dsk/c0t600A098000ADCF3E000000BF5A20C2DCd0
ovm7vdisk01 /dev/dsk/c0t60002AC0000000000000004F0001FB2Ed0
iso_vol /soft/sol-11_3-text-sparc.iso
disk1 /dev/dsk/c0t600A098000AC8034000000AD5A20C1BFd0
ldg1asmvd01 /dev/dsk/c0t60002AC0000000000000003C0001FB2Ed0
ldg1asmvd02 /dev/dsk/c0t60002AC0000000000000003D0001FB2Ed0
ldg1asmvd03 /dev/dsk/c0t60002AC0000000000000003E0001FB2Ed0
ldg1asmvd04 /dev/dsk/c0t60002AC0000000000000003F0001FB2Ed0
ldg1asmvd05 /dev/dsk/c0t60002AC0000000000000004A0001FB2Ed0
ldg1ocrvd01 /dev/dsk/c0t60002AC0000000000000003A0001FB2Ed0
ldg1ocrvd02 /dev/dsk/c0t60002AC0000000000000003B0001FB2Ed0
ldg1ocrvd03 /dev/dsk/c0t60002AC000000000000000390001FB2Ed0
iso_vol2 /soft/sol-11_3-text-sparc-2.iso
ovm1vdisk01 /dev/dsk/c0t60002AC0000000000000004B0001FB2Ed0
#找到ldg6对应的disk6所属的磁盘DEVICE编号,记录下来:
disk6 /dev/dsk/c0t600A098000ADCF3E000000BD5A20C2B0d0
root@cm01 #
root@cm01 # ldm list #查询当前ldg6状态,n为运行中
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.5% 0.5% 6d 4h 41m
ldg1 active -n---- 5001 256 1T 0.5% 0.5% 2d 2h 27m
ldg2 active -n---- 5006 256 1T 0.4% 0.3% 2d 2h 24m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 21m
ldg4 active -n---- 5003 256 512G 1.0% 1.0% 6d 3h 16m
ldg5 active -n---- 5004 256 512G 0.8% 0.8% 6d 3h 33m
ldg6 active -n---- 5000 32 16G 0.0% 0.0% 2d 42m
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 13m
root@cm01 # telnet 0 5000 #进入到ldg6中
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
Connecting to console "ldg6" in group "ldg6" ....
Press ~? for control options .. #enter回车继续,“shift+~”松开再按“.”为退出
erpcatdb01 console login: root #输入用户名
Password: #输入密码
Last login: Fri Apr 27 15:43:57 2018 from 10.2.94.4
Apr 28 16:14:40 erpcatdb01 login: ROOT LOGIN /dev/console
Oracle Corporation SunOS 5.11 11.3 September 2015
You have new mail.
root@erpcatdb01:~# #此时以进入ldg6对应的系统erpcatdb01
root@erpcatdb01:~# init 5 #关机
root@erpcatdb01:~# svc.startd: The system is coming down. Please wait.
svc.startd: 137 system services are now being stopped.
syncing file systems... done #system done表示已关机
VNTSD commands
~# --Send break
~^B --Send alternate break
~. --Exit from this console
~w --Force write access
~n --Console next
~p --Console previous
~? --Help #退出ldg6
Connection to 0 closed by foreign host.
root@cm01 #
root@cm01 #
root@cm01 #
root@cm01 # ldm list #查看ldg6状态,已经关机
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.5% 0.5% 6d 4h 46m
ldg1 active -n---- 5001 256 1T 0.5% 0.5% 2d 2h 31m
ldg2 active -n---- 5006 256 1T 0.4% 0.4% 2d 2h 29m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 26m
ldg4 active -n---- 5003 256 512G 2.6% 2.6% 6d 3h 20m
ldg5 active -n---- 5004 256 512G 0.8% 0.8% 6d 3h 37m
ldg6 bound ------ 5000 32 16G
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 17m
root@cm01 #
root@cm01 #
root@cm01 # format -e #format -e查询所有信息,并找到前面ldg6对应DEVICE,然后对应编号。此处为14
Searching for disks...done
c0t600A098000AC8034000000AD5A20C1BFd0: configured with capacity of 299.98GB
c0t600A098000AC8034000000AF5A20C1E4d0: configured with capacity of 299.98GB
c0t600A098000ADCF3E000000BD5A20C2B0d0: configured with capacity of 299.98GB
c0t60002AC0000000000000005C0001FB2Ed0: configured with capacity of 299.98GB
c0t60002AC000000000000000410001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000420001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000430001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000440001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000450001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000460001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000470001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000480001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000490001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000500001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000510001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000520001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000530001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000540001FB2Ed0: configured with capacity of 1023.94GB
c0t60002AC000000000000000560001FB2Ed0: configured with capacity of 299.98GB
c0t60002AC000000000000000570001FB2Ed0: configured with capacity of 299.98GB
c0t60002AC000000000000000580001FB2Ed0: configured with capacity of 299.98GB
c0t60002AC000000000000000590001FB2Ed0: configured with capacity of 299.98GB
AVAILABLE DISK SELECTIONS:
0. c3t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@304/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU0/EUSB_DISK/disk
1. c4t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@309/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU1/EUSB_DISK/disk
2. c5t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@30e/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU2/EUSB_DISK/disk
3. c6t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@313/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU3/EUSB_DISK/disk
4. c7t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@318/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU4/EUSB_DISK/disk
5. c8t0d0 <MICRON-eUSB DISK-1112 cyl 966 alt 2 hd 128 sec 32> solaris
/pci@31d/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/CMIOU5/EUSB_DISK/disk
6. c0t600A098000AC8034000000A55A20B978d0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000ac8034000000a55a20b978
7. c0t600A098000AC8034000000AD5A20C1BFd0 <NETAPP-INF-01-00-0830 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g600a098000ac8034000000ad5a20c1bf
8. c0t600A098000AC8034000000AF5A20C1E4d0 <NETAPP-INF-01-00-0830 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g600a098000ac8034000000af5a20c1e4
9. c0t600A098000AC8034000000B15A20C219d0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000ac8034000000b15a20c219
10. c0t600A098000AC8034000000B35A20C299d0 <NETAPP-INF-01-00-0830-4.00TB>
/scsi_vhci/ssd@g600a098000ac8034000000b35a20c299
11. c0t600A098000AC8034000000BE5A20C41Cd0 <NETAPP-INF-01-00-0830-5.60TB>
/scsi_vhci/ssd@g600a098000ac8034000000be5a20c41c
12. c0t600A098000ADCF3E000000B95A20C257d0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000adcf3e000000b95a20c257
13. c0t600A098000ADCF3E000000BB5A20C27Fd0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000adcf3e000000bb5a20c27f
14. c0t600A098000ADCF3E000000BD5A20C2B0d0 <NETAPP-INF-01-00-0830 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g600a098000adcf3e000000bd5a20c2b0
15. c0t600A098000ADCF3E000000BF5A20C2DCd0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000adcf3e000000bf5a20c2dc
16. c0t600A098000ADCF3E000000C15A20C486d0 <NETAPP-INF-01-00-0830-300.00GB>
/scsi_vhci/ssd@g600a098000adcf3e000000c15a20c486
17. c0t60002AC0000000000000003A0001FB2Ed0 <3PARdata-VV-3224-50.00GB> ocrvd01
/scsi_vhci/ssd@g60002ac0000000000000003a0001fb2e
18. c0t60002AC0000000000000003B0001FB2Ed0 <3PARdata-VV-3224-50.00GB> ocrvd02
/scsi_vhci/ssd@g60002ac0000000000000003b0001fb2e
19. c0t60002AC0000000000000003C0001FB2Ed0 <3PARdata-VV-3224-1.00TB> asmvd01
/scsi_vhci/ssd@g60002ac0000000000000003c0001fb2e
20. c0t60002AC0000000000000003D0001FB2Ed0 <3PARdata-VV-3224-1.00TB> asmvd02
/scsi_vhci/ssd@g60002ac0000000000000003d0001fb2e
21. c0t60002AC0000000000000003E0001FB2Ed0 <3PARdata-VV-3224-1.00TB> asmvd03
/scsi_vhci/ssd@g60002ac0000000000000003e0001fb2e
22. c0t60002AC0000000000000003F0001FB2Ed0 <3PARdata-VV-3224-1.00TB> asmvd04
/scsi_vhci/ssd@g60002ac0000000000000003f0001fb2e
23. c0t60002AC0000000000000004A0001FB2Ed0 <3PARdata-VV-3224-1.00TB> asmvd05
/scsi_vhci/ssd@g60002ac0000000000000004a0001fb2e
24. c0t60002AC0000000000000004B0001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm1vd01
/scsi_vhci/ssd@g60002ac0000000000000004b0001fb2e
25. c0t60002AC0000000000000004C0001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm3vd01
/scsi_vhci/ssd@g60002ac0000000000000004c0001fb2e
26. c0t60002AC0000000000000004D0001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm3vd02
/scsi_vhci/ssd@g60002ac0000000000000004d0001fb2e
27. c0t60002AC0000000000000004E0001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm3vd03
/scsi_vhci/ssd@g60002ac0000000000000004e0001fb2e
28. c0t60002AC0000000000000004F0001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm7vd01
/scsi_vhci/ssd@g60002ac0000000000000004f0001fb2e
29. c0t60002AC0000000000000005A0001FB2Ed0 <3PARdata-VV-3224-300.00GB> ovm6vd01
/scsi_vhci/ssd@g60002ac0000000000000005a0001fb2e
30. c0t60002AC0000000000000005B0001FB2Ed0 <3PARdata-VV-3224-300.00GB> ovm6vd02
/scsi_vhci/ssd@g60002ac0000000000000005b0001fb2e
31. c0t60002AC0000000000000005C0001FB2Ed0 <3PARdata-VV-3224 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g60002ac0000000000000005c0001fb2e
32. c0t60002AC000000000000000390001FB2Ed0 <3PARdata-VV-3224-50.00GB> ocrvd03
/scsi_vhci/ssd@g60002ac000000000000000390001fb2e
33. c0t60002AC000000000000000400001FB2Ed0 <3PARdata-VV-3224-1.00TB> ovm4vd01
/scsi_vhci/ssd@g60002ac000000000000000400001fb2e
34. c0t60002AC000000000000000410001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000410001fb2e
35. c0t60002AC000000000000000420001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000420001fb2e
36. c0t60002AC000000000000000430001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000430001fb2e
37. c0t60002AC000000000000000440001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000440001fb2e
38. c0t60002AC000000000000000450001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000450001fb2e
39. c0t60002AC000000000000000460001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000460001fb2e
40. c0t60002AC000000000000000470001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000470001fb2e
41. c0t60002AC000000000000000480001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000480001fb2e
42. c0t60002AC000000000000000490001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000490001fb2e
43. c0t60002AC000000000000000500001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000500001fb2e
44. c0t60002AC000000000000000510001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000510001fb2e
45. c0t60002AC000000000000000520001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000520001fb2e
46. c0t60002AC000000000000000530001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000530001fb2e
47. c0t60002AC000000000000000540001FB2Ed0 <3PARdata-VV-3224 cyl 43688 alt 2 hd 256 sec 192>
/scsi_vhci/ssd@g60002ac000000000000000540001fb2e
48. c0t60002AC000000000000000550001FB2Ed0 <3PARdata-VV-3224 cyl 65533 alt 2 hd 16 sec 600>
/scsi_vhci/ssd@g60002ac000000000000000550001fb2e
49. c0t60002AC000000000000000560001FB2Ed0 <3PARdata-VV-3224 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g60002ac000000000000000560001fb2e
50. c0t60002AC000000000000000570001FB2Ed0 <3PARdata-VV-3224 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g60002ac000000000000000570001fb2e
51. c0t60002AC000000000000000580001FB2Ed0 <3PARdata-VV-3224 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g60002ac000000000000000580001fb2e
52. c0t60002AC000000000000000590001FB2Ed0 <3PARdata-VV-3224 cyl 38398 alt 2 hd 256 sec 64>
/scsi_vhci/ssd@g60002ac000000000000000590001fb2e
53. c1t203200A098AC8034d7 <NETAPP-Universal Xport-0830 cyl 8 alt 2 hd 64 sec 64>
/pci@301/pci@1/SUNW,qlc@0/fp@0,0/ssd@w203200a098ac8034,7
54. c11t203300A098AC8034d7 <NETAPP-Universal Xport-0830 cyl 8 alt 2 hd 64 sec 64>
/pci@30b/pci@1/SUNW,qlc@0/fp@0,0/ssd@w203300a098ac8034,7
55. c17t204300A098AC8034d7 <NETAPP-Universal Xport-0830 cyl 8 alt 2 hd 64 sec 64>
/pci@312/pci@1/SUNW,qlc@0/fp@0,0/ssd@w204300a098ac8034,7
56. c26t204200A098AC8034d7 <NETAPP-Universal Xport-0830 cyl 8 alt 2 hd 64 sec 64>
/pci@31c/pci@1/SUNW,qlc@0,1/fp@0,0/ssd@w204200a098ac8034,7
Specify disk (enter its number): 14 #输入上一步找到的编号
selecting c0t600A098000ADCF3E000000BD5A20C2B0d0
[disk formatted]
Disk not labeled. Label it now? y #yes
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show disk ID
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p #此处选择p,对应“partition - select (define) a partition table”
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> l #此处选择l,对应“label - write partition map and label to the disk”
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1 #此处选择EFI,对应数字1
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.
Continue? y #询问是否继续,yes
partition> p #是否打印,默认
Current partition table (default):
Total disk sectors available: 629129149 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 299.99GB 629129182
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
7 unassigned wm 0 0 0
8 reserved wm 629129183 8.00MB 629145566
9 unassigned wm 0 0 0
10 unassigned wm 0 0 0
11 unassigned wm 0 0 0
12 unassigned wm 0 0 0
13 unassigned wm 0 0 0
14 unassigned wm 0 0 0
15 unassigned wm 0 0 0
16 unassigned wm 0 0 0
17 unassigned wm 0 0 0
18 unassigned wm 0 0 0
19 unassigned wm 0 0 0
20 unassigned wm 0 0 0
21 unassigned wm 0 0 0
22 unassigned wm 0 0 0
23 unassigned wm 0 0 0
24 unassigned wm 0 0 0
25 unassigned wm 0 0 0
26 unassigned wm 0 0 0
27 unassigned wm 0 0 0
28 unassigned wm 0 0 0
29 unassigned wm 0 0 0
30 unassigned wm 0 0 0
31 unassigned wm 0 0 0
32 unassigned wm 0 0 0
33 unassigned wm 0 0 0
34 unassigned wm 0 0 0
35 unassigned wm 0 0 0
36 unassigned wm 0 0 0
37 unassigned wm 0 0 0
38 unassigned wm 0 0 0
39 unassigned wm 0 0 0
40 unassigned wm 0 0 0
41 unassigned wm 0 0 0
42 unassigned wm 0 0 0
43 unassigned wm 0 0 0
44 unassigned wm 0 0 0
45 unassigned wm 0 0 0
46 unassigned wm 0 0 0
47 unassigned wm 0 0 0
48 unassigned wm 0 0 0
49 unassigned wm 0 0 0
50 unassigned wm 0 0 0
51 unassigned wm 0 0 0
52 unassigned wm 0 0 0
53 unassigned wm 0 0 0
54 unassigned wm 0 0 0
55 unassigned wm 0 0 0
56 unassigned wm 0 0 0
57 unassigned wm 0 0 0
58 unassigned wm 0 0 0
59 unassigned wm 0 0 0
60 unassigned wm 0 0 0
61 unassigned wm 0 0 0
62 unassigned wm 0 0 0
63 unassigned wm 0 0 0
64 unassigned wm 0 0 0
65 unassigned wm 0 0 0
66 unassigned wm 0 0 0
67 unassigned wm 0 0 0
68 unassigned wm 0 0 0
69 unassigned wm 0 0 0
70 unassigned wm 0 0 0
71 unassigned wm 0 0 0
72 unassigned wm 0 0 0
73 unassigned wm 0 0 0
74 unassigned wm 0 0 0
75 unassigned wm 0 0 0
76 unassigned wm 0 0 0
77 unassigned wm 0 0 0
78 unassigned wm 0 0 0
79 unassigned wm 0 0 0
80 unassigned wm 0 0 0
81 unassigned wm 0 0 0
82 unassigned wm 0 0 0
83 unassigned wm 0 0 0
84 unassigned wm 0 0 0
85 unassigned wm 0 0 0
86 unassigned wm 0 0 0
87 unassigned wm 0 0 0
88 unassigned wm 0 0 0
89 unassigned wm 0 0 0
90 unassigned wm 0 0 0
91 unassigned wm 0 0 0
92 unassigned wm 0 0 0
93 unassigned wm 0 0 0
94 unassigned wm 0 0 0
95 unassigned wm 0 0 0
96 unassigned wm 0 0 0
97 unassigned wm 0 0 0
98 unassigned wm 0 0 0
99 unassigned wm 0 0 0
100 unassigned wm 0 0 0
101 unassigned wm 0 0 0
102 unassigned wm 0 0 0
103 unassigned wm 0 0 0
104 unassigned wm 0 0 0
105 unassigned wm 0 0 0
106 unassigned wm 0 0 0
107 unassigned wm 0 0 0
108 unassigned wm 0 0 0
109 unassigned wm 0 0 0
110 unassigned wm 0 0 0
111 unassigned wm 0 0 0
112 unassigned wm 0 0 0
113 unassigned wm 0 0 0
114 unassigned wm 0 0 0
115 unassigned wm 0 0 0
116 unassigned wm 0 0 0
117 unassigned wm 0 0 0
118 unassigned wm 0 0 0
119 unassigned wm 0 0 0
120 unassigned wm 0 0 0
121 unassigned wm 0 0 0
122 unassigned wm 0 0 0
123 unassigned wm 0 0 0
124 unassigned wm 0 0 0
125 unassigned wm 0 0 0
126 unassigned wm 0 0 0
127 unassigned wm 0 0 0
partition> q #完成,输入q退出
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show disk ID
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> q #再次输入q退出format
root@cm01 #
root@cm01 #
root@cm01 # ldm list #查看当前ldg6状态:未启动
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.6% 0.6% 6d 4h 51m
ldg1 active -n---- 5001 256 1T 0.4% 0.4% 2d 2h 37m
ldg2 active -n---- 5006 256 1T 0.4% 0.3% 2d 2h 34m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 32m
ldg4 active -n---- 5003 256 512G 1.3% 1.3% 6d 3h 26m
ldg5 active -n---- 5004 256 512G 0.8% 0.8% 6d 3h 43m
ldg6 bound ------ 5000 32 16G
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 23m
因为下一步需要添加引导盘到ldg6,所以先查出现在引导盘挂载位置。
上一次操作是ldg7,可以先查看ldg7信息
root@cm01 # ldm list -l ldg7
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 24m
SOFTSTATE
Solaris running
UUID
f6914be7-9b5d-4713-9d7e-cc926f99aa65
MAC
00:14:4f:fa:c6:4e
HOSTID
0x84fac64e
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
effective-max-pagesize=256MB
hardware-max-pagesize=16GB
DEPENDENCY
master=
CORE
CID CPUSET
89 (712, 713, 714, 715, 716, 717, 718, 719)
90 (720, 721, 722, 723, 724, 725, 726, 727)
VCPU
VID PID CID UTIL NORM STRAND
0 712 89 0.1% 0.1% 100%
1 713 89 0.0% 0.0% 100%
2 714 89 0.0% 0.0% 100%
3 715 89 0.0% 0.0% 100%
4 716 89 0.0% 0.0% 100%
5 717 89 0.0% 0.0% 100%
6 718 89 0.0% 0.0% 100%
7 719 89 0.0% 0.0% 100%
8 720 90 0.0% 0.0% 100%
9 721 90 0.0% 0.0% 100%
10 722 90 0.0% 0.0% 100%
11 723 90 0.0% 0.0% 100%
12 724 90 0.0% 0.0% 100%
13 725 90 0.0% 0.0% 100%
14 726 90 0.0% 0.0% 100%
15 727 90 0.0% 0.0% 100%
MEMORY
RA PA SIZE
0x170000000 0x402570000000 8G
CONSTRAINT
cpu=whole-core
max-cores=unlimited
VARIABLES
auto-boot?=true
boot-device=/virtual-devices@100/channel-devices@200/disk@0:a disk net
pm_boot_policy=disabled=0;ttfc=0;ttmr=0;
IO
DEVICE PSEUDONYM OPTIONS
pci@303/pci@1/network@0,8c /SYS/CMIOU0/PCIE1/IOVNET.PF0.VF6
pci@306/pci@1/network@0,8d /SYS/CMIOU1/PCIE3/IOVNET.PF1.VF6
pci@30a/pci@1/network@0,9b /SYS/CMIOU2/PCIE2/IOVNET.PF3.VF6
pci@30f/pci@1/network@0,9b /SYS/CMIOU3/PCIE2/IOVNET.PF3.VF6
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
disk7 disk7@primary-vds0 0 disk@0 primary
ovm7vdisk01 ovm7vdisk01@primary-vds0 1 disk@1 primary
s11iso iso_vol@primary-vds0 2 disk@2 primary #看到ldg7正在挂载着iso引导光盘
VCONS
NAME SERVICE PORT LOGGING
ldg7 primary-vcc0@primary 5005 on
root@cm01 # ldm rm-vdisk s11iso ldg7 #卸下ldg7中的引导光盘
root@cm01 # ldm list -l ldg7 #检查是否卸下ldg7中引导盘
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 26m
SOFTSTATE
Solaris running
UUID
f6914be7-9b5d-4713-9d7e-cc926f99aa65
MAC
00:14:4f:fa:c6:4e
HOSTID
0x84fac64e
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
effective-max-pagesize=256MB
hardware-max-pagesize=16GB
DEPENDENCY
master=
CORE
CID CPUSET
89 (712, 713, 714, 715, 716, 717, 718, 719)
90 (720, 721, 722, 723, 724, 725, 726, 727)
VCPU
VID PID CID UTIL NORM STRAND
0 712 89 0.3% 0.3% 100%
1 713 89 0.3% 0.3% 100%
2 714 89 1.1% 1.1% 100%
3 715 89 0.1% 0.1% 100%
4 716 89 0.4% 0.4% 100%
5 717 89 0.8% 0.8% 100%
6 718 89 0.1% 0.1% 100%
7 719 89 0.9% 0.9% 100%
8 720 90 0.1% 0.1% 100%
9 721 90 0.1% 0.1% 100%
10 722 90 0.0% 0.0% 100%
11 723 90 0.2% 0.2% 100%
12 724 90 1.9% 1.9% 100%
13 725 90 0.9% 0.9% 100%
14 726 90 0.1% 0.1% 100%
15 727 90 0.3% 0.3% 100%
MEMORY
RA PA SIZE
0x170000000 0x402570000000 8G
CONSTRAINT
cpu=whole-core
max-cores=unlimited
VARIABLES
auto-boot?=true
boot-device=/virtual-devices@100/channel-devices@200/disk@0:a disk net
pm_boot_policy=disabled=0;ttfc=0;ttmr=0;
IO
DEVICE PSEUDONYM OPTIONS
pci@303/pci@1/network@0,8c /SYS/CMIOU0/PCIE1/IOVNET.PF0.VF6
pci@306/pci@1/network@0,8d /SYS/CMIOU1/PCIE3/IOVNET.PF1.VF6
pci@30a/pci@1/network@0,9b /SYS/CMIOU2/PCIE2/IOVNET.PF3.VF6
pci@30f/pci@1/network@0,9b /SYS/CMIOU3/PCIE2/IOVNET.PF3.VF6
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
disk7 disk7@primary-vds0 0 disk@0 primary
ovm7vdisk01 ovm7vdisk01@primary-vds0 1 disk@1 primary #引导盘顺利卸下
VCONS
NAME SERVICE PORT LOGGING
ldg7 primary-vcc0@primary 5005 on
root@cm01 #
root@cm01 #
root@cm01 # ldm add-vdisk s11iso iso_vol@primary-vds0 ldg6 #添加引导盘到ldg6
root@cm01 # ldm list -l ldg6 #检查引导盘添加结果
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
ldg6 bound ------ 5000 32 16G
UUID
0d7235bd-3358-4d50-af30-a3934409911e
MAC
00:14:4f:f8:04:14
HOSTID
0x84f80414
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
effective-max-pagesize=256MB
hardware-max-pagesize=16GB
DEPENDENCY
master=
CORE
CID CPUSET
75 (600, 601, 602, 603, 604, 605, 606, 607)
80 (640, 641, 642, 643, 644, 645, 646, 647)
88 (704, 705, 706, 707, 708, 709, 710, 711)
91 (728, 729, 730, 731, 732, 733, 734, 735)
VCPU
VID PID CID UTIL NORM STRAND
0 600 75 100%
1 601 75 100%
2 602 75 100%
3 603 75 100%
4 604 75 100%
5 605 75 100%
6 606 75 100%
7 607 75 100%
8 640 80 100%
9 641 80 100%
10 642 80 100%
11 643 80 100%
12 644 80 100%
13 645 80 100%
14 646 80 100%
15 647 80 100%
16 704 88 100%
17 705 88 100%
18 706 88 100%
19 707 88 100%
20 708 88 100%
21 709 88 100%
22 710 88 100%
23 711 88 100%
24 728 91 100%
25 729 91 100%
26 730 91 100%
27 731 91 100%
28 732 91 100%
29 733 91 100%
30 734 91 100%
31 735 91 100%
MEMORY
RA PA SIZE
0x170000000 0x402170000000 16G
CONSTRAINT
cpu=whole-core
max-cores=unlimited
VARIABLES
auto-boot?=false
boot-device=disk6 disk
pm_boot_policy=disabled=0;ttfc=0;ttmr=0;
IO
DEVICE PSEUDONYM OPTIONS
pci@303/pci@1/network@0,8a /SYS/CMIOU0/PCIE1/IOVNET.PF0.VF5
pci@306/pci@1/network@0,8b /SYS/CMIOU1/PCIE3/IOVNET.PF1.VF5
pci@30a/pci@1/network@0,97 /SYS/CMIOU2/PCIE2/IOVNET.PF3.VF5
pci@30f/pci@1/network@0,97 /SYS/CMIOU3/PCIE2/IOVNET.PF3.VF5
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
disk6 disk6@primary-vds0 0 disk@0 primary
ovm6vdisk01 ovm6vdisk01@primary-vds0 1 disk@1 primary
ovm6vdisk02 ovm6vdisk02@primary-vds0 2 disk@2 primary
s11iso iso_vol@primary-vds0 3 disk@3 primary #OK!
VCONS
NAME SERVICE PORT LOGGING
ldg6 primary-vcc0@primary 5000 on
root@cm01 #
root@cm01 #
root@cm01 # ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.8% 0.8% 6d 4h 57m
ldg1 active -n---- 5001 256 1T 0.7% 0.7% 2d 2h 43m
ldg2 active -n---- 5006 256 1T 0.4% 0.4% 2d 2h 40m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 38m
ldg4 active -n---- 5003 256 512G 1.4% 1.4% 6d 3h 32m
ldg5 active -n---- 5004 256 512G 0.8% 0.7% 6d 3h 49m
ldg6 bound ------ 5000 32 16G
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 29m
root@cm01 # ldm start ldg6 #启动ldg6
LDom ldg6 started
root@cm01 # ldm list #查看ldg6状态
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.8% 0.8% 6d 4h 58m
ldg1 active -n---- 5001 256 1T 0.5% 0.4% 2d 2h 43m
ldg2 active -n---- 5006 256 1T 0.4% 0.3% 2d 2h 41m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 3h 38m
ldg4 active -n---- 5003 256 512G 1.4% 1.4% 6d 3h 32m
ldg5 active -n---- 5004 256 512G 0.8% 0.8% 6d 3h 50m
ldg6 active -t---- 5000 32 16G 0.0% 0.0% 14s
ldg7 active -n---- 5005 16 8G 0.0% 0.0% 29m
root@cm01 # telnet 0 5000 #进入到ldg6对应系统
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
Connecting to console "ldg6" in group "ldg6" ....
Press ~? for control options .. #enter回车
{0} ok devalias #devalias
s11iso /virtual-devices@100/channel-devices@200/disk@3
ovm6vdisk02 /virtual-devices@100/channel-devices@200/disk@2
ovm6vdisk01 /virtual-devices@100/channel-devices@200/disk@1
disk6 /virtual-devices@100/channel-devices@200/disk@0
disk /virtual-devices@100/channel-devices@200/disk@0
virtual-console /virtual-devices/console@1
name aliases
{0} ok boot s11iso #boot s11iso,以引导盘方式启动系统
Boot device: /virtual-devices@100/channel-devices@200/disk@3 File and args:
\
WARNING: Can not verify signature on unsupported binary format
WARNING: Signature verification of boot-archive bootblk failed
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved.
Remounting root read/write
Probing for device nodes ...
Preparing image for use
NOTICE: mount: not a UFS magic number (0x0)
NOTICE: mount: not a UFS magic number (0x0)
NOTICE: mount: not a UFS magic number (0x0)
NOTICE: mount: not a UFS magic number (0x0)
NOTICE: mount: not a UFS magic number (0x0)
NOTICE: mount: not a UFS magic number (0x0)
Done mounting image
USB keyboard
1. Arabic 15. Korean
2. Belgian 16. Latin-American
3. Brazilian 17. Norwegian
4. Canadian-Bilingual 18. Portuguese
5. Canadian-French 19. Russian
6. Danish 20. Spanish
7. Dutch 21. Swedish
8. Dvorak 22. Swiss-French
9. Finnish 23. Swiss-German
10. French 24. Traditional-Chinese
11. German 25. TurkishQ
12. Italian 26. UK-English
13. Japanese-type6 27. US-English
14. Japanese
To select the keyboard layout, enter a number [default 27]: #默认US-English
1. Chinese - Simplified
2. Chinese - Traditional
3. English
4. French
5. German
6. Italian
7. Japanese
8. Korean
9. Portuguese - Brazil
10. Spanish
To select the language you wish to use, enter a number [default is 3]: #默认English
User selected: English
Configuring devices.
Hostname: solaris
Welcome to the Oracle Solaris installation menu
1 Install Oracle Solaris
2 Install Additional Drivers
3 Shell
4 Terminal type (currently xterm)
5 Reboot
Please enter a number [1]: 3 #选择Shell
To return to the main menu, exit the shell
root@solaris:/root# zpool list
no pools available
root@solaris:/root# zpool import rpool
root@solaris:/root# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 43.4G 250G 73.5K /rpool
rpool/ROOT 20.7G 250G 31K legacy
rpool/ROOT/solaris 20.7G 250G 20.1G /
rpool/ROOT/solaris/var 467M 250G 262M /var
rpool/VARSHARE 2.53M 250G 2.44M /var/share
rpool/VARSHARE/pkg 63K 250G 32K /var/share/pkg
rpool/VARSHARE/pkg/repositories 31K 250G 31K /var/share/pkg/repositories
rpool/VARSHARE/zones 31K 250G 31K /system/zones
rpool/dump 4.13G 250G 4.00G -
rpool/export 63K 250G 32K /export
rpool/export/home 31K 250G 31K /export/home
rpool/swap 18.6G 251G 18.0G -
root@solaris:/root# zpool status rpool
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c1d0 ONLINE 0 0 0
errors: No known data errors
root@solaris:/root# zpool export rpool
root@solaris:/root# installboot -f -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1d0s0
root@solaris:/root# exit
exit
Welcome to the Oracle Solaris installation menu
1 Install Oracle Solaris
2 Install Additional Drivers
3 Shell
4 Terminal type (currently xterm)
5 Reboot
Please enter a number [1]: 5
Apr 28 09:47:38 solaris reboot: initiated by root on /dev/console
Apr 28 09:47:45 solaris syslogd: going down on signal 15
Welcome to the Oracle Solaris installation menu
1 Install Oracle Solaris
2 Install Additional Drivers
3 Shell
4 Terminal type (currently xterm)
5 Reboot
Please enter a number [1]: syncing file systems... done
rebooting...
Resetting...
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD.
NOTICE: Starting slave cpus.
NOTICE: Initializing LDCs.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC M7-8, No Keyboard
Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.42.0, 16.0000 GB memory installed, Serial #83362836.
Ethernet address 0:14:4f:f8:4:14, Host ID: 84f80414.
Boot device: disk6 File and args:
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved.
Hostname: erpcatdb01
erpcatdb01 console login: root
Password:
Last login: Sat Apr 28 16:19:54 2018 on console
Apr 28 17:48:27 erpcatdb01 login: ROOT LOGIN /dev/console
Oracle Corporation SunOS 5.11 11.3 September 2015
You have new mail.
root@erpcatdb01:~#
root@erpcatdb01:~#
root@erpcatdb01:~# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 293G 20G 250G 8% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 30G 2.4M 30G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
293G 262M 250G 1% /var
swap 30G 8K 30G 1% /tmp
rpool/VARSHARE 293G 2.4M 250G 1% /var/share
u01 587G 31K 587G 1% /u01
rpool/export 293G 32K 250G 1% /export
rpool/export/home 293G 31K 250G 1% /export/home
rpool 293G 73K 250G 1% /rpool
rpool/VARSHARE/zones 293G 31K 250G 1% /system/zones
rpool/VARSHARE/pkg 293G 32K 250G 1% /var/share/pkg
rpool/VARSHARE/pkg/repositories
293G 31K 250G 1% /var/share/pkg/repositories
root@erpcatdb01:~#
退出ldg6
root@cm01 #
root@cm01 # ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.9% 0.9% 6d 6h 20m
ldg1 active -n---- 5001 256 1T 0.4% 0.4% 2d 4h 5m
ldg2 active -n---- 5006 256 1T 1.3% 1.1% 2d 4h 3m
ldg3 active -n---- 5002 256 512G 0.1% 0.1% 6d 5h
ldg4 active -n---- 5003 256 512G 0.9% 0.9% 6d 4h 55m
ldg5 active -n---- 5004 256 512G 0.9% 0.9% 6d 5h 12m
ldg6 active -n---- 5000 32 16G 0.6% 0.4% 5m
ldg7 active -n---- 5005 16 8G 0.8% 0.8% 1h 52m
root@cm01 #