AIX 系統(tǒng)修復(fù)hd5
專(zhuān)注于為中小企業(yè)提供成都網(wǎng)站制作、成都網(wǎng)站設(shè)計(jì)服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)岳池免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動(dòng)了超過(guò)千家企業(yè)的穩(wěn)健成長(zhǎng),幫助中小企業(yè)通過(guò)網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。系統(tǒng)環(huán)境:
操作系統(tǒng): AIX5308
故障現(xiàn)象:
hd5 被誤刪除,在執(zhí)行cfgmgr 時(shí)報(bào)錯(cuò)!
1、查看rootvg 信息
# lsvg -l rootvg
rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd6 paging 4 4 1 open/syncd N/A hd8 jfs2log 1 1 1 open/syncd N/A hd4 jfs2 40 40 1 open/syncd / hd2 jfs2 16 16 1 open/syncd /usr hd9var jfs2 16 16 1 open/syncd /var hd3 jfs2 8 8 1 open/syncd /tmp hd1 jfs2 120 120 1 open/syncd /home hd10opt jfs2 1 1 1 open/syncd /opt fwdump jfs2 1 1 1 open/syncd /var/adm/ras/platform fslv06 jfs 120 120 1 closed/syncd N/A 沒(méi)有hd5的lv2、執(zhí)行cfgmgr 出錯(cuò)
# cfgmgr -v
......
Calling savebase
Return code = 1
*** no stdout ****
*** no stderr ****
cfgmgr: 0514-609 Unable to save the base customized information
on /dev/ipldevice.
修復(fù)啟動(dòng)lv:
# bosboot -ad /dev/ipldevice
0301-168 bosboot: The current boot logical volume, /dev/hd5,
does not exist on /dev/hdisk5.
同步lv:
# synclvodm -P -v rootvg
synclvodm: Physical volume data updated. synclvodm: Logical volume hd6 updated. synclvodm: Logical volume hd8 updated. synclvodm: Logical volume hd4 updated. synclvodm: Logical volume hd2 updated. synclvodm: Logical volume hd9var updated. synclvodm: Logical volume hd3 updated. synclvodm: Logical volume hd1 updated. synclvodm: Logical volume hd10opt updated. synclvodm: Logical volume fwdump updated. synclvodm: Logical volume fslv06 updated.# lsvg -l rootvg
rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd6 paging 4 4 1 open/syncd N/A hd8 jfs2log 1 1 1 open/syncd N/A hd4 jfs2 40 40 1 open/syncd / hd2 jfs2 16 16 1 open/syncd /usr hd9var jfs2 16 16 1 open/syncd /var hd3 jfs2 8 8 1 open/syncd /tmp hd1 jfs2 120 120 1 open/syncd /home hd10opt jfs2 1 1 1 open/syncd /opt fwdump jfs2 1 1 1 open/syncd /var/adm/ras/platform fslv06 jfs 120 120 1 closed/syncd N/A 缺少hd5的lv重新創(chuàng)建hd5,報(bào)錯(cuò):
# mklv -y hd5 -t boot -a e rootvg 1
0516-360 getlvname: The device name is already used; choose a
different name.
0516-822 mklv: Unable to create logical volume.
0516-1734 mklv: Warning, savebase failed. Please manually run 'savebase' before rebooting.
# synclvodm -P -v rootvg
synclvodm: Physical volume data updated. synclvodm: Logical volume hd6 updated. synclvodm: Logical volume hd8 updated. synclvodm: Logical volume hd4 updated. synclvodm: Logical volume hd2 updated. synclvodm: Logical volume hd9var updated. synclvodm: Logical volume hd3 updated. synclvodm: Logical volume hd1 updated. synclvodm: Logical volume hd10opt updated. synclvodm: Logical volume fwdump updated. synclvodm: Logical volume fslv06 updated.3、解決方法:
通過(guò)ODM刪除hd5:
# odmdelete -q name=hd5 -o CuDv
1 objects deleted
# odmdelete -q name=hd5 -o CuAt
6 objects deleted
重建hd5:
# mklv -y hd5 -t boot -a e rootvg 1
hd5
同步lv:
# synclvodm -P -v rootvg
synclvodm: Physical volume data updated. synclvodm: Logical volume hd6 updated. synclvodm: Logical volume hd8 updated. synclvodm: Logical volume hd4 updated. synclvodm: Logical volume hd2 updated. synclvodm: Logical volume hd9var updated. synclvodm: Logical volume hd3 updated. synclvodm: Logical volume hd1 updated. synclvodm: Logical volume hd10opt updated. synclvodm: Logical volume fwdump updated. synclvodm: Logical volume fslv06 updated. synclvodm: Logical volume hd5 updated.# lsvg -l rootvg
rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd6 paging 4 4 1 open/syncd N/A hd8 jfs2log 1 1 1 open/syncd N/A hd4 jfs2 40 40 1 open/syncd / hd2 jfs2 16 16 1 open/syncd /usr hd9var jfs2 16 16 1 open/syncd /var hd3 jfs2 8 8 1 open/syncd /tmp hd1 jfs2 120 120 1 open/syncd /home hd10opt jfs2 1 1 1 open/syncd /opt fwdump jfs2 1 1 1 open/syncd /var/adm/ras/platform fslv06 jfs 120 120 1 closed/syncd N/A hd5 boot 1 1 1 closed/syncd N/A hd5修復(fù)成功!重新修復(fù)啟動(dòng)lv:
# bosboot -ad /dev/ipldevice
cfgmgr 正常:
# cfgmgr -v ...... Calling savebase Return code = 0 *** no stdout **** *** no stderr **** Configuration time: 1 seconds另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。
當(dāng)前文章:AIX系統(tǒng)故障之--hd5修復(fù)-創(chuàng)新互聯(lián)
URL地址:http://jinyejixie.com/article14/dipdge.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計(jì)、網(wǎng)站收錄、建站公司、網(wǎng)站建設(shè)、云服務(wù)器、網(wǎng)站制作
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容