In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
AIX Learning-File system repair (/ home)
System environment:
Operating system: AIX 5.3.8
Oracle: Oracle 10gR2
Case study:
The following error occurred while executing the mount file system:
[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.
View logical volumes:
[root@aix199:/] # lsvg-l rootvg
Rootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINThd5 boot 1 1 1 closed/syncd N/Ahd6 paging 32 32 1 open/syncd N/Ahd8 jfslog 1 1 1 open/syncd N/Ahd4 jfs 128 128 1 open/syncd / hd2 jfs 96 96 1 open/syncd / usrhd9var jfs 32 32 1 open/syncd / varhd3 jfs 32 32 1 open/syncd / tmphd1 jfs 80 80 1 closed/syncd / Homehd10opt jfs 16 16 1 open/syncd / optlv01 jfs 1 1 1 open/syncd / var/adm/csd
Synchronous 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 POINThd5 boot 1 1 1 closed/syncd N/Ahd6 paging 32 32 1 open/syncd N/Ahd8 jfslog 1 1 1 open/syncd N/Ahd4 jfs 128 128 1 open/syncd / hd2 jfs 96 96 1 open/syncd / usrhd9var jfs 32 32 1 open/syncd / varhd3 jfs 32 32 1 open/syncd / tmphd1 jfs 80 80 1 closed/syncd / Homehd10opt jfs 16 16 1 open/syncd / optlv01 jfs 1 1 1 open/syncd / var/adm/csd
Mount file system:
[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 repairs the file system:
[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 MapSuperblock is marked dirty (FIXED) 105 files 397841 blocks 10087919 free* Filesystem was modified *
Re-mount the file system:
[root@aix199:/] # mount / home [root@aix199:/] # ls / homeTT_DB dba guest lost+found oracle
Error executing sqlplus command:
[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.
Check the kernel version of the system:
[root@aix199:/] # bootinfo-K
sixty-four
View system information:
[root@aix199:/] # prtconf | more
System Model: IBM,7028-6C4Machine Serial Number: 108570CProcessor Type: PowerPC_POWER4Processor Implementation Mode: POWER4Processor Version: PV_4Number Of Processors: 2Processor Clock Speed: 1002 MHzCPU Type: 64-bitKernel Type: 64-bitLPAR Info: 1 NULLMemory Size: 1024 MBGood Memory Size: 1024 MBPlatform Firmware level: 3R080425Firmware Version: IBM,RG080425_d79e22_rConsole Login: enableAuto Restart: trueFull Core: false
The system kernel should be 64-bit, so restart the system and solve the problem after the system restart!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.