reiser4progs 1.0.4
Hello All
The new reiser4progs package is available on our ftp site (ftp://ftp.namesys.com/pub/reiser4progs/).
It includes:
Bugfixes:
- in file body/extent item truncate code;
- in backup handling & traverse code;
- in journal unpack code;
- in node repair code;
- in not aligned access to on-disk data;
- in extent item-by-item insertion code;
- in tree balancing code;
- in SuperBlock handling code;
- in syncing code;
- in file body convertion code.
Enable libminimal by default.
Do not configure/install empty utils(resizer, cpfs).
A reiser4 support for grub 0.96 is available in
ftp://ftp.namesys.com/pub/reiser4progs/grub
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 2 lines · Vitaly Fertman
The new reiser4progs package is available on our ftp site (ftp://ftp.namesys.com/pub/reiser4progs/).
Thank you for this release. It doesn't crash anymore :-)
But it does tell me:
"NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE."
I have a copy of the fs, but I did run verson 1.0.3 on it before I made a copy. (1.0.3 crashes with segfault).
Is this fs fixable you think?
Thanks in advance and with kind regards, Sander
bellyup:~# fsck.reiser4 --version fsck.reiser4 1.0.4 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.
bellyup:~# fsck.reiser4 /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:30 2005
Fatal: Wrong magic found in the master super block.
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).
1 fatal corruptions were detected in SuperBlock. Run with --build-sb option to fix them.
bellyup:~# fsck.reiser4 --build-sb /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:43 2005
Fatal: Wrong magic found in the master super block.
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).
1 fatal corruptions were detected in SuperBlock. Run with --build-sb option to fix them.
bellyup:~# fsck.reiser4 --build-sb /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:43 2005
Fatal: Wrong magic found in the master super block.
Master super block cannot be found on (/dev/hda1). Do you want to build a new one? (Yes/No): Yes
Which block size do you use? [4096]:
Warn : A new master superblock is created on '/dev/hda1'.
Fatal: Can't open disk-format format40.
Enter the key plugin name [key_large]:
Enter the correct block count please [126504]:
Warn : The format 'format40' is created on '/dev/hda1'.
Error: Wrong magic is found in the filesystem status block.
Warn : Creating a new status block.
FSCK: Checksum missmatch in bitmap block 18. Checksum is 0x0, should be 0xffc0001.
FSCK: Checksum missmatch in bitmap block 32736. Checksum is 0xef2d8782, should be 0x955c26fe.
FSCK: Checksum missmatch in bitmap block 65472. Checksum is 0x64c78fa2, should be 0xf55bf507.
FSCK: Checksum missmatch in bitmap block 98208. Checksum is 0xf6d9d7e3, should be 0x885c0260.
FSCK: Checksums will be fixed later.
Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:49:52 2005 - Mon Feb 21 13:49:52 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:49:52 2005 - Mon Feb 21 13:49:52 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:49:52 2005 Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
bellyup:~# fsck.reiser4 /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:02 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is 0x0, should be 0xffc0001.
FSCK: Checksum missmatch in bitmap block 32736. Checksum is 0xef2d8782, should be 0x955c26fe.
FSCK: Checksum missmatch in bitmap block 65472. Checksum is 0x64c78fa2, should be 0xf55bf507.
FSCK: Checksum missmatch in bitmap block 98208. Checksum is 0xf6d9d7e3, should be 0x885c0260. Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:50:02 2005 - Mon Feb 21 13:50:02 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:02 2005 - Mon Feb 21 13:50:02 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:02 2005 Closing fs...done
1 fixable corruptions were detected in the SuperBlock. Run with --fix option to fix them.
bellyup:~# fsck.reiser4 --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will fix minor corruptions of the Reiser4 SuperBlock.
Will fix minor corruptions of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:14 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is 0x0, should be 0xffc0001.
FSCK: Checksum missmatch in bitmap block 32736. Checksum is 0xef2d8782, should be 0x955c26fe.
FSCK: Checksum missmatch in bitmap block 65472. Checksum is 0x64c78fa2, should be 0xf55bf507.
FSCK: Checksum missmatch in bitmap block 98208. Checksum is 0xf6d9d7e3, should be 0x885c0260.
FSCK: Checksums will be fixed later.
Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:50:14 2005 - Mon Feb 21 13:50:14 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:14 2005 - Mon Feb 21 13:50:14 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:14 2005 Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
bellyup:~# fsck.reiser4 --build-fs /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:26 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is 0x0, should be 0xffc0001.
FSCK: Checksum missmatch in bitmap block 32736. Checksum is 0xef2d8782, should be 0x955c26fe.
FSCK: Checksum missmatch in bitmap block 65472. Checksum is 0x64c78fa2, should be 0xf55bf507.
FSCK: Checksum missmatch in bitmap block 98208. Checksum is 0xf6d9d7e3, should be 0x885c0260. Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:26 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:26 2005
LOOKING FOR UNCONNECTED NODES
Read nodes 96346
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:35 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:35 2005 - Mon Feb 21 13:50:35 2005
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Mon Feb 21 13:50:35 2005 - Mon Feb 21 13:50:35 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:35 2005 Closing fs...done
1 fixable corruptions were detected in the SuperBlock. Run with --fix option to fix them. NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
bellyup:~# fsck.reiser4 --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will fix minor corruptions of the Reiser4 SuperBlock. Will fix minor corruptions of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:51:01 2005 Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 126476 root block: 18446744073709551615 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:51:02 2005 - Mon Feb 21 13:51:02 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:51:02 2005 - Mon Feb 21 13:51:02 2005
Warn : Fatal corruptions were found. Semantic pass is skipped.
***** fsck.reiser4 finished at Mon Feb 21 13:51:02 2005
Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
bellyup:~# fsck.reiser4 --build-fs --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hda1 block device.
Will fix minor corruptions of the Reiser4 SuperBlock. Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:52:45 2005 Reiser4 fs was detected on /dev/hda1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 126476 root block: 18446744073709551615 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGE
CHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
LOOKING FOR UNCONNECTED NODES
Read nodes 0
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:52:46 2005 Closing fs...done
NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
Quoted 426 lines · Ookhoi
Quoted 2 lines · Vitaly Fertman
The new reiser4progs package is available on our ftp site (ftp://ftp.namesys.com/pub/reiser4progs/).
Thank you for this release. It doesn't crash anymore :-)
But it does tell me:
"NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE."I have a copy of the fs, but I did run verson 1.0.3 on it before I made a copy. (1.0.3 crashes with segfault).
Is this fs fixable you think?
Thanks in advance and with kind regards, Sander
bellyup:~# fsck.reiser4 --version fsck.reiser4 1.0.4 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.bellyup:~# fsck.reiser4 /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:30 2005
Fatal: Wrong magic found in the master super block.
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).1 fatal corruptions were detected in SuperBlock. Run with --build-sb option to fix them.
bellyup:~# fsck.reiser4 --build-sb /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:43 2005
Fatal: Wrong magic found in the master super block.
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).1 fatal corruptions were detected in SuperBlock. Run with --build-sb option to fix them.
bellyup:~# fsck.reiser4 --build-sb /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:49:43 2005
Fatal: Wrong magic found in the master super block.
Master super block cannot be found on (/dev/hda1). Do you want to build a new one? (Yes/No): Yes
Which block size do you use? [4096]:
Warn : A new master superblock is created on '/dev/hda1'.
Fatal: Can't open disk-format format40.
Enter the key plugin name [key_large]:
Enter the correct block count please [126504]:
Warn : The format 'format40' is created on '/dev/hda1'.
Error: Wrong magic is found in the filesystem status block. Warn : Creating a new status block.
FSCK: Checksum missmatch in bitmap block 18. Checksum is0x0, should be0xffc0001. FSCK: Checksum missmatch in bitmap block 32736. Checksum is0xef2d8782, should be0x955c26fe. FSCK: Checksum missmatch in bitmap block 65472. Checksum is0x64c78fa2, should be0xf55bf507. FSCK: Checksum missmatch in bitmap block 98208. Checksum is0xf6d9d7e3, should be0x885c0260. FSCK: Checksums will be fixed later.
Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:49:52 2005 - Mon Feb 21 13:49:52 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:49:52 2005 - Mon Feb 21 13:49:52 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:49:52 2005 Closing fs...done1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
bellyup:~# fsck.reiser4 /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will check the consistency of the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:02 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is0x0, should be0xffc0001. FSCK: Checksum missmatch in bitmap block 32736. Checksum is0xef2d8782, should be0x955c26fe. FSCK: Checksum missmatch in bitmap block 65472. Checksum is0x64c78fa2, should be0xf55bf507. FSCK: Checksum missmatch in bitmap block 98208. Checksum is0xf6d9d7e3, should be0x885c0260. Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:50:02 2005 - Mon Feb 21 13:50:02 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:02 2005 - Mon Feb 21 13:50:02 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:02 2005 Closing fs...done1 fixable corruptions were detected in the SuperBlock. Run with --fix option to fix them.
bellyup:~# fsck.reiser4 --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will fix minor corruptions of the Reiser4 SuperBlock.
Will fix minor corruptions of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:14 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is0x0, should be0xffc0001. FSCK: Checksum missmatch in bitmap block 32736. Checksum is0xef2d8782, should be0x955c26fe. FSCK: Checksum missmatch in bitmap block 65472. Checksum is0x64c78fa2, should be0xf55bf507. FSCK: Checksum missmatch in bitmap block 98208. Checksum is0xf6d9d7e3, should be0x885c0260. FSCK: Checksums will be fixed later.
Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:50:14 2005 - Mon Feb 21 13:50:14 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:14 2005 - Mon Feb 21 13:50:14 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:14 2005 Closing fs...done1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
bellyup:~# fsck.reiser4 --build-fs /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:50:26 2005
FSCK: Checksum missmatch in bitmap block 18. Checksum is0x0, should be0xffc0001. FSCK: Checksum missmatch in bitmap block 32736. Checksum is0xef2d8782, should be0x955c26fe. FSCK: Checksum missmatch in bitmap block 65472. Checksum is0x64c78fa2, should be0xf55bf507. FSCK: Checksum missmatch in bitmap block 98208. Checksum is0xf6d9d7e3, should be0x885c0260. Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 0 root block: 0 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:26 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:26 2005
LOOKING FOR UNCONNECTED NODES
Read nodes 96346
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Mon Feb 21 13:50:26 2005 - Mon Feb 21 13:50:35 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:50:35 2005 - Mon Feb 21 13:50:35 2005
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Mon Feb 21 13:50:35 2005 - Mon Feb 21 13:50:35 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:50:35 2005 Closing fs...done1 fixable corruptions were detected in the SuperBlock. Run with --fix option to fix them. NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
bellyup:~# fsck.reiser4 --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will fix minor corruptions of the Reiser4 SuperBlock. Will fix minor corruptions of the Reiser4 FileSystem. Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:51:01 2005 Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 126476 root block: 18446744073709551615 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Mon Feb 21 13:51:02 2005 - Mon Feb 21 13:51:02 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:51:02 2005 - Mon Feb 21 13:51:02 2005
Warn : Fatal corruptions were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:51:02 2005
Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.bellyup:~# fsck.reiser4 --build-fs --fix /dev/hda1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hda1block device.
Will fix minor corruptions of the Reiser4 SuperBlock. Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Mon Feb 21 13:52:45 2005 Reiser4 fs was detected on/dev/hda1.
Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0xe78822c blocks: 126504 free blocks: 126476 root block: 18446744073709551615 tail policy: 0x2 (smart) next oid: 0x0 file count: 0 tree height: 0 key policy: LARGECHECKING STORAGE TREE
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
LOOKING FOR UNCONNECTED NODES
Read nodes 0
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Mon Feb 21 13:52:46 2005 - Mon Feb 21 13:52:46 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped. ***** fsck.reiser4 finished at Mon Feb 21 13:52:46 2005 Closing fs...done
Quoted 1 line
NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
no master super block, no format-specific super block, no backup blocks, no status block, all bitmap blocks are not valid, no one reiser4 formatted node has been found ... what you are fscking does not look like a reiser4 filesystem at all.
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 4 lines · Ookhoi
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).1 fatal corruptions were detected in SuperBlock. Run with --build-sb option to fix them.
Anyway, what is the preferred way to convert reiser4 to this new backup layout? I have all reiser4 partitions created with reiserfsprogs 1.0.0, so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable, I still didn't try fsck 1.0.4. I also found the -C option of debugfs.reiser4, but it didn't help either, and subsequent fsck also botched the filesystem. Were there any fixes in 1.0.4 regarding this?
Thanks,
Signature · 1 line
Jindrich Makovicka
Quoted 11 lines · Jindrich Makovicka
Quoted 4 lines · Ookhoi
Fatal: Failed to open the reiser4 backup.
Fatal: Cannot open the FileSystem on (/dev/hda1).1 fatal corruptions were detected in SuperBlock. Run with --build-sb
option to fix them.
Anyway, what is the preferred way to convert reiser4 to this new backup layout? I have all reiser4 partitions created with reiserfsprogs 1.0.0,
there was no format changes since 1.0.0, just a problem in reiser4progs with writing backups to disk
Quoted 2 lines
so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable,
fsck.reiser4 --build-sb is supposed to fix evth. what goes wrong?
Quoted 3 lines
I still didn't try fsck 1.0.4. I also found the -C option of debugfs.reiser4, but it didn't help either, and subsequent fsck also botched the filesystem. Were there any fixes in 1.0.4 regarding this?
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 7 lines · Vitaly Fertman
Quoted 6 lines · Ookhoi
Quoted 2 lines · Vitaly Fertman
The new reiser4progs package is available on our ftp site (ftp://ftp.namesys.com/pub/reiser4progs/).
Thank you for this release. It doesn't crash anymore :-)
Quoted 7 lines
Quoted 2 lines
But it does tell me:
"NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE."no master super block, no format-specific super block, no backup blocks, no status block, all bitmap blocks are not valid, no one reiser4 formatted node has been found ... what you are fscking does not look like a reiser4 filesystem at all.
Ugh .. It should be hda2, nog hda1 ..
Well, it is checked now. I can't mount it with the current kernel (no support) so I'll reboot and let you all know.
Sorry for the noise of that particular message ..
Vitaly Fertman wrote (ao):
Quoted 8 lines · Vitaly Fertman
Quoted 7 lines · Ookhoi
Quoted 6 lines · Vitaly Fertman
Quoted 2 lines
The new reiser4progs package is available on our ftp site (ftp://ftp.namesys.com/pub/reiser4progs/).
Thank you for this release. It doesn't crash anymore :-)
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
But it does tell me:
"NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE."no master super block, no format-specific super block, no backup blocks, no status block, all bitmap blocks are not valid, no one reiser4 formatted node has been found ... what you are fscking does not look like a reiser4 filesystem at all.
As said before I was very much asleep when I ran the fsck command. It should have been hda2, not hda1.
Btw, hda1 contained an ext2 filesystem which was not mountable and not recoverable after running all the fsck.reiser4 commands on it. Can't blame it I guess :-) Luckily it was only /boot and thus easy to recover.
I managed to reboot the machine and mount the fs. Some files where corrupted, but on the whole the fs seems fine now. So a big thumbs up for this release of fsck.reiser4 :-)
Btw, I blame the corruption on the combination kernel and a forced hard-reboot during shutdown (it hung).
Again, thumbs up. This all made me much more confident wrt Reiser4.
With kind regards, Sander
Quoted 5 lines · Vitaly Fertman
Quoted 2 lines
so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable,
fsck.reiser4 --build-sb is supposed to fix evth. what goes wrong?
sorry I didn't replied earlier, but I didn't have a spare disk available. here it goes. 40GB partition was mkfs'ed with 1.0.0, populated somehow (about 32k files, 400MB), then fsck --build-sb from 1.0.4 was run:
8<--- snip
holly:~# fsck.reiser4 --build-sb /dev/hdk1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hdk1 block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Fri Mar 18 19:46:33 2005
FSCK: UUID (0xea4de9160ad898572244086da443359e) found in the master super block does not match the one found in the backup (0xba44099ce147985c3da7d6bf7448b582). Fixed.
FSCK: The on-disk format mkfs id (0x19e74713) does not match the backup one (0x75315ca). Fixed.
Reiser4 fs was detected on /dev/hdk1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 5c9847e1-9c09-44ba-82b5-4874bfd6a73d label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x75315ca blocks: 9770662 free blocks: 9676935 root block: 25 tail policy: 0x2 (smart) next oid: 0x17d22 file count: 32034 tree height: 4 key policy: LARGE
CHECKING STORAGE TREE
FSCK: Node (25): failed to open the root node. The whole filter pass is skipped.
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Fri Mar 18 19:46:37 2005 - Fri Mar 18 19:46:37 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Fri Mar 18 19:46:37 2005 - Fri Mar 18 19:46:37 2005
Warn : Fatal corruptions were found. Semantic pass is skipped.
***** fsck.reiser4 finished at Fri Mar 18 19:46:37 2005 Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
holly:~# fsck.reiser4 --build-sb /dev/hdk1 > ~/r4_buildsb.txt ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hdk1 block device.
Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
holly:~# fsck.reiser4 --build-fs /dev/hdk1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************
Fscking the /dev/hdk1 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Fri Mar 18 19:48:56 2005 Reiser4 fs was detected on /dev/hdk1.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 5c9847e1-9c09-44ba-82b5-4874bfd6a73d label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x75315ca blocks: 9770662 free blocks: 9676935 root block: 25 tail policy: 0x2 (smart) next oid: 0x17d22 file count: 32034 tree height: 4 key policy: LARGE
CHECKING STORAGE TREE
FSCK: Node (25): failed to open the root node. The whole filter pass is skipped.
Warn : Reiser4 storage tree does not exist. Filter pass skipped.
Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Fri Mar 18 19:48:59 2005 - Fri Mar 18 19:48:59 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Fri Mar 18 19:48:59 2005 - Fri Mar 18 19:48:59 2005
LOOKING FOR UNCONNECTED NODES
Read nodes 93393
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Fri Mar 18 19:49:00 2005 - Fri Mar 18 19:49:09 2005
CHECKING EXTENT REGIONS.
Read twigs 0
Time interval: Fri Mar 18 19:49:09 2005 - Fri Mar 18 19:49:09 2005
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Fri Mar 18 19:49:10 2005 - Fri Mar 18 19:49:10 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped.
***** fsck.reiser4 finished at Fri Mar 18 19:49:10 2005 Closing fs...done
NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
8<--- snip
Signature · 1 line
Jindrich Makovicka
Quoted 27 lines · Jindrich Makovicka
Quoted 5 lines · Vitaly Fertman
Quoted 2 lines
so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable,
fsck.reiser4 --build-sb is supposed to fix evth. what goes wrong?
sorry I didn't replied earlier, but I didn't have a spare disk available. here it goes. 40GB partition was mkfs'ed with 1.0.0, populated somehow (about 32k files, 400MB), then fsck --build-sb from 1.0.4 was run:
8<--- snip
holly:~# fsck.reiser4 --build-sb /dev/hdk1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hdk1block device.Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
Quoted 8 lines
(Yes/No): Yes
***** fsck.reiser4 started at Fri Mar 18 19:46:33 2005
FSCK: UUID (0xea4de9160ad898572244086da443359e) found in the master super block does not match the one found in the backup (0xba44099ce147985c3da7d6bf7448b582). Fixed.
FSCK: The on-disk format mkfs id (0x19e74713) does not match the backup one (0x75315ca). Fixed.
Reiser4 fs was detected on/dev/hdk1.
it seems you forgot to mention that you had already created some reiser4 on this partition with 1.0.4 and after that created fs again with 1.0.0. the result of such experiments is that you have the mix of metadata -- fresh super blocks and old backup blocks. all formatted blocks are created according to the new parameters whereas recovery goes according to the detected backup blocks and as the result no valid reiser4 block is found. if you do not downgrade progs, you should not get such resuls.
Quoted 155 lines
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 5c9847e1-9c09-44ba-82b5-4874bfd6a73d label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x75315ca blocks: 9770662 free blocks: 9676935 root block: 25 tail policy: 0x2 (smart) next oid: 0x17d22 file count: 32034 tree height: 4 key policy: LARGECHECKING STORAGE TREE
FSCK: Node (25): failed to open the root node. The whole filter pass is skipped.
Warn : Reiser4 storage tree does not exist. Filter pass skipped.Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Invalid node pointers 1
Time interval: Fri Mar 18 19:46:37 2005 - Fri Mar 18 19:46:37 2005
CHECKING EXTENT REGIONS.Read twigs 0
Time interval: Fri Mar 18 19:46:37 2005 - Fri Mar 18 19:46:37 2005
Warn : Fatal corruptions were found. Semantic pass is skipped.***** fsck.reiser4 finished at Fri Mar 18 19:46:37 2005 Closing fs...done
1 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them.
holly:~# fsck.reiser4 --build-sb /dev/hdk1 > ~/r4_buildsb.txt ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hdk1block device.Will build the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
holly:~# fsck.reiser4 --build-fs /dev/hdk1 ******************************************************************* This is an EXPERIMENTAL version of fsck.reiser4. Read README first. *******************************************************************Fscking the
/dev/hdk1block device.Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): Yes
***** fsck.reiser4 started at Fri Mar 18 19:48:56 2005 Reiser4 fs was detected on/dev/hdk1.Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 5c9847e1-9c09-44ba-82b5-4874bfd6a73d label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4. magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x75315ca blocks: 9770662 free blocks: 9676935 root block: 25 tail policy: 0x2 (smart) next oid: 0x17d22 file count: 32034 tree height: 4 key policy: LARGECHECKING STORAGE TREE
FSCK: Node (25): failed to open the root node. The whole filter pass is skipped.
Warn : Reiser4 storage tree does not exist. Filter pass skipped.Read nodes 0
Nodes left in the tree 0
Leaves of them 0, Twigs of them 0
Zeroed node pointers 1
Time interval: Fri Mar 18 19:48:59 2005 - Fri Mar 18 19:48:59 2005
CHECKING EXTENT REGIONS.Read twigs 0
Time interval: Fri Mar 18 19:48:59 2005 - Fri Mar 18 19:48:59 2005
LOOKING FOR UNCONNECTED NODESRead nodes 93393
Good nodes 0
Leaves of them 0, Twigs of them 0
Time interval: Fri Mar 18 19:49:00 2005 - Fri Mar 18 19:49:09 2005
CHECKING EXTENT REGIONS.Read twigs 0
Time interval: Fri Mar 18 19:49:09 2005 - Fri Mar 18 19:49:09 2005
INSERTING UNCONNECTED NODES1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
Twigs: read 0, inserted 0, by item 0, empty 0
Leaves: read 0, inserted 0, by item 0
Time interval: Fri Mar 18 19:49:10 2005 - Fri Mar 18 19:49:10 2005
Fatal: No reiser4 metadata were found. Semantic pass is skipped.***** fsck.reiser4 finished at Fri Mar 18 19:49:10 2005 Closing fs...done
NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
8<--- snip
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 8 lines · Vitaly Fertman
Quoted 6 lines · Jindrich Makovicka
Quoted 4 lines · Vitaly Fertman
Quoted 2 lines
so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable,
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
fsck.reiser4 --build-sb is supposed to fix evth. what goes wrong?
sorry I didn't replied earlier, but I didn't have a spare disk available. here it goes. 40GB partition was mkfs'ed with 1.0.0, populated somehow (about 32k files, 400MB), then fsck --build-sb from 1.0.4 was run:
I think I didn't run mkfs 1.0.4. I once tried debugfs.reiser4 -C on the test partition before fsck, as I had run it on one of my live partitions previously, because I originally thought it does the migration (the partition seems to have survived). Can this be the cause too? Is it still possible to migrate such partition to 1.0.4 or I should do full backup & dd if=/dev/zero /dev/hdXX & mkfs & restore?
Signature · 1 line
Jindrich Makovicka
Quoted 9 lines · Jindrich Makovicka
Quoted 8 lines · Vitaly Fertman
Quoted 6 lines · Jindrich Makovicka
Quoted 4 lines · Vitaly Fertman
Quoted 2 lines
so 1.0.3 & 1.0.4 bail out. Using fsck.reiser4 --build-sb from reiser4progs 1.0.3 rendered the filesystem created under 1.0.0 unusable,
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
fsck.reiser4 --build-sb is supposed to fix evth. what goes wrong?
sorry I didn't replied earlier, but I didn't have a spare disk available. here it goes. 40GB partition was mkfs'ed with 1.0.0, populated somehow (about 32k files, 400MB), then fsck --build-sb from 1.0.4 was run:
I think I didn't run mkfs 1.0.4. I once tried debugfs.reiser4 -C on the
which progs version debugfs was from?
Quoted 3 lines
test partition before fsck, as I had run it on one of my live partitions previously, because I originally thought it does the migration (the partition seems to have survived). Can this be the cause too? Is it
it should not, there were found fs super block backups of some previous fs on the device you were fscking.
Quoted 2 lines
still possible to migrate such partition to 1.0.4 or I should do full backup & dd if=/dev/zero
/dev/hdXX& mkfs & restore?
the patch should be able to fix fs metadata. Run
fsck.reiser4 --build-fs --nomkid <device>
Signature · 2 lines
Thanks, Vitaly Fertman
===== progs/fsck/fsck.c 1.160 vs edited =====
progs/fsck/fsck.c +6 -1
@@ -148,6 +148,7 @@ static errno_t fsck_init(fsck_parse_t *d {"bitmap", required_argument, 0, 'B'}, {"unused", no_argument, NULL, 'u'}, {"oldfs", no_argument, NULL, 'O'}, + {"nomkid", no_argument, NULL, 'N'}, {0, 0, 0, 0} };
@@ -161,7 +162,7 @@ static errno_t fsck_init(fsck_parse_t *dreturn USER_ERROR ; } -while ((c =getopt_long (argc, argv,"L:VhnqafU:b:r?dB:plo:c:uyO" , +while ((c =getopt_long (argc, argv,"L:VhnqafU:b:r?dB:plo:c:uyON" , options, &option_index)) >=0 ) {switch (c) {
@@ -238,6 +239,9 @@ static errno_t fsck_init(fsck_parse_t *dcase 'O' :aal_set_bit (&data->options,FSCK_OPT_OLD );break ; +case 'N' : +aal_set_bit (&data->options,FSCK_OPT_OLD ); +break ; } }
@@ -534,6 +538,7 @@ int main(int argc, char *argv[]) {fsck_opt (&parse_data,FSCK_OPT_WHOLE ) <<REPAIR_WHOLE |fsck_opt (&parse_data,FSCK_OPT_OLD ) <<REPAIR_WHOLE |fsck_opt (&parse_data,FSCK_OPT_OLD ) <<REPAIR_NO_MKID | +fsck_opt (&parse_data,FSCK_OPT_NOMKID ) <<REPAIR_NO_MKID |fsck_opt (&parse_data,FSCK_OPT_YES ) <<REPAIR_YES ; repair.bitmap_file = parse_data.bitmap_file;
===== progs/fsck/fsck.h 1.28 vs edited =====
progs/fsck/fsck.h +2 -1
@@ -40,7 +40,8 @@ typedef enum fsck_options {FSCK_OPT_RO =0x3 ,FSCK_OPT_DEBUG =0x4 ,FSCK_OPT_WHOLE =0x5 , - FSCK_OPT_OLD = 0x6 +FSCK_OPT_OLD =0x6 , + FSCK_OPT_NOMKID = 0x7 } fsck_options_t; typedef struct fsck_parse {