linux下的文件系统出错 Structure needs cleaning

[oracle@localhost ~]$ /u01/app/oracle/product/version/db_1/bin/sqlplus
-bash: /u01/app/oracle/product/version/db_1/bin/sqlplus: Structure needs cleaning
[oracle@localhost ~]$

[oracle@localhost ~]$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs tmpfs 1.9G 9.5M 1.8G 1% /run
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda3 btrfs 25G 4.0G 20G 17% /
/dev/sdb1 xfs 30G 13G 17G 44% /u01
/dev/sda1 xfs 499M 168M 332M 34% /boot
tmpfs tmpfs 370M 36K 370M 1% /run/user/1000
tmpfs tmpfs 370M 4.0K 370M 1% /run/user/42
[oracle@localhost ~]$

umount这个文件系统,然后修复,修复完了,文件也找不到了。
[root@localhost ~]# xfs_repair /dev/sdb1

-bash-4.2$ ll /u01/app/oracle/product/version/db_1/bin/sqlplus
ls: cannot access /u01/app/oracle/product/version/db_1/bin/sqlplus: No such file or directory
-bash-4.2$

你可能感兴趣的:(Linux)