真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

AIX學(xué)習(xí)之--文件系統(tǒng)修復(fù)(/home)

AIX學(xué)習(xí)之--文件系統(tǒng)修復(fù)(/home)

創(chuàng)新互聯(lián)建站是專業(yè)的定襄網(wǎng)站建設(shè)公司,定襄接單;提供成都網(wǎng)站制作、做網(wǎng)站,網(wǎng)頁設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行定襄網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛的網(wǎng)站,專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來合作!

系統(tǒng)環(huán)境:

操作系統(tǒng):AIX 5.3.8

Oracle:  Oracle 10gR2


案例:

在執(zhí)行mount文件系統(tǒng)時(shí)出現(xiàn)以下錯(cuò)誤

[root@aix199:/]#mount /home

Replaying log for /dev/hd1.

Devices already mounted that are using /dev/hd8

Failure replaying log: 0

mount: /dev/hd1 on /home: Unformatted or incompatible media

The superblock on /dev/hd1 is dirty.  Run a full fsck to fix.

查看邏輯卷:

[root@aix199:/]#lsvg -l rootvg

rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       1       1    closed/syncd  N/A
hd6                 paging     32      32      1    open/syncd    N/A
hd8                 jfslog     1       1       1    open/syncd    N/A
hd4                 jfs        128     128     1    open/syncd    /
hd2                 jfs        96      96      1    open/syncd    /usr
hd9var              jfs        32      32      1    open/syncd    /var
hd3                 jfs        32      32      1    open/syncd    /tmp
hd1                 jfs        80      80      1    closed/syncd  /home
hd10opt             jfs        16      16      1    open/syncd    /opt
lv01                jfs        1       1       1    open/syncd    /var/adm/csd

同步vg:

[root@aix199:/]#synclvodm -v rootvg

synclvodm: Physical volume data updated.
synclvodm: Logical volume hd5 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 lv01 updated.

[root@aix199:/]#lsvg -l rootvg

rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       1       1    closed/syncd  N/A
hd6                 paging     32      32      1    open/syncd    N/A
hd8                 jfslog     1       1       1    open/syncd    N/A
hd4                 jfs        128     128     1    open/syncd    /
hd2                 jfs        96      96      1    open/syncd    /usr
hd9var              jfs        32      32      1    open/syncd    /var
hd3                 jfs        32      32      1    open/syncd    /tmp
hd1                 jfs        80      80      1    closed/syncd  /home
hd10opt             jfs        16      16      1    open/syncd    /opt
lv01                jfs        1       1       1    open/syncd    /var/adm/csd

mount文件系統(tǒng):

[root@aix199:/]#mount /home

Replaying log for /dev/hd1.

Devices already mounted that are using /dev/hd8

Failure replaying log: 0

mount: /dev/hd1 on /home: Unformatted or incompatible media

The superblock on /dev/hd1 is dirty.  Run a full fsck to fix.

fsck修復(fù)文件系統(tǒng):

[root@aix199:/]#fsck -y /home

** Checking /dev/rhd1 (/home) 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Inode Map
** Phase 6 - Check Block Map
Superblock is marked dirty (FIXED)
105 files 397841 blocks 10087919 free
***** Filesystem was modified *****

重新mount文件系統(tǒng):

[root@aix199:/]#mount /home
[root@aix199:/]#ls /home
TT_DB       dba         guest       lost+found  oracle

執(zhí)行sqlplus命令出錯(cuò):

[oracle@aix199:~]$sqlplus 

Could not load program sqlplus:

Cannot run a 64-bit program until the 64-bit

        environment has been configured. See the system administrator.

查看系統(tǒng)內(nèi)核版本:

[root@aix199:/]#bootinfo -K

64

查看系統(tǒng)信息:

[root@aix199:/]#prtconf |more

System Model: IBM,7028-6C4
Machine Serial Number: 108570C
Processor Type: PowerPC_POWER4
Processor Implementation Mode: POWER 4
Processor Version: PV_4
Number Of Processors: 2
Processor Clock Speed: 1002 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 NULL
Memory Size: 1024 MB
Good Memory Size: 1024 MB
Platform Firmware level: 3R080425
Firmware Version: IBM,RG080425_d79e22_r
Console Login: enable
Auto Restart: true
Full Core: false

   系統(tǒng)內(nèi)核應(yīng)該為64位,所以重新啟動(dòng)系統(tǒng),系統(tǒng)重啟后問題解決!

        

        




網(wǎng)站欄目:AIX學(xué)習(xí)之--文件系統(tǒng)修復(fù)(/home)
當(dāng)前鏈接:http://weahome.cn/article/gdcehs.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部