Chinaunix首页 | 论坛 | 博客
  • 博客访问: 20075
  • 博文数量: 4
  • 博客积分: 65
  • 博客等级: 民兵
  • 技术积分: 45
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-09 15:58
文章分类
文章存档

2012年(4)

我的朋友

分类:

2012-04-25 11:37:00

11,   LABELwen文件写入内容

         

          #lvlnboot b /dev/vg00/lvol1

          #lvlnboot r /dev/vg00/lvol3

          #lvlnboot s /dev/vg00/lvol2

          #lvlnboot d /dev/vg00/lvol2

 

     12,   查看给LABEL文件写入内容是否正确

 

          #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,   将第二块盘设置为从启动路径

         

          #setboot a 0/0/2/1.6.0

 

     14,   查看启动路径设置是否正确

         

          #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,   重新启动机器

         

          #shutdown r 0

 

     16,   进入机器的bch,亦即10秒终端

         

          出现To discontinue, press any key within 10 seconds.提示后按任意键

 

17,   从第二块硬盘启动,看机器是否可以启动正常

 

      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的所有lv是否都是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       

 

阅读(1208) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~