[opensuse-kernel] need help with repairing reiserfs filesystem
Hello, I am trying to repair a reiserfs filesystem, the checking produces result [1]. Questions: - Can it be repaired with the following command: # reiserfsck --rebuild-tree -y /dev/sdb1 - Do I need to run any any other commands, if so , what commands ? fdisk details # fdisk -l Disk /dev/sdb: 750.2 GB, 750155462656 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465147388 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1a200865 Device Boot Start End Blocks Id System /dev/sdb1 2048 1465145343 732571648 83 Linux Thanks for your help. Glenn [1] # reiserfsck --check -y /dev/sdb1 reiserfsck 3.6.21 (2009 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to reiserfs-list@namesys.com, ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/sdb1 Will put log info to 'stdout' ########### reiserfsck --check started at Tue Oct 16 20:50:04 2012 ########### Replaying journal: Trans replayed: mountid 303, transid 441118, desc 7709, len 1, commit 7711, next trans offset 7694 Trans replayed: mountid 303, transid 441119, desc 7712, len 3, commit 7716, next trans offset 7699 Trans replayed: mountid 303, transid 441120, desc 7717, len 18, commit 7736, next trans offset 7719 Trans replayed: mountid 303, transid 441121, desc 7737, len 9, commit 7747, next trans offset 7730 Trans replayed: mountid 303, transid 441122, desc 7748, len 9, commit 7758, next trans offset 7741 Trans replayed: mountid 303, transid 441123, desc 7759, len 11, commit 7771, next trans offset 7754 Trans replayed: mountid 303, transid 441124, desc 7772, len 12, commit 7785, next trans offset 7768 Trans replayed: mountid 303, transid 441125, desc 7786, len 8, commit 7795, next trans offset 7778 Trans replayed: mountid 303, transid 441126, desc 7796, len 5, commit 7802, next trans offset 7785 Trans replayed: mountid 303, transid 441127, desc 7803, len 9, commit 7813, next trans offset 7796 Trans replayed: mountid 303, transid 441128, desc 7814, len 9, commit 7824, next trans offset 7807 Trans replayed: mountid 303, transid 441129, desc 7825, len 7, commit 7833, next trans offset 7816 Trans replayed: mountid 303, transid 441130, desc 7834, len 4, commit 7839, next trans offset 7822 Replaying journal: Done. Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 13 transactions replayed Checking internal tree.. \/ 1 (of 7|/ 92 (of 96-/146 (of 150|bad_path: The left delimiting key [8873 153136 0x8a9 DRCT (2)] of the node (147623010) must be equal to the first element's key [92404 144296 0x0 SD (0)] within the node. /147 (of 150/block 147623098: The level of the node (31776) is not correct, (1) expected the problem in the internal node occured (147623098), whole subtree is skipped / 94 (of 96\/ 49 (of 133|bad_stat_data: The objectid (144291) is shared by at least two files. Can be fixed with --rebuild-tree only. / 5 (of 7-/ 15 (of 152\/ 11 (of 86-bad_stat_data: The objectid (144293) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153120) is shared by at least two files. Can be fixed with --rebuild-tree only. / 22 (of 152\/ 2 (of 162/bad_stat_data: The objectid (144292) is shared by at least two files. Can be fixed with --rebuild-tree only. / 6 (of 7|/ 58 (of 135-/ 67 (of 149/bad_stat_data: The objectid (144290) is shared by at least two files. Can be fixed with --rebuild-tree only. / 68 (of 149-bad_node: vpf-10350: The block (147623010) is used more than once in the tree. the problem in the internal node occured (147623010), whole subtree is skipped /100 (of 135\/112 (of 132\bad_stat_data: The objectid (153122) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153123) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153124) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153126) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153127) is shared by at least two files. Can be fixed with --rebuild-tree only. /113 (of 132|bad_stat_data: The objectid (153128) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153130) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153131) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153132) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153133) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153134) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153135) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (153136) is shared by at least two files. Can be fixed with --rebuild-tree only. / 7 (of 7|/133 (of 133-/ 84 (of 96-bad_node: vpf-10350: The block (147620519) is used more than once in the tree. the problem in the internal node occured (147620519), whole subtree is skipped finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 4 found corruptions can be fixed only when running with --rebuild-tree ########### reiserfsck finished at Tue Oct 16 21:03:24 2012 ########### -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-10-16 12:39, doiggl@velocitynet.com.au wrote:
Hello, I am trying to repair a reiserfs filesystem, the checking produces result [1].
Questions: - Can it be repaired with the following command: # reiserfsck --rebuild-tree -y /dev/sdb1
The check run says what you have to do, on the last line. No "y". - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB9VX8ACgkQIvFNjefEBxqPdQCgiX68l0pli6sEROtKgzl90tMo zusAoIEPylVeg1Kl7AxoxTpCn2zIdHvf =APZg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/16/12 8:39 AM, Carlos E. R. wrote:
On 2012-10-16 12:39, doiggl@velocitynet.com.au wrote:
Hello, I am trying to repair a reiserfs filesystem, the checking produces result [1].
Questions: - Can it be repaired with the following command: # reiserfsck --rebuild-tree -y /dev/sdb1
The check run says what you have to do, on the last line. No "y".
The -y is fine. It suppresses asking for confirmation. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQfZKqAAoJEB57S2MheeWytrIQAIYkJ2dv/UUbCakLNMFiyzq+ +5IdicgX/RcUlEzjTTuYYivcJJHomFBY0h4mB3vDHXxnwsj/4MJMv2HpCxEsVX3M S89Y7DGUtsyB5lXHgv+7VhaeNKrHKjGaVc0JsUgYo0QRmggZqTbhzHZ7roGRLIGZ IOqTp8neRuS4Fl3E3/pgWA29DYJd1aHXd4jx3kNOWdeNt8OHceACBugVYXHyG+vy zc3I6OWlgAGUXHYpv1nhYHM9HNxg5Cnj0EDZKQ/0EhuAP3Z8WBIxBljHalnKfbbu nvvRnIC1TlDs1CrQ5PsW0Ybd+mMSCrL7eOC8ZarDztjHMFuDuUVvheEUqoBxUf6k WLdCUwXisZrn54S9YJoxXe+yBD+mtO59Vdh1rY44ige2j1+Fn3erNI2dmpBX8caQ fTCpwCM3weGxxxK68DU8thY3MATomHBRr5jOFsKqRhlQQOAq3pOnXUetVideDgSj 51bpse/caF8zM3JIcPs3EgaMcNfa8ADtwb0GhmqEbSlvqfTxQWpNTEzGe+FXicqO SKWcjiEcKeeca1S0Xlii2PG0pDdDGPCCu0WCSrwibASkj2C6gwRKs6uV5EjxF80C CEXVxVOMvQ/hP7UdlvXgQHX3CvMpX1jEMsW6U9lkSQ5Ty9t4zn36/UhMkk6HUDL9 TIsG5UxOif9x8UTUITBc =pSMB -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, 16 Oct 2012 13:00:27 -0400, Jeff Mahoney <jeffm@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/16/12 8:39 AM, Carlos E. R. wrote:
On 2012-10-16 12:39, doiggl@velocitynet.com.au wrote:
Hello, I am trying to repair a reiserfs filesystem, the checking produces result [1].
Questions: - Can it be repaired with the following command: # reiserfsck --rebuild-tree -y /dev/sdb1
The check run says what you have to do, on the last line. No "y".
The -y is fine. It suppresses asking for confirmation.
- -Jeff
- -- Jeff Mahoney SUSE Labs
Hello, The rebuild result {reiserfsck --rebuild-tree /dev/sdb1} finished with Flushing..finished Objects without names 19754 Empty lost dirs removed 329 Dirs linked to /lost+found: 2309 Dirs without stat data found 103 Files linked to /lost+found 17445 Objects having used objectids: 19741 files fixed 17433 dirs fixed 2308 Pass 4 - finished done 242936, 21 /sec Deleted unreachable items 399 Flushing..finished Syncing..finished ########### reiserfsck finished at Wed Oct 17 14:53:39 2012 ########### I rechecked filesystem again, results: # reiserfsck --check -y /dev/sdb1 reiserfsck 3.6.21 (2009 www.namesys.com) ************************************************************* ** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to reiserfs-list@namesys.com, ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. ** ************************************************************* Will read-only check consistency of the filesystem on /dev/sdb1 Will put log info to 'stdout' ########### reiserfsck --check started at Thu Oct 18 01:17:18 2012 ########### Replaying journal: Done. Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed Checking internal tree.. finished Comparing bitmaps..finished Checking Semantic tree: finished No corruptions found There are on the filesystem: Leaves 242652 Internal nodes 1586 Directories 90904 Other files 982533 Data block pointers 130264670 (7641886 of them are zero) Safe links 0 ########### reiserfsck finished at Thu Oct 18 01:37:55 2012 ########### -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-10-18 08:07, doiggl@velocitynet.com.au wrote:
Syncing..finished ########### reiserfsck finished at Wed Oct 17 14:53:39 2012 ###########
Thus success, but you lost data. Pick up the backup. - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB/23gACgkQIvFNjefEBxqfBwCbBycAbsJir2S0lhwHG+BRlCo0 URsAoMtfhFT6AXQiRgamBE6VABcAlE/g =3qbF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
doiggl@velocitynet.com.au
-
Jeff Mahoney