光碟引導aix5.2 啟動

haozg_oracle發表於2012-02-14
公司伺服器不能啟動led 顯示不能 載入 var  目錄,該伺服器上面的資料很重要於是從光碟引導啟動伺服器。由於是aix5.2(老版本),所以用aix5.2 安裝光碟引導,但是出現錯誤,原因是os版本高於光碟的版本,原因是os在後來升過級,於是用aix5.3安裝光碟引導。用超級終端通過usb轉接線把筆記本和伺服器連上,筆記本上需要安裝usb轉介面的驅動。引導記錄如下:

RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
/pci@fee00000/fibre-channel@c/disk@2100001b4d01598c,2000000000000


***   FCode LP9002 PCI_Bus (lpfc) Version 1.33a1   ***


problem doing RESTART-CMD























RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000

注意在speaker出來後立即按5

     memory      keyboard     network      scsi      speaker
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000                                 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000       STARTING SOFTWARE         RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000         PLEASE WAIT...          RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000                                 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
/pci@fee00000/fibre-channel@c/disk@2100001b4d01598c,2000000000000








-------------------------------------------------------------------------------
                                Welcome to AIX.
                       boot image timestamp: 20:02 07/06
                 The current time and date: 09:27:27 02/08/2012
               number of processors: 2    size of memory: 4096MB
        boot device: /pci@fef00000/scsi@c/sd@1,0:\ppc\chrp\bootfile.exe
                     kernel size: 11936315; 32 bit kernel
                       kernel debugger setting: enabled
-------------------------------------------------------------------------------

AIX Version 5.3
Starting NODE#000 physical CPU#001 as logical CPU#001... done.
Preserving 19590 bytes of symbol table [lft_loadpin32]


 ******* Please define the System Console. *******

Type a 2 and press Enter to use this terminal as the
  system console.
Pour definir ce terminal comme console systeme, appuyez
  sur 2 puis sur Entree.
Taste 2 und anschliessend die Eingabetaste druecken, um
  diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 2 ed Invio per usare questo terminal
  come console.
Escriba 2 y pulse Intro para utilizar esta terminal como
  consola del sistema.
Escriviu 1 2 i premeu Intro per utilitzar aquest
  terminal com a consola del sistema.
Digite um 2 e pressione Enter para utilizar este terminal
  como console do sistema.






























 HARDWARE SYSTEM MICROCODE
 Licensed Internal Code - Property of IBM
 (C) Copyright IBM Corp. 1990, 1994.
 All rights reserved.

 US Government Users Restricted Rights -
 Use, duplication or disclosure restricted
 by GSA ADP Schedule Contract with IBM Corp.


\
























>>>  1 Type 1 and press Enter to have English during install.
     2 Entreu 2 i premeu Intro per veure la instal穕aci?en catal?
     3 Entrez 3 pour effectuer l'installation en fran鏰is.
     4 F黵 Installation in deutscher Sprache 4 eingeben
        und die Eingabetaste dr點ken.
     5 Immettere 5 e premere Invio per l'installazione in Italiano.
     6 Digite 6 e pressione Enter para usar Portugu阺 na instala玢o.
     7 Escriba 7 y pulse Intro para la instalaci髇 en espa駉l.











    88  Help ?


>>> Choice [1]: 1













    88  Help ?
    99  Previous Menu

>>> Choice [1]: 1























                  Warning:

If you choose to access a root volume group, you will not be able to return
to the Base Operating System Installation menus without rebooting.


Type the number of your choice and press Enter.

    0 Continue











    88  Help ?
>>> 99  Previous Menu

>>> Choice [99]: 0




                           Access a Root Volume Group

Type the number for a volume group to display the logical volume information
and press Enter.

   1)   Volume Group 00081d0f00004c000000012f04dc4b6d contains these disks:
         hdisk9  47683     20-60-01 2100001b4d00679a//0006000000000000 00010917
        hdisk16  47683     20-60-01 2100001b4d00679a//000d000000000000 00010917
        hdisk15  47683     20-60-01 2100001b4d00679a//000c000000000000 00010917
        hdisk14  47683     20-60-01 2100001b4d00679a//000b000000000000 00010917
        hdisk13  47683     20-60-01 2100001b4d00679a//000a000000000000 00010917
        hdisk12  47683     20-60-01 2100001b4d00679a//0009000000000000 00010917
        hdisk11  47683     20-60-01 2100001b4d00679a//0008000000000000 00010917
        hdisk10  47683     20-60-01 2100001b4d00679a//0007000000000000 00010917
   2)   Volume Group 00081d0f00004c000000012fb50204fb contains these disks:
         hdisk7   9536     20-60-01 2100001b4d00679a//0004000000000000 00010917
         hdisk3   9536     20-60-01 2100001b4d00679a//0000000000000000 00010917
   3)   Volume Group 00081d0f00004c000000012fd33f36dd contains these disks:
         hdisk6   9536     20-60-01 2100001b4d00679a//0003000000000000 00010917
         hdisk4   9536     20-60-01 2100001b4d00679a//0001000000000000 00010917
   4)   next page ---&gt


   Choice: 4




                           Access a Root Volume Group

