我AIX6.1下的一个文件系统,一个很大的文件被我删除后,该文件系统利用率并未下降,即使umount了再mount起来也不行
甚至操作系统都重启了,也不行,于是尝试fsck修复文件系统,然后再mount起来就可以了!
[root@testdb1:/]# fsck -y /dev/fslv01
The current volume is: /dev/fslv01
Primary superblock is valid.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check and repair inode allocation map
File system inode map is corrupt (FIXED)
Superblock marked dirty because repairs are about to be written.
*** Phase 5 - Check and repair block allocation map
Block allocation map is corrupt (FIXED)
File system is clean.
Superblock is marked dirty (FIXED)
All observed inconsistencies have been repaired.
[root@testdb1:/]#
[root@testdb1:/]#
[root@testdb1:/]#
[root@testdb1:/]# errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
AE3E3FAD 0808102813 I O SYSJ2 FSCK FOUND ERRORS
[root@testdb1:/]#
[root@testdb1:/]#
[root@testdb1:/]# errpt -a
---------------------------------------------------------------------------
LABEL: J2_FSCK_INFO
IDENTIFIER: AE3E3FAD
Date/Time: Thu Aug 8 10:28:57 2013
Sequence Number: 1322
Machine Id: 00F7086A4C00
Node Id: testdb1
Class: O
Type: INFO
WPAR: Global
Resource Name: SYSJ2
Description
FSCK FOUND ERRORS
Probable Causes
INVALID FILE SYSTEM CONTROL DATA
Detail Data
ERROR CODE
0000 0000
RESOLUTION STATE
0000 0000
FILE SYSTEM DEVICE
/dev/fslv01
另外,之前rman中删除归档日志,然后所在文件系统利用率里面,文件系统利用率为 -1%
同样使用fsck -y /dev/lvname 的命令进行修复即可。