Skip to contentSkip to conversation

file attributes destroyed.

DISCUSSION Wolfgang Rohdewald 3 participants 9 messages Oct 26, 2003 – Oct 27, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

last night, some files and directories involved in starting bash went defect:

$HOME had very wrong permissions
/etc/bashrc was empty

and a few more. I did not make notes, I was rather trying to fix that ASAP.

This never happened before. I am running an up to date debian unstable with only ReiserFS and 2.4.22

Last night, the summer daylight saving ended. The modification time of /etc/bashrc was 03:29, I believe.

Any ideas?

Signature · 12 lines
mit freundlichen Grüssen

with my best greetings

Wolfgang Rohdewald

dipl. Informatik Ing. ETH Rohdewald Systemberatung
Karauschenstieg 4
D 21640 Horneburg
Tel.:     04163 826 819
Fax:      04163 826 828
Internet: www.rohdewald.de
#2 lore raw
In reply to Vitaly Fertman
Quoted 19 lines · Vitaly Fertman
Quoted 16 lines · Wolfgang Rohdewald

Hi,

last night, some files and directories involved in starting bash went defect:

$HOME had very wrong permissions
/etc/bashrc was empty

and a few more. I did not make notes, I was rather trying to fix that ASAP.

This never happened before. I am running an up to date debian unstable with only ReiserFS and 2.4.22

Last night, the summer daylight saving ended. The modification time of /etc/bashrc was 03:29, I believe.

Quoted 9 lines
Quoted 3 lines

Any ideas?

would you take the latest reiserfsprogs from our ftp site (3.6.11) and run reiserfsck to be sure that there are no fs corruptions.

Are you using the SuSE kernel? Are you using NFS?

Signature · 1 line
Hans
#1 lore raw
In reply to Wolfgang Rohdewald
Quoted 10 lines · Wolfgang Rohdewald

Hi,

last night, some files and directories involved in starting bash went defect:

$HOME had very wrong permissions
/etc/bashrc was empty

and a few more. I did not make notes, I was rather trying to fix that ASAP.

Quoted 7 lines

This never happened before. I am running an up to date debian unstable with only ReiserFS and 2.4.22

Last night, the summer daylight saving ended. The modification time of /etc/bashrc was 03:29, I believe.

Any ideas?

would you take the latest reiserfsprogs from our ftp site (3.6.11) and run reiserfsck to be sure that there are no fs corruptions.

Signature · 2 lines
Thanks,
Vitaly Fertman
#3 lore raw
In reply to Hans Reiser

On 26.10.2003 13:06, Hans Reiser wrote:
HR> Are you using the SuSE kernel?

No, Debian unstable with a standard 2.4.22 kernel augmented with ibcs2, qc-usb. I am using ibcs2 since years and qc-usb since several months.

HR> Are you using NFS?

Never.

/usr/src/linux# grep -i nfs .config
# CONFIG_NFS_FS is not set
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set

Signature · 1 line
Wolfgang
#5 lore raw
In reply to Vitaly Fertman

On 26.10.2003 13:50, Vitaly Fertman wrote:
VF> would you take the latest reiserfsprogs from our ftp site (3.6.11) and run VF> reiserfsck to be sure that there are no fs corruptions.

I'll try that later, being away now for a while.

Signature · 1 line
Wolfgang
#4 lore raw
In reply to Wolfgang Rohdewald
Quoted 10 lines · Wolfgang Rohdewald

On 26.10.2003 13:06, Hans Reiser wrote:
HR> Are you using the SuSE kernel?

No, Debian unstable with a standard 2.4.22 kernel augmented with ibcs2, qc-usb. I am using ibcs2 since years and qc-usb since several months.

HR> Are you using NFS?

Never.

Quoted 12 lines

/usr/src/linux# grep -i nfs .config
# CONFIG_NFS_FS is not set
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set

Vladimir, please look into this.

Signature · 1 line
Hans
#6 lore raw
In reply to Wolfgang Rohdewald
Quoted 8 lines · Wolfgang Rohdewald

On 26.10.2003 13:50, Vitaly Fertman wrote:
VF> would you take the latest reiserfsprogs from our ftp site (3.6.11) and run VF> reiserfsck to be sure that there are no fs corruptions.

I'll try that later, being away now for a while.

Ah, wait, I forgot, did you ever use a kernel version older than 2.4.22 on this fs? Could the corruption be from that time?

Signature · 1 line
Hans
#7 lore raw

On 26.10.2003 17:29, Hans Reiser wrote:
HR> Ah, wait, I forgot, did you ever use a kernel version older than 2.4.22 HR> on this fs? Could the corruption be from that time?

I am not sure how old this file system is but it has certainly seen 2.4.20 and 2.4.21.

However the files were still intact when I made my nightly backup last night. I'll try reiserfsck later.

Signature · 1 line
Wolfgang
#8 lore raw
In reply to Vitaly Fertman

On 26.10.2003 13:50, Vitaly Fertman wrote:
VF> would you take the latest reiserfsprogs from our ftp site (3.6.11) and run VF> reiserfsck to be sure that there are no fs corruptions.
VF>

I now did. Actually I downloaded the latest Knoppix which contains reiserfsck 3.6.11.
Result: Nothing found.

I guess I'll just wait and see if it happens again. Thank you very much for your help anyway.

reiserfsck --check started at Mon Oct 27 05:27:28 2003
###########
Replaying journal..
0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:

        Leaves 132833
        Internal nodes 893
        Directories 30379
        Other files 461546
        Data block pointers 17680796 (932 of them are zero)
        Safe links 0

###########
reiserfsck finished at Mon Oct 27 05:44:58 2003
###########

Signature · 1 line
Wolfgang