Type the number for a volume group to display the logical volume information
and press Enter.

   5)  
   6)   Volume Group 0005a9dc00004c000000011a0f76cec7 contains these disks:
          hdisk0  70006 10-60-00-0,0
   7)   Volume Group 0005a9dc00004c0000000122e6d79003 contains these disks:
          hdisk1 220000 10-88-00-6,0
   8)   Volume Group 000dcc0d00004c000000011c1d7bd3e6 contains these disks:
          hdisk2 168257 10-88-00-6,1
   9)   Volume Group 0000145b00004c000000012eaed9fd55 contains these disks:
         hdisk8   9536     20-60-01 2100001b4d00679a//0005000000000000 00010917
   10)   Volume Group 000dcc0d00004c00000001286d40ae3b contains these disks:
        hdisk18 476835     20-60-01 2100001b4d01598c//0001000000000000 00010b00
   11)   Volume Group 0005a9dc00004c00000001288425c736 contains these disks:
        hdisk19 476835     20-60-01 2100001b4d01598c//0002000000000000 00010b00





   Choice: 6




                           Volume Group Information

 ------------------------------------------------------------------------------
    Volume Group ID 0005a9dc00004c000000011a0f76cec7 includes the following
    logical volumes:

         hd5         hd6         hd8         hd4         hd2      hd9var
         hd3         hd1     hd10opt        lv00        lv9i       lv10g
        lv11        lv01
 ------------------------------------------------------------------------------







Type the number of your choice and press Enter.

   1) Access this Volume Group and start a shell
   2) Access this Volume Group and start a shell before mounting filesystems

  99) Previous Menu

    Choice [99]: 1
Importing Volume Group...
rootvg
Checking the / filesystem.


log redo processing for /dev/rhd4
syncpt record at 5e8a028
end of log 5e8af68
syncpt record at 5e8a028
syncpt address 5e8a028
number of log records  = 43
number of do blocks = 12
number of nodo blocks = 0
/dev/rhd4 (/): ** Unmounted cleanly - Check suppressed
Checking the /usr filesystem.


/dev/rhd2 (/usr): ** Unmounted cleanly - Check suppressed
Saving special files and device configuration information.
Checking and mounting the /tmp filesystem.


/dev/rhd3 (/tmp): Superblock is marked dirty (FIXED)
/dev/rhd3 (/tmp): 4926 files 5000256 blocks 3388352 free
Checking and mounting the /var filesystem.


/dev/rhd9var (/var): File size error Inode=16388
/dev/rhd9var (/var): Duplicate or invalid I=16388  owner=bin mode=100664
size=29158624 mtime=Feb 08 08:26 2012
/dev/rhd9var (/var): file=/adm/cron/log
/dev/rhd9var (/var): Filesystem integrity is not guaranteed
/dev/rhd9var (/var): 902 files 242952 blocks 281336 free
Replaying log for /dev/hd9var.
stat: No such file or directory
Failure replaying log: 0
mount: /dev/hd9var on /var: Unformatted or incompatible media
The superblock on /dev/hd9var is dirty.  Run a full fsck to fix.
Filesystems mounted for maintenance work.
#

# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/ram0          2.00      1.85    8%     4550     1% /
/dev/cd0
df: /SPOT: No such file or directory
/dev/hd4           2.00      1.85    8%     4550     1% /
/dev/hd2           8.00      1.90   77%   164772     8% /usr
/dev/hd3           4.00      1.62   60%     4935     1% /tmp


發現/var 沒有掛載上,執行下面的命令,修改超級塊:

# dd count=1 bs=4k skip=31 seek=1 if=/dev/hd9var f=/dev/hd9var
1+0 records in
1+0 records out
# mount /dev/hd9var /var
# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/ram0          2.00      1.85    8%     4550     1% /
/dev/cd0
df: /SPOT: No such file or directory
/dev/hd4           2.00      1.85    8%     4550     1% /
/dev/hd2           8.00      1.90   77%   164772     8% /usr
/dev/hd3           4.00      1.62   60%     4935     1% /tmp
/dev/hd9var        0.25      0.13   47%      911     2% /var

發現/var 已經掛上。

然後從var下刪除沒有用的資料,釋放空間,os不能啟動原因及時/var 下沒有空間了。重啟系統。


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23062014/viewspace-716226/,如需轉載,請註明出處,否則將追究法律責任。

相關文章