- 論壇徽章:
- 0
|
11, 給LABELwen文件寫入內(nèi)容
#lvlnboot –b /dev/vg00/lvol1
#lvlnboot –r /dev/vg00/lvol3
#lvlnboot –s /dev/vg00/lvol2
#lvlnboot –d /dev/vg00/lvol2
12, 查看給LABEL文件寫入內(nèi)容是否正確
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
13, 將第二塊盤設(shè)置為從啟動(dòng)路徑
#setboot –a 0/0/2/1.6.0
14, 查看啟動(dòng)路徑設(shè)置是否正確
#setboot
Primary bootpath : 0/0/2/0.6.0
Alternate bootpath : 0/0/2/1.6.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
15, 重新啟動(dòng)機(jī)器
#shutdown –r 0
16, 進(jìn)入機(jī)器的bch,亦即10秒終端
出現(xiàn)To discontinue, press any key within 10 seconds.提示后按任意鍵
17, 從第二塊硬盤啟動(dòng),看機(jī)器是否可以啟動(dòng)正常
Boot terminated.
---- Main Menu ---------------------------------------------------------------
Command Description
------- -----------
BOot [PRI|ALT|] Boot from specified path
PAth [PRI|ALT] [] Display or modify a path
SEArch [DIsplay|IPL] [] Search for boot devices
COnfiguration menu Displays or sets boot values
INformation menu Displays hardware information
SERvice menu Displays service commands
DIsplay Redisplay the current menu
HElp [|] Display help for menu or command
RESET Restart the system
----
Main Menu: Enter command or menu > sea
Searching for potential boot device(s)
This may take several minutes.
To discontinue search, press any key (termination may not be immediate).
IODC
Path# Device Path (dec) Device Path (mnem) Device Type Rev
----- ----------------- ------------------ ----------- ----
P0 0/0/2/0.6 intscsia.6 Random access media 1
P1 0/0/2/1.6 intscsib.6 Random access media 1
P2 0/4/0/0.0 Random access media 6
P3 1/10/0/0.0 Random access media 6
Main Menu: Enter command or menu > bo p1
Interact with IPL (Y, N, or Cancel)?> n
Booting...
Boot IO Dependent Code (IODC) revision 1
HARD Booted.
。。。。。。。。。。。。。。。。。。。。
18, 檢查vg00的所有l(wèi)v是否都是synced,即同步,確保都是synced
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 4340
Alloc PE 4046
Free PE 294
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/oracle
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 1000
Used PV 2
LV Name /dev/vg00/sybase
LV Status available/syncd
LV Size (Mbytes) 9008
Current LE 563
Allocated PE 1126
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
PV Status available
Total PE 2170
Free PE 147
Autoswitch On
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 2170
Free PE 147
Autoswitch On
本文來自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/8103/showart_2029010.html |
|