Jason Yu
asked on
can't delete some files, the file permissions and other characteristics are missing.
I have an Oracle ASM audit folder saving bunch of files, but I couldn't delete all files under it. I tried to enter ini1 mode and umount /u1 partition, did a e2fsck on it. But e2fsck found it's "clean" and didn't find any errors. I was wondering if anyone have met similar strange case like me.
I can rename this folder, but couldn't move it to another partition or delete the whole folder.
[root@tartarus audit.old]# pwd
/u1/oracle/11.2.0/gridhome /rdbms/aud it.old
[root@tartarus audit.old]# ls -alt | more
total 181540
drwxrwxrwx 2 grid oinstall 185704448 Jul 1 21:22 .
drwxr-xr-x 14 grid oinstall 4096 Jul 1 21:21 ..
?--------- ? ? ? ? ? +asm1_ora_10036_a.aud
?--------- ? ? ? ? ? +asm1_ora_10058_12.aud
?--------- ? ? ? ? ? +asm1_ora_1009_35.aud
?--------- ? ? ? ? ? +asm1_ora_10134_4.aud
?--------- ? ? ? ? ? +asm1_ora_10152_39.aud
?--------- ? ? ? ? ? +asm1_ora_10214_46.aud
?--------- ? ? ? ? ? +asm1_ora_10271_69.aud
?--------- ? ? ? ? ? +asm1_ora_10289_7.aud
?--------- ? ? ? ? ? +asm1_ora_1030_5b.aud
?--------- ? ? ? ? ? +asm1_ora_10307_24.aud
?--------- ? ? ? ? ? +asm1_ora_10318_59.aud
?--------- ? ? ? ? ? +asm1_ora_1034_1e.aud
?--------- ? ? ? ? ? +asm1_ora_10347_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10412_8.aud
?--------- ? ? ? ? ? +asm1_ora_10415_56.aud
?--------- ? ? ? ? ? +asm1_ora_10425_38.aud
?--------- ? ? ? ? ? +asm1_ora_1043_16.aud
?--------- ? ? ? ? ? +asm1_ora_10435_2c.aud
?--------- ? ? ? ? ? +asm1_ora_10481_5c.aud
?--------- ? ? ? ? ? +asm1_ora_10494_3d.aud
?--------- ? ? ? ? ? +asm1_ora_10511_62.aud
?--------- ? ? ? ? ? +asm1_ora_10516_37.aud
?--------- ? ? ? ? ? +asm1_ora_10532_34.aud
?--------- ? ? ? ? ? +asm1_ora_10541_36.aud
?--------- ? ? ? ? ? +asm1_ora_10600_79.aud
?--------- ? ? ? ? ? +asm1_ora_1060_20.aud
?--------- ? ? ? ? ? +asm1_ora_1062_55.aud
?--------- ? ? ? ? ? +asm1_ora_10651_20.aud
?--------- ? ? ? ? ? +asm1_ora_10684_33.aud
?--------- ? ? ? ? ? +asm1_ora_10711_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10748_21.aud
?--------- ? ? ? ? ? +asm1_ora_10757_23.aud
?--------- ? ? ? ? ? +asm1_ora_10793_32.aud
?--------- ? ? ? ? ? +asm1_ora_10795_d.aud
?--------- ? ? ? ? ? +asm1_ora_10804_49.aud
?--------- ? ? ? ? ? +asm1_ora_10836_6b.aud
?--------- ? ? ? ? ? +asm1_ora_10852_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10879_2b.aud
?--------- ? ? ? ? ? +asm1_ora_10907_6d.aud
?--------- ? ? ? ? ? +asm1_ora_10909_d.aud
?--------- ? ? ? ? ? +asm1_ora_1091_15.aud
?--------- ? ? ? ? ? +asm1_ora_10949_28.aud
?--------- ? ? ? ? ? +asm1_ora_10953_25.aud
--More--
I can rename this folder, but couldn't move it to another partition or delete the whole folder.
[root@tartarus audit.old]# pwd
/u1/oracle/11.2.0/gridhome
[root@tartarus audit.old]# ls -alt | more
total 181540
drwxrwxrwx 2 grid oinstall 185704448 Jul 1 21:22 .
drwxr-xr-x 14 grid oinstall 4096 Jul 1 21:21 ..
?--------- ? ? ? ? ? +asm1_ora_10036_a.aud
?--------- ? ? ? ? ? +asm1_ora_10058_12.aud
?--------- ? ? ? ? ? +asm1_ora_1009_35.aud
?--------- ? ? ? ? ? +asm1_ora_10134_4.aud
?--------- ? ? ? ? ? +asm1_ora_10152_39.aud
?--------- ? ? ? ? ? +asm1_ora_10214_46.aud
?--------- ? ? ? ? ? +asm1_ora_10271_69.aud
?--------- ? ? ? ? ? +asm1_ora_10289_7.aud
?--------- ? ? ? ? ? +asm1_ora_1030_5b.aud
?--------- ? ? ? ? ? +asm1_ora_10307_24.aud
?--------- ? ? ? ? ? +asm1_ora_10318_59.aud
?--------- ? ? ? ? ? +asm1_ora_1034_1e.aud
?--------- ? ? ? ? ? +asm1_ora_10347_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10412_8.aud
?--------- ? ? ? ? ? +asm1_ora_10415_56.aud
?--------- ? ? ? ? ? +asm1_ora_10425_38.aud
?--------- ? ? ? ? ? +asm1_ora_1043_16.aud
?--------- ? ? ? ? ? +asm1_ora_10435_2c.aud
?--------- ? ? ? ? ? +asm1_ora_10481_5c.aud
?--------- ? ? ? ? ? +asm1_ora_10494_3d.aud
?--------- ? ? ? ? ? +asm1_ora_10511_62.aud
?--------- ? ? ? ? ? +asm1_ora_10516_37.aud
?--------- ? ? ? ? ? +asm1_ora_10532_34.aud
?--------- ? ? ? ? ? +asm1_ora_10541_36.aud
?--------- ? ? ? ? ? +asm1_ora_10600_79.aud
?--------- ? ? ? ? ? +asm1_ora_1060_20.aud
?--------- ? ? ? ? ? +asm1_ora_1062_55.aud
?--------- ? ? ? ? ? +asm1_ora_10651_20.aud
?--------- ? ? ? ? ? +asm1_ora_10684_33.aud
?--------- ? ? ? ? ? +asm1_ora_10711_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10748_21.aud
?--------- ? ? ? ? ? +asm1_ora_10757_23.aud
?--------- ? ? ? ? ? +asm1_ora_10793_32.aud
?--------- ? ? ? ? ? +asm1_ora_10795_d.aud
?--------- ? ? ? ? ? +asm1_ora_10804_49.aud
?--------- ? ? ? ? ? +asm1_ora_10836_6b.aud
?--------- ? ? ? ? ? +asm1_ora_10852_2e.aud
?--------- ? ? ? ? ? +asm1_ora_10879_2b.aud
?--------- ? ? ? ? ? +asm1_ora_10907_6d.aud
?--------- ? ? ? ? ? +asm1_ora_10909_d.aud
?--------- ? ? ? ? ? +asm1_ora_1091_15.aud
?--------- ? ? ? ? ? +asm1_ora_10949_28.aud
?--------- ? ? ? ? ? +asm1_ora_10953_25.aud
--More--
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I tried to enter singer user mode without any oracle service and delete the files, but failed.
ASKER
how could I stop oracle service? It's an oracle database server, I have to shutdown all dbs to stop oracle services.
Hi,,
First stop oracle service and Login with oracle user...and try to delete....
Hi,,
First stop oracle service and Login with oracle user...and try to delete....
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
lsattr: No such file or directory while trying to stat asm1_ora_9997_10.aud
[root@tartarus audit.old]# lsattr +asm1_ora_9997_10.aud
lsattr: No such file or directory while trying to stat +asm1_ora_9997_10.aud
[root@tartarus audit.old]# lsattr "+asm1_ora_9997_10.aud"
lsattr: No such file or directory while trying to stat +asm1_ora_9997_10.aud
[root@tartarus audit.old]# lsattr -i "+asm1_ora_9997_10.aud"
lsattr: invalid option -- i
Usage: lsattr [-RVadlv] [files...]
[root@tartarus audit.old]# chattr -i "+asm1_ora_9997_10.aud"
Usage: chattr [-RV] [-+=AacDdijsSu] [-v version] files...
[root@tartarus audit.old]#