Skip to contentSkip to conversation

Overwritten files

DISCUSSION Rutger Swarts 6 participants 8 messages Apr 16, 2002 – Apr 21, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I do not know if this is the right place to post this, but I can't think of any better place, so here goes:

I recently discovered that one of my files was overwritten somehow. It resides on a reiserfs partition which is mounted read-only. The contents of the file where overwritten with parts of other files on seemingly random places and bits of ASCII text.

Looking over it now I see it contains parts of win32 applications (strings like "This program can not be run in dos mode") and XML files. I do not know if there are any other files affected by this (quite a lot of files on that partition) but I will check each file before I backup.

Now my question:

Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

Rutger Swarts

#1 lore raw

Hello!

Quoted 2 lines · Rutger Swarts

Now my question:
Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

No. This is not known issue. Look at the mtime of file in question. If it is not changed, chances are you hit disk driver error (or if you run windows on this box, the windows error). This does not look like reiserfs problem, though.

Bye,
Oleg

#2 lore raw
In reply to Rutger Swarts

Am Die, 2002-04-16 um 10.53 schrieb Rutger Swarts:

Quoted 7 lines

Hi all,

I do not know if this is the right place to post this, but I can't think of any better place, so here goes:

I recently discovered that one of my files was overwritten somehow. It resides on a reiserfs partition which is mounted read-only. The contents of the file where overwritten with parts of other files on seemingly random places and bits of ASCII text.

Quoted 7 lines

Looking over it now I see it contains parts of win32 applications (strings like "This program can not be run in dos mode") and XML files. I do not know if there are any other files affected by this (quite a lot of files on that partition) but I will check each file before I backup.

Now my question:

Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

Rutger Swarts

Hi,

do you boot the box sometimes with windows? I had a similar problem on a laptop with windows 98 and linux (with ext2). Sometimes, windows seem to overwrite the first partition and write onto the next one. This happend two times in half a year. In my case, the linux installation was no bootable any more.

Hope this helps,
Heinz-Josef Claes

PS:
No Microsoft products were used in any way for the creation of this message. If you are using a Microsoft product to view it, BEWARE! - I'm not responsible for any harm you might encounter as a result. :-)

#3 lore raw
Quoted 18 lines · On 17 Apr 2002 07:27:37 +0200 Heinz-Josef Claes <[email protected]> wrote:

Am Die, 2002-04-16 um 10.53 schrieb Rutger Swarts:

Quoted 7 lines

Hi all,

I do not know if this is the right place to post this, but I can't think of any better place, so here goes:

I recently discovered that one of my files was overwritten somehow. It resides on a reiserfs partition which is mounted read-only. The contents of the file where overwritten with parts of other files on seemingly random places and bits of ASCII text.

Quoted 7 lines

Looking over it now I see it contains parts of win32 applications (strings like "This program can not be run in dos mode") and XML files. I do not know if there are any other files affected by this (quite a lot of files on that partition) but I will check each file before I backup.

Now my question:

Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

Rutger Swarts

Hi,

Quoted 8 lines

do you boot the box sometimes with windows? I had a similar problem on a laptop with windows 98 and linux (with ext2). Sometimes, windows seem to overwrite the first partition and write onto the next one. This happend two times in half a year. In my case, the linux installation was no bootable any more.

Hope this helps,
Heinz-Josef Claes

This problem really seems to exist even though rather rarely... I encountered it twice in about four years on a box running windows 98 - both times it crashed while writing a rather large file, after reboot it seemed to have written on the linux partition located behind the windows partition.

If you need to know the exact windows version, harddisk and disk driver versions etc, I can try to find that box somewhere around here ...

HTH,
Stefan.

Quoted 8 lines

PS:
No Microsoft products were used in any way for the creation of this message. If you are using a Microsoft product to view it, BEWARE! - I'm not responsible for any harm you might encounter as a result. :-)

#4 lore raw
Quoted 7 lines · Stefan Janecek
Quoted 5 lines · Heinz-Josef Claes

do you boot the box sometimes with windows? I had a similar problem on a laptop with windows 98 and linux (with ext2). Sometimes, windows seem to overwrite the first partition and write onto the next one. This happend two times in half a year. In my case, the linux installation was no bootable any more.

Quoted 5 lines

This problem really seems to exist even though rather rarely... I encountered it twice in about four years on a box running windows 98 - both times it crashed while writing a rather large file, after reboot it seemed to have written on the linux partition located behind the windows partition.

This may be a result of the partition table not being updated properly. Windows does some strange things with the partition tables, so updating them under Linux may not mean that Windows thinks the partitions are the same size.

