Skip to contentSkip to conversation

serious Reiser4 fsck problem

DISCUSSION Dirk 3 participants 4 messages Jul 22, 2006 – Jul 24, 2006

lore
Share & tools
lore

Dirk

author
#0 lore raw

Hello,
will using

fsck.reiser4 --build-fs

result in data loss? I mean to fix the partition - NOT to lose the data on it..

The manual page is also not very specific about if data will be lost or not when using this option...

Using --fix resulted in a message that I should use --build-fs to remove corruption...

Thanks,
Dirk

#1 lore raw

Dnia Sat, 22 Jul 2006 12:08:58 +0200, Dirk <[email protected]> napisa³:

Quoted 5 lines

Hello,
will using

fsck.reiser4 --build-fs

Quoted 8 lines

result in data loss? I mean to fix the partition - NOT to lose the data on it..

The manual page is also not very specific about if data will be lost or not when using this option...

Using --fix resulted in a message that I should use --build-fs to remove corruption...

You will probably end up with some amount of files in lost&found dir, those will be the files that fsck can't recognize from what dir are coming and what are named, depending on what corruption You have there can always be some files that You won't get back. As always, backups are a must have on any fs.

author
#2 lore raw
Quoted 17 lines · £ukasz Mierzwa

Dnia Sat, 22 Jul 2006 12:08:58 +0200, Dirk <[email protected]> napisa³:

Quoted 5 lines

Hello,
will using

fsck.reiser4 --build-fs

Quoted 8 lines

result in data loss? I mean to fix the partition - NOT to lose the data on it..

The manual page is also not very specific about if data will be lost or not when using this option...

Using --fix resulted in a message that I should use --build-fs to remove corruption...

Quoted 7 lines

You will probably end up with some amount of files in lost&found dir, those will be the files that fsck can't recognize from what dir are coming and what are named, depending on what corruption You have there can always be some files that You won't get back. As always, backups are a must have on any fs.

The hdd was full and a process was still trying to write and create new files... So I guess those files might end up in lost+found...

Just want to make sure that --build-fs will not build a _new_ fs, meaning formatting the fs by formatting it?!? That wasn't very clear from what I'd read in the manual...

Dirk

#3 lore raw

Hello

Quoted 26 lines · Dirk
Quoted 17 lines · Łukasz Mierzwa
Quoted 5 lines · Dirk

Hello,
will using

fsck.reiser4 --build-fs

Quoted 8 lines

result in data loss? I mean to fix the partition - NOT to lose the data on it..

The manual page is also not very specific about if data will be lost or not when using this option...

Using --fix resulted in a message that I should use --build-fs to remove corruption...

Quoted 7 lines

You will probably end up with some amount of files in lost&found dir, those will be the files that fsck can't recognize from what dir are coming and what are named, depending on what corruption You have there can always be some files that You won't get back. As always, backups are a must have on any fs.

Quoted 5 lines

The hdd was full and a process was still trying to write and create new files... So I guess those files might end up in lost+found...

Just want to make sure that --build-fs will not build a _new_ fs, meaning formatting the fs by formatting it?!?

it will not format. This is another mode of recovering.

Quoted 8 lines

That wasn't very clear
from what I'd read in the manual...

Dirk