Skip to contentSkip to conversation

ReiserFS 3.6 - Unable to access some files

DISCUSSION Laurent CARON 2 participants 4 messages Dec 20, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently using a big (1.2Tb) Reiser3.6 filesystem under debian SID (Kernel 2.6.13).

Problem: I'm trying to delete a file, but unfortunately.... it won't me delete it.

server:/var/tmp# rm -Rf network.old
rm: cannot remove `network.old/Makefile': Permission denied

cd ./network.old

server:/var/tmp/network.old# ls -al
ls: Makefile: Permission denied
total 0
drwxrwxrwt+ 2 root Domain Users  72 2005-07-13 10:17 ./
drwxrwxrwt  4 root root         104 2005-12-02 13:42 ../
server:/var/tmp/network.old# stat *
stat: cannot stat `Makefile': Permission denied

Is this a filesystem corruption, a bug in reiserfs....?

Thanks

#1 lore raw

Hello

Quoted 11 lines · Laurent CARON

Hi,

I'm currently using a big (1.2Tb) Reiser3.6 filesystem under debian SID (Kernel 2.6.13).

Problem: I'm trying to delete a file, but unfortunately.... it won't me delete it.

server:/var/tmp# rm -Rf network.old
rm: cannot remove `network.old/Makefile': Permission denied

is there anything in system logs?

Quoted 7 lines

cd ./network.old

server:/var/tmp/network.old# ls -al
ls: Makefile: Permission denied
total 0
drwxrwxrwt+ 2 root Domain Users  72 2005-07-13 10:17 ./
drwxrwxrwt  4 root root         104 2005-12-02 13:42 ../
Quoted 6 lines
server:/var/tmp/network.old# stat *
stat: cannot stat `Makefile': Permission denied

Is this a filesystem corruption, a bug in reiserfs....?

It looks like a filesystem corruption: there is a name in a directory, but the file itself can not be found.

#2 lore raw
Quoted 13 lines · Vladimir V. Saveliev

Hello

Quoted 8 lines · Laurent CARON

Hi,

I'm currently using a big (1.2Tb) Reiser3.6 filesystem under debian SID (Kernel 2.6.13).

Problem: I'm trying to delete a file, but unfortunately.... it won't me delete it.

Quoted 9 lines
Quoted 5 lines
server:/var/tmp# rm -Rf network.old
rm: cannot remove `network.old/Makefile': Permission denied

is there anything in system logs?

No error in the logs.

Quoted 13 lines
Quoted 13 lines

cd ./network.old

server:/var/tmp/network.old# ls -al
ls: Makefile: Permission denied
total 0
drwxrwxrwt+ 2 root Domain Users  72 2005-07-13 10:17 ./
drwxrwxrwt  4 root root         104 2005-12-02 13:42 ../
server:/var/tmp/network.old# stat *
stat: cannot stat `Makefile': Permission denied
Quoted 9 lines
Quoted 4 lines

Is this a filesystem corruption, a bug in reiserfs....?

It looks like a filesystem corruption: there is a name in a directory, but the file itself can not be found.

If it is a "little" FS corruption, a reiserfsck --fix-fixable /dev/partition should "normally" be able to fix it .?.?

#3 lore raw

Hello

Quoted 42 lines · Laurent CARON
Quoted 13 lines · Vladimir V. Saveliev

Hello

Quoted 8 lines · Laurent CARON

Hi,

I'm currently using a big (1.2Tb) Reiser3.6 filesystem under debian SID (Kernel 2.6.13).

Problem: I'm trying to delete a file, but unfortunately.... it won't me delete it.

Quoted 8 lines
Quoted 4 lines
server:/var/tmp# rm -Rf network.old
rm: cannot remove `network.old/Makefile': Permission denied

is there anything in system logs?

No error in the logs.

Quoted 17 lines
Quoted 16 lines

cd ./network.old

server:/var/tmp/network.old# ls -al
ls: Makefile: Permission denied
total 0
drwxrwxrwt+ 2 root Domain Users  72 2005-07-13 10:17 ./
drwxrwxrwt  4 root root         104 2005-12-02 13:42 ../
server:/var/tmp/network.old# stat *
stat: cannot stat `Makefile': Permission denied

Is this a filesystem corruption, a bug in reiserfs....?

Quoted 8 lines
Quoted 5 lines

It looks like a filesystem corruption: there is a name in a directory, but the
file itself can not be found.

If it is a "little" FS corruption, a reiserfsck --fix-fixable /dev/partition should "normally" be able to fix it .?.?

yes, reiserfsck --fix-fixable will fix it if there is nothing worse. So, you should start with "reiserfsck /dev/partition" and see what it says.