It is also possible that you have hibernation support enabled for Windows. This is often a file mapped by blocknumber on the disk, so even if you partition your disk, the hibernation code (in the BIOS) will write wherever it thinks it should. You need to disable the hibernation and then re-enable it under Windows in order to have a new hibernation file created.

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

#5 lore raw

Any patch on swapper for MD ioctl

Hello!

I am not sure this is the right place for this question.

I am using Linux-2.4.18 on the top of Redhat7.1, and using the swap file on the RAID 1 MD device. I am having the following message at system boot;

" md: swapper(pid 1) used obsolete md ioctl,
upgrade your software to use new ictls".

This message is from /drivers/md/md.c, which must be called by swapper.

Are there any kernel patches for this? Where can I get it?

Thanks in advance,

Bo

#6 lore raw
In reply to Stefan Janecek

Am Mit, 2002-04-17 um 17.15 schrieb Stefan Janecek:

Quoted 36 lines
Quoted 18 lines · On 17 Apr 2002 07:27:37 +0200 Heinz-Josef Claes <[email protected]> wrote:

Am Die, 2002-04-16 um 10.53 schrieb Rutger Swarts:

Quoted 7 lines

Hi all,

I do not know if this is the right place to post this, but I can't think of any better place, so here goes:

I recently discovered that one of my files was overwritten somehow. It resides on a reiserfs partition which is mounted read-only. The contents of the file where overwritten with parts of other files on seemingly random places and bits of ASCII text.

Quoted 7 lines

Looking over it now I see it contains parts of win32 applications (strings like "This program can not be run in dos mode") and XML files. I do not know if there are any other files affected by this (quite a lot of files on that partition) but I will check each file before I backup.

Now my question:

Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

Rutger Swarts

Hi,

Quoted 8 lines

do you boot the box sometimes with windows? I had a similar problem on a laptop with windows 98 and linux (with ext2). Sometimes, windows seem to overwrite the first partition and write onto the next one. This happend two times in half a year. In my case, the linux installation was no bootable any more.

Hope this helps,
Heinz-Josef Claes

This problem really seems to exist even though rather rarely... I encountered it twice in about four years on a box running windows 98 - both times it crashed while writing a rather large file, after reboot it seemed to have written on the linux partition located behind the windows partition.

Quoted 5 lines

If you need to know the exact windows version, harddisk and disk driver versions etc, I can try to find that box somewhere around here ...

HTH,
Stefan.

Oops,

I only wanted to give a hint, that perhaps the described problem has nothing to do with reiserfs. I do not have the problem any more, because I don't have to user windows :-).

regards,
Heinz-Josef

#7 lore raw
Quoted 40 lines · Heinz-Josef Claes

Am Mit, 2002-04-17 um 17.15 schrieb Stefan Janecek:

Quoted 39 lines
Quoted 18 lines · On 17 Apr 2002 07:27:37 +0200 Heinz-Josef Claes <[email protected]> wrote:

Am Die, 2002-04-16 um 10.53 schrieb Rutger Swarts:

Quoted 7 lines

Hi all,

I do not know if this is the right place to post this, but I can't think of any better place, so here goes:

I recently discovered that one of my files was overwritten somehow. It resides on a reiserfs partition which is mounted read-only. The contents of the file where overwritten with parts of other files on seemingly random places and bits of ASCII text.

Quoted 7 lines

Looking over it now I see it contains parts of win32 applications (strings like "This program can not be run in dos mode") and XML files. I do not know if there are any other files affected by this (quite a lot of files on that partition) but I will check each file before I backup.

Now my question:

Is this a known issue? if yes: what can I do about it? if no: what information do you need to reproduce/solve this problem? (stop it from happening again, that is)

Rutger Swarts

Hi,

Quoted 8 lines

do you boot the box sometimes with windows? I had a similar problem on a laptop with windows 98 and linux (with ext2). Sometimes, windows seem to overwrite the first partition and write onto the next one. This happend two times in half a year. In my case, the linux installation was no bootable any more.

Hope this helps,
Heinz-Josef Claes

This problem really seems to exist even though rather rarely... I encountered it twice in about four years on a box running windows 98 - both times it crashed while writing a rather large file, after reboot it seemed to have written on the linux partition located behind the windows partition.

If you need to know the exact windows version, harddisk and disk driver versions etc, I can try to find that box somewhere around here ...

Quoted 7 lines
Quoted 2 lines

HTH,
Stefan.

Oops,

I only wanted to give a hint, that perhaps the described problem has nothing to do with reiserfs. I do not have the problem any more, because I don't have to user windows :-).

.... lucky guy ;-)

Stefan.

Quoted 6 lines

regards,
Heinz-Josef