All of lore.kernel.org
 help / color / mirror / Atom feed
* reiserfsck (v3): out of disk space
@ 2011-02-22  3:00 higuita
  2011-02-22 10:21 ` Edward Shishkin
  0 siblings, 1 reply; 5+ messages in thread
From: higuita @ 2011-02-22  3:00 UTC (permalink / raw)
  To: reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 8174 bytes --]

Hi

	i'm having a problem with reiserfsck, version 3 and
as namesys is no more, i dont known exactly where to go to ask
for help... i'm trying here :)

	i have a 170GB partition that during a download
got about -16TB of free space... i checked the log and
got no kernel error nor message.

	as it was wierd i dismounted the partition and run
a reiserfsck --fix-fixable on it... it complained that had
2 errors that needed the rebuild-tree. 

	As recomended, i run the rebuild-tree (first time
without the --scan-whole-partition) and got the error "out
of disk space" in the end... so i run it again like this:

# reiserfsck --scan-whole-partition --rebuild-tree /dev/sdb7     
reiserfsck 3.6.21 (2009 www.namesys.com)

*************************************************************
** Do not  run  the  program  with  --rebuild-tree  unless **
** something is broken and MAKE A BACKUP  before using it. **
** If you have bad sectors on a drive  it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive  to the good one -- dd_rescue is  a good tool for **
** that -- and only then run this program.                 **
** 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 rebuild the filesystem (/dev/sdb7) tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes Replaying journal: Done.
Reiserfs journal '/dev/sdb7' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Mon Feb 21 01:14:14 2011
###########

Pass 0:
####### Pass 0 #######
The whole partition (44998048 blocks) is to be scanned
Skipping 9584 blocks (super block, journal, bitmaps) 44988464 blocks will be read 
0%..
block 4269056: The number of items (1) is incorrect, should be (0) - corrected 
block 4269056: The free space (0) is incorrect, should be (4072) - corrected 
..20%....
block 16628504: The number of items (22)is incorrect, should be (0) - corrected
block 16628504: The free space (1815) is incorrect, should be (4072) - corrected 
40%
block 19311136: Thenumber of items (6) is incorrect, should be (0) - corrected 
block 19311136: The free space (2281) is incorrect, should be (4072) - corrected 
.
block 19966124: The number of items (2048) is incorrect, should be (1) - corrected 
block 19966124: The free space (2048) is incorrect, should be (2000) - corrected 
pass0: vpf-10110: 
block 19966124, item (0): Unknown item type found [134217729 657408 0x8000001 ??? (15)] - deleted 
...
block 25407788: The number of items (1536) is incorrect, should be (1) - corrected 
block 25407788: The free space (300) is incorrect, should be (3792) - corrected 
pass0: vpf-10110: 
block 25407788, item (0): Unknown item type found [69403136 85724160 0x2ed0000 ??? (9)] - deleted 
block 26219204: The number of items (7) is incorrect, should be (1) - corrected 
block 26219204: The free space (0) is incorrect, should be (3024) - corrected 
pass0: vpf-10110: 
block 26219204, item (0): Unknown item type found [3140107008 3076072448 0xb53f00 ??? (15)] - deleted
60%
block 27540926: The number of items (1284) is incorrect, should be (1) - corrected 
block 27540926: The free space (512) is incorrect, should be (4048) - corrected 
pass0: vpf-10110: 
block 27540926, item (0): Unknown item type found [16842756 69892 0x1010101 ??? (15)] - deleted 
pass0: vpf-10160: 
block 28321297: item 6: No "." entry found in the first item of a directory 
..
block 32231127: The number of items (14) is incorrect, should be (0) - corrected 
block 32231127: The free space (1998) is incorrect, should be (4072) - corrected 
..
block 34225196: The number of items (256) is incorrect, should be (1) - corrected 
block 34225196: The free space (33807) is incorrect, should be (4048) - corrected 
pass0: vpf-10110: 
block 34225196, item (0): Unknown item type found [2475232323 192 0xd284fa89 ??? (8)] - deleted 
80%
block 36309055: The number of items (83) is incorrect, should be (0) - corrected 
block 36309055: The free space (0) is incorrect, should be (4072) - corrected 
..
block 39752011: The number of items (7) is incorrect, should be (1) - corrected 
block 39752011: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10200: 
block 39752011, item 0: The item [11869226 45345 0x9000100 IND (1)] with wrong offset is deleted 
block 40328404: The number of items (15364) is incorrect, should be (1) - corrected 
block 40328404: The free space (20924) is incorrect, should be (976) -corrected 
pass0: vpf-10210: 
block 40328404, item 0: The item with wrong offset or length found [883290112 201335811 0x603021 DRCT (2)], len 3072 - deleted 
..
block 43971720: The number of items (7) is incorrect, should be (1) - corrected 
block 43971720: The free space (25) is incorrect, should be (4048) - corrected 
pass0: vpf-10210: 
block 43971720, item 0: The item with wrong offset or length found [369147936 11938893 0x7009923 DRCT (2)], len 0 - deleted 
block 44863841: The number of items (3840) is incorrect, should be (1) - corrected 
block 44863841: The free space (0) is incorrect, should be (3792) - corrected pass0: vpf-10110: 
block 44863841, item (0): Unknown item type found [268496896 268501007 0xff001 ??? (15)] - deleted 100%
                        left 0, 9103 /sec

675769 directory entries were hashed with "r5" hash. "r5" hash is selected 
Flushing..finished Read blocks (but not data blocks) 44988464
Leaves among those 158045
			- corrected leaves 2
			- leaves all contents of which could not be saved
and deleted 21 Objectids found 675414

Pass 1 (will try to insert 158024 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%....20%....40%....60%....80%....Not enough allocable blocks, checking
bitmap...there are 1 allocable blocks, btw

out of disk space
Aborted (core dumped)
# echo $?
134

	So i can't mount the filesystem, as the rebuild didn't finish,
nor i can finish the rebuild, as it keeps  giving out the "out of disk
space" error... if the "out of disk space" is true, i have many files i
could erase, but as i cant mount, i'm in a deadlock. whatever corruption
i have, this version of reiserfsck is unable to fix it...

i already done a  dump of the metadata:

debugreiserfs -p /dev/sdb7  | bzip2 -c > /tmp/metadata.bz2

	The system is a slackware64 -current and main kernel: 

Linux Caravela 2.6.37.1-k8_64-kms #33 SMP Sat Feb 19 05:27:52 WET 2011
x86_64 Dual Core AMD Opteron(tm) Processor 175 AuthenticAMD GNU/Linux

	So, is there anyone with time and will to help me 
recover this partition? :)

Thanks in advance for any help
higuita

ps: might be a coincidence, but since i changed to 2.6.37-1 i
have run 2 --fix-fixable on other reiserfs partitions and this
--rebuild-tree. As i said, its probably a coincidence, but just
in case... 

-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfsck (v3): out of disk space
  2011-02-22  3:00 reiserfsck (v3): out of disk space higuita
@ 2011-02-22 10:21 ` Edward Shishkin
  2011-02-22 23:08   ` higuita
  0 siblings, 1 reply; 5+ messages in thread
From: Edward Shishkin @ 2011-02-22 10:21 UTC (permalink / raw)
  To: higuita; +Cc: reiserfs-devel

On 02/22/2011 04:00 AM, higuita wrote:
> Hi
>
> 	i'm having a problem with reiserfsck, version 3 and
> as namesys is no more, i dont known exactly where to go to ask
> for help... i'm trying here :)
>
> 	i have a 170GB partition that during a download
> got about -16TB of free space... i checked the log and
> got no kernel error nor message.
>
> 	as it was wierd i dismounted the partition and run
> a reiserfsck --fix-fixable on it... it complained that had
> 2 errors that needed the rebuild-tree.
>
> 	As recomended, i run the rebuild-tree (first time
> without the --scan-whole-partition) and got the error "out
> of disk space" in the end...


Could you build and try reiserfsprogs-3.6.20?

http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-3.6.20.tar.gz


so i run it again like this:
>
> # reiserfsck --scan-whole-partition --rebuild-tree /dev/sdb7
> reiserfsck 3.6.21 (2009 www.namesys.com)
>
> *************************************************************
> ** Do not  run  the  program  with  --rebuild-tree  unless **
> ** something is broken and MAKE A BACKUP  before using it. **
> ** If you have bad sectors on a drive  it is usually a bad **
> ** idea to continue using it. Then you probably should get **
> ** a working hard drive, copy the file system from the bad **
> ** drive  to the good one -- dd_rescue is  a good tool for **
> ** that -- and only then run this program.                 **
> ** 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 rebuild the filesystem (/dev/sdb7) tree
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes Replaying journal: Done.
> Reiserfs journal '/dev/sdb7' in blocks [18..8211]: 0 transactions replayed
> ###########
> reiserfsck --rebuild-tree started at Mon Feb 21 01:14:14 2011
> ###########
>
> Pass 0:
> ####### Pass 0 #######
> The whole partition (44998048 blocks) is to be scanned
> Skipping 9584 blocks (super block, journal, bitmaps) 44988464 blocks will be read
> 0%..
> block 4269056: The number of items (1) is incorrect, should be (0) - corrected
> block 4269056: The free space (0) is incorrect, should be (4072) - corrected
> ..20%....
> block 16628504: The number of items (22)is incorrect, should be (0) - corrected
> block 16628504: The free space (1815) is incorrect, should be (4072) - corrected
> 40%
> block 19311136: Thenumber of items (6) is incorrect, should be (0) - corrected
> block 19311136: The free space (2281) is incorrect, should be (4072) - corrected
> .
> block 19966124: The number of items (2048) is incorrect, should be (1) - corrected
> block 19966124: The free space (2048) is incorrect, should be (2000) - corrected
> pass0: vpf-10110:
> block 19966124, item (0): Unknown item type found [134217729 657408 0x8000001 ??? (15)] - deleted
> ...
> block 25407788: The number of items (1536) is incorrect, should be (1) - corrected
> block 25407788: The free space (300) is incorrect, should be (3792) - corrected
> pass0: vpf-10110:
> block 25407788, item (0): Unknown item type found [69403136 85724160 0x2ed0000 ??? (9)] - deleted
> block 26219204: The number of items (7) is incorrect, should be (1) - corrected
> block 26219204: The free space (0) is incorrect, should be (3024) - corrected
> pass0: vpf-10110:
> block 26219204, item (0): Unknown item type found [3140107008 3076072448 0xb53f00 ??? (15)] - deleted
> 60%
> block 27540926: The number of items (1284) is incorrect, should be (1) - corrected
> block 27540926: The free space (512) is incorrect, should be (4048) - corrected
> pass0: vpf-10110:
> block 27540926, item (0): Unknown item type found [16842756 69892 0x1010101 ??? (15)] - deleted
> pass0: vpf-10160:
> block 28321297: item 6: No "." entry found in the first item of a directory
> ..
> block 32231127: The number of items (14) is incorrect, should be (0) - corrected
> block 32231127: The free space (1998) is incorrect, should be (4072) - corrected
> ..
> block 34225196: The number of items (256) is incorrect, should be (1) - corrected
> block 34225196: The free space (33807) is incorrect, should be (4048) - corrected
> pass0: vpf-10110:
> block 34225196, item (0): Unknown item type found [2475232323 192 0xd284fa89 ??? (8)] - deleted
> 80%
> block 36309055: The number of items (83) is incorrect, should be (0) - corrected
> block 36309055: The free space (0) is incorrect, should be (4072) - corrected
> ..
> block 39752011: The number of items (7) is incorrect, should be (1) - corrected
> block 39752011: The free space (0) is incorrect, should be (4048) - corrected
> pass0: vpf-10200:
> block 39752011, item 0: The item [11869226 45345 0x9000100 IND (1)] with wrong offset is deleted
> block 40328404: The number of items (15364) is incorrect, should be (1) - corrected
> block 40328404: The free space (20924) is incorrect, should be (976) -corrected
> pass0: vpf-10210:
> block 40328404, item 0: The item with wrong offset or length found [883290112 201335811 0x603021 DRCT (2)], len 3072 - deleted
> ..
> block 43971720: The number of items (7) is incorrect, should be (1) - corrected
> block 43971720: The free space (25) is incorrect, should be (4048) - corrected
> pass0: vpf-10210:
> block 43971720, item 0: The item with wrong offset or length found [369147936 11938893 0x7009923 DRCT (2)], len 0 - deleted
> block 44863841: The number of items (3840) is incorrect, should be (1) - corrected
> block 44863841: The free space (0) is incorrect, should be (3792) - corrected pass0: vpf-10110:
> block 44863841, item (0): Unknown item type found [268496896 268501007 0xff001 ??? (15)] - deleted 100%
>                          left 0, 9103 /sec
>
> 675769 directory entries were hashed with "r5" hash. "r5" hash is selected
> Flushing..finished Read blocks (but not data blocks) 44988464
> Leaves among those 158045
> 			- corrected leaves 2
> 			- leaves all contents of which could not be saved
> and deleted 21 Objectids found 675414
>
> Pass 1 (will try to insert 158024 leaves):
> ####### Pass 1 #######
> Looking for allocable blocks .. finished
> 0%....20%....40%....60%....80%....Not enough allocable blocks, checking
> bitmap...there are 1 allocable blocks, btw
>
> out of disk space
> Aborted (core dumped)
> # echo $?
> 134
>
> 	So i can't mount the filesystem, as the rebuild didn't finish,
> nor i can finish the rebuild, as it keeps  giving out the "out of disk
> space" error... if the "out of disk space" is true, i have many files i
> could erase, but as i cant mount, i'm in a deadlock. whatever corruption
> i have, this version of reiserfsck is unable to fix it...
>
> i already done a  dump of the metadata:
>
> debugreiserfs -p /dev/sdb7  | bzip2 -c>  /tmp/metadata.bz2
>
> 	The system is a slackware64 -current and main kernel:
>
> Linux Caravela 2.6.37.1-k8_64-kms #33 SMP Sat Feb 19 05:27:52 WET 2011
> x86_64 Dual Core AMD Opteron(tm) Processor 175 AuthenticAMD GNU/Linux
>
> 	So, is there anyone with time and will to help me
> recover this partition? :)
>
> Thanks in advance for any help
> higuita
>
> ps: might be a coincidence, but since i changed to 2.6.37-1 i
> have run 2 --fix-fixable on other reiserfs partitions and this
> --rebuild-tree. As i said, its probably a coincidence, but just
> in case...
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfsck (v3): out of disk space
  2011-02-22 10:21 ` Edward Shishkin
@ 2011-02-22 23:08   ` higuita
  2011-02-23  0:01     ` Edward Shishkin
  0 siblings, 1 reply; 5+ messages in thread
From: higuita @ 2011-02-22 23:08 UTC (permalink / raw)
  To: reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 8536 bytes --]

Hi again

	Thank you for the reply!

On Tue, 22 Feb 2011 11:21:35 +0100, Edward Shishkin
<edward.shishkin@gmail.com> wrote:
> > 	As recomended, i run the rebuild-tree (first time
> > without the --scan-whole-partition) and got the error "out
> > of disk space" in the end...
> Could you build and try reiserfsprogs-3.6.20?

	Done, but no luck, the output is still the same, still
gives the "out of disk space" in the end of the rebuild:

 ./fsck.reiserfs --rebuild-tree  /dev/sdb7  
reiserfsck 3.6.20
Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiserfsprogs/COPYING.
*************************************************************
** Do not  run  the  program  with  --rebuild-tree  unless **
** something is broken and MAKE A BACKUP  before using it. **
** If you have bad sectors on a drive  it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive  to the good one -- dd_rescue is  a good tool for **
** that -- and only then run this program.                 **
** 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 rebuild the filesystem on (/dev/sdb7)
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
Replaying journal..
Reiserfs journal '/dev/sdb7' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Tue Feb 22 21:21:48 2011
###########
Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 44998008 blocks marked used
Skipping 9584 blocks (super block, journal, bitmaps) 44988424 blocks will be read
0%..
block 4269056: The number of items (1) is incorrect, should be (0) - corrected
block 4269056: The free space (0) is incorrect, should be (4072) - corrected
pass0: block 4269056: no correct item is found. Leave block untouched.
..20%
pass0: block 10243584: no correct item is found. Leave block untouched.
....
block 16628504: The number of items (22) is incorrect, should be (0) - corrected
block 16628504: The free space (1815) is incorrect, should be (4072) - corrected
pass0: block 16628504: no correct item is found. Leave block untouched.
40%block 19311136: The number of items (6) is incorrect, should be (0) - corrected
block 19311136: The free space (2281) is incorrect, should be (4072) - corrected
pass0: block 19311136: no correct item is found. Leave block untouched.
.
block 19966124: The number of items (2048) is incorrect, should be (1) - corrected
block 19966124: The free space (2048) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 19966124, item (0): Unknown item type found [134217729 657408 0x8000001 ??? (15)] - deleted
pass0: block 19966124: no correct item is found. Leave block untouched.
..
pass0: block 24833118: no correct item is found. Leave block untouched.
.
block 25407788: The number of items (1536) is incorrect, should be (1) - corrected
block 25407788: The free space (300) is incorrect, should be (3792) - corrected
pass0: vpf-10110: block 25407788, item (0): Unknown item type found [69403136 85724160 0x2ed0000 ??? (9)] - deleted
pass0: block 25407788: no correct item is found. Leave block untouched.
block 26219204: The number of items (7) is incorrect, should be (1) - corrected
block 26219204: The free space (0) is incorrect, should be (3024) - corrected
pass0: vpf-10110: block 26219204, item (0): Unknown item type found [3140107008 3076072448 0xb53f00 ??? (15)] - deleted
pass0: block 26219204: no correct item is found. Leave block untouched.
60%
block 27540926: The number of items (1284) is incorrect, should be (1) - corrected
block 27540926: The free space (512) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 27540926, item (0): Unknown item type found [16842756 69892 0x1010101 ??? (15)] - deleted
pass0: block 27540926: no correct item is found. Leave block untouched.
..
pass0: block 31942258: no correct item is found. Leave block untouched.
block 32231127: The number of items (14) is incorrect, should be (0) - corrected
block 32231127: The free space (1998) is incorrect, should be (4072) - corrected
pass0: block 32231127: no correct item is found. Leave block untouched.
..
block 34225196: The number of items (256) is incorrect, should be (1) - corrected
block 34225196: The free space (33807) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 34225196, item (0): Unknown item type found [2475232323 192 0xd284fa89 ??? (8)] - deleted
pass0: block 34225196: no correct item is found. Leave block untouched.
80%
block 36309055: The number of items (83) is incorrect, should be (0) - corrected
block 36309055: The free space (0) is incorrect, should be (4072) - corrected
pass0: block 36309055: no correct item is found. Leave block untouched.
..
block 39752011: The number of items (7) is incorrect, should be (1) - corrected
block 39752011: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10200: block 39752011, item 0: The item [11869226 45345 0x9000100 EXT (1)] with wrong offset is deleted
pass0: block 39752011: no correct item is found. Leave block untouched.
pass0: block 39757191: no correct item is found. Leave block untouched.
block 40328404: The number of items (15364) is incorrect, should be (1) - corrected
block 40328404: The free space (20924) is incorrect, should be (976) - corrected
pass0: vpf-10700: block 40328404, item 0: The item with wrong offset or length found [883290112 201335811 0x603021 DRCT (2)], len 3072 - deleted
pass0: block 40328404: no correct item is found. Leave block untouched.
..
pass0: block 43955712: no correct item is found. Leave block untouched.
block 43971720: The number of items (7) is incorrect, should be (1) - corrected
block 43971720: The free space (25) is incorrect, should be (4048) - corrected
pass0: vpf-10700: block 43971720, item 0: The item with wrong offset or length found [369147936 11938893 0x7009923 DRCT (2)], len 0 - deleted
pass0: block 43971720: no correct item is found. Leave block untouched.
pass0: block 44557229: no correct item is found. Leave block untouched.
pass0: block 44661495: no correct item is found. Leave block untouched.
block 44863841: The number of items (3840) is incorrect, should be (1) - corrected
block 44863841: The free space (0) is incorrect, should be (3792) - corrected
pass0: vpf-10110: block 44863841, item (0): Unknown item type found [268496896 268501007 0xff001 ??? (15)] - deleted
pass0: block 44863841: no correct item is found. Leave block untouched.
100%                       left 0, 10320 /sec
675769 directory entries were hashed with "r5" hash.
Flushing..finished
	Selected hash: "r5"
	Read formatted blocks: 44988424
	Read leaves (corrected/empty/wrong hash): 158045 (0/21/0)
	Objectids found: 675414
Pass 1 (will try to insert 158024 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%....20%....40%....60%....80%....Not enough allocable blocks, checking bitmap...there are 1 allocable blocks, btw

out of disk space
Aborted (core dumped)

	As it didnt work, i tried to increase the partition size by
a few GB... but as the resize_reiserfs cant run, the fsck didnt
saw any change.

	Any more ideas?

Thanks in advance
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfsck (v3): out of disk space
  2011-02-22 23:08   ` higuita
@ 2011-02-23  0:01     ` Edward Shishkin
  2011-02-23 23:31       ` higuita
  0 siblings, 1 reply; 5+ messages in thread
From: Edward Shishkin @ 2011-02-23  0:01 UTC (permalink / raw)
  To: higuita; +Cc: reiserfs-devel

On 02/23/2011 12:08 AM, higuita wrote:
> Hi again
>
> 	Thank you for the reply!
>
> On Tue, 22 Feb 2011 11:21:35 +0100, Edward Shishkin
> <edward.shishkin@gmail.com>  wrote:
>>> 	As recomended, i run the rebuild-tree (first time
>>> without the --scan-whole-partition) and got the error "out
>>> of disk space" in the end...
>> Could you build and try reiserfsprogs-3.6.20?
>
> 	Done, but no luck, the output is still the same, still
> gives the "out of disk space" in the end of the rebuild:
>
>   ./fsck.reiserfs --rebuild-tree  /dev/sdb7
> reiserfsck 3.6.20
> Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiserfsprogs/COPYING.
> *************************************************************
> ** Do not  run  the  program  with  --rebuild-tree  unless **
> ** something is broken and MAKE A BACKUP  before using it. **
> ** If you have bad sectors on a drive  it is usually a bad **
> ** idea to continue using it. Then you probably should get **
> ** a working hard drive, copy the file system from the bad **
> ** drive  to the good one -- dd_rescue is  a good tool for **
> ** that -- and only then run this program.                 **
> ** 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 rebuild the filesystem on (/dev/sdb7)
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
> Replaying journal..
> Reiserfs journal '/dev/sdb7' in blocks [18..8211]: 0 transactions replayed
> ###########
> reiserfsck --rebuild-tree started at Tue Feb 22 21:21:48 2011
> ###########
> Pass 0:
> ####### Pass 0 #######
> Loading on-disk bitmap .. ok, 44998008 blocks marked used
> Skipping 9584 blocks (super block, journal, bitmaps) 44988424 blocks will be read
> 0%..
> block 4269056: The number of items (1) is incorrect, should be (0) - corrected
> block 4269056: The free space (0) is incorrect, should be (4072) - corrected
> pass0: block 4269056: no correct item is found. Leave block untouched.
> ..20%
> pass0: block 10243584: no correct item is found. Leave block untouched.
> ....
> block 16628504: The number of items (22) is incorrect, should be (0) - corrected
> block 16628504: The free space (1815) is incorrect, should be (4072) - corrected
> pass0: block 16628504: no correct item is found. Leave block untouched.
> 40%block 19311136: The number of items (6) is incorrect, should be (0) - corrected
> block 19311136: The free space (2281) is incorrect, should be (4072) - corrected
> pass0: block 19311136: no correct item is found. Leave block untouched.
> .
> block 19966124: The number of items (2048) is incorrect, should be (1) - corrected
> block 19966124: The free space (2048) is incorrect, should be (2000) - corrected
> pass0: vpf-10110: block 19966124, item (0): Unknown item type found [134217729 657408 0x8000001 ??? (15)] - deleted
> pass0: block 19966124: no correct item is found. Leave block untouched.
> ..
> pass0: block 24833118: no correct item is found. Leave block untouched.
> .
> block 25407788: The number of items (1536) is incorrect, should be (1) - corrected
> block 25407788: The free space (300) is incorrect, should be (3792) - corrected
> pass0: vpf-10110: block 25407788, item (0): Unknown item type found [69403136 85724160 0x2ed0000 ??? (9)] - deleted
> pass0: block 25407788: no correct item is found. Leave block untouched.
> block 26219204: The number of items (7) is incorrect, should be (1) - corrected
> block 26219204: The free space (0) is incorrect, should be (3024) - corrected
> pass0: vpf-10110: block 26219204, item (0): Unknown item type found [3140107008 3076072448 0xb53f00 ??? (15)] - deleted
> pass0: block 26219204: no correct item is found. Leave block untouched.
> 60%
> block 27540926: The number of items (1284) is incorrect, should be (1) - corrected
> block 27540926: The free space (512) is incorrect, should be (4048) - corrected
> pass0: vpf-10110: block 27540926, item (0): Unknown item type found [16842756 69892 0x1010101 ??? (15)] - deleted
> pass0: block 27540926: no correct item is found. Leave block untouched.
> ..
> pass0: block 31942258: no correct item is found. Leave block untouched.
> block 32231127: The number of items (14) is incorrect, should be (0) - corrected
> block 32231127: The free space (1998) is incorrect, should be (4072) - corrected
> pass0: block 32231127: no correct item is found. Leave block untouched.
> ..
> block 34225196: The number of items (256) is incorrect, should be (1) - corrected
> block 34225196: The free space (33807) is incorrect, should be (4048) - corrected
> pass0: vpf-10110: block 34225196, item (0): Unknown item type found [2475232323 192 0xd284fa89 ??? (8)] - deleted
> pass0: block 34225196: no correct item is found. Leave block untouched.
> 80%
> block 36309055: The number of items (83) is incorrect, should be (0) - corrected
> block 36309055: The free space (0) is incorrect, should be (4072) - corrected
> pass0: block 36309055: no correct item is found. Leave block untouched.
> ..
> block 39752011: The number of items (7) is incorrect, should be (1) - corrected
> block 39752011: The free space (0) is incorrect, should be (4048) - corrected
> pass0: vpf-10200: block 39752011, item 0: The item [11869226 45345 0x9000100 EXT (1)] with wrong offset is deleted
> pass0: block 39752011: no correct item is found. Leave block untouched.
> pass0: block 39757191: no correct item is found. Leave block untouched.
> block 40328404: The number of items (15364) is incorrect, should be (1) - corrected
> block 40328404: The free space (20924) is incorrect, should be (976) - corrected
> pass0: vpf-10700: block 40328404, item 0: The item with wrong offset or length found [883290112 201335811 0x603021 DRCT (2)], len 3072 - deleted
> pass0: block 40328404: no correct item is found. Leave block untouched.
> ..
> pass0: block 43955712: no correct item is found. Leave block untouched.
> block 43971720: The number of items (7) is incorrect, should be (1) - corrected
> block 43971720: The free space (25) is incorrect, should be (4048) - corrected
> pass0: vpf-10700: block 43971720, item 0: The item with wrong offset or length found [369147936 11938893 0x7009923 DRCT (2)], len 0 - deleted
> pass0: block 43971720: no correct item is found. Leave block untouched.
> pass0: block 44557229: no correct item is found. Leave block untouched.
> pass0: block 44661495: no correct item is found. Leave block untouched.
> block 44863841: The number of items (3840) is incorrect, should be (1) - corrected
> block 44863841: The free space (0) is incorrect, should be (3792) - corrected
> pass0: vpf-10110: block 44863841, item (0): Unknown item type found [268496896 268501007 0xff001 ??? (15)] - deleted
> pass0: block 44863841: no correct item is found. Leave block untouched.
> 100%                       left 0, 10320 /sec
> 675769 directory entries were hashed with "r5" hash.
> Flushing..finished
> 	Selected hash: "r5"
> 	Read formatted blocks: 44988424
> 	Read leaves (corrected/empty/wrong hash): 158045 (0/21/0)
> 	Objectids found: 675414
> Pass 1 (will try to insert 158024 leaves):
> ####### Pass 1 #######
> Looking for allocable blocks .. finished
> 0%....20%....40%....60%....80%....Not enough allocable blocks, checking bitmap...there are 1 allocable blocks, btw
>
> out of disk space
> Aborted (core dumped)
>
> 	As it didnt work, i tried to increase the partition size by
> a few GB... but as the resize_reiserfs cant run, the fsck didnt
> saw any change.
>
> 	Any more ideas?


--scan-whole-partition won't help in your case.

Could you try the following troubleshooting?
http://www.mail-archive.com/reiserfs-list@namesys.com/msg21596.html

Edward.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfsck (v3): out of disk space
  2011-02-23  0:01     ` Edward Shishkin
@ 2011-02-23 23:31       ` higuita
  0 siblings, 0 replies; 5+ messages in thread
From: higuita @ 2011-02-23 23:31 UTC (permalink / raw)
  To: reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

Hi again!

On Wed, 23 Feb 2011 01:01:20 +0100, Edward Shishkin
<edward.shishkin@gmail.com> wrote:
> Could you try the following troubleshooting?
> http://www.mail-archive.com/reiserfs-list@namesys.com/msg21596.html

	THANKS! it worked fine, i manage to recover the partition.

	As i already had expanded the partition the, the --rebuild-sb
detected the new space and after the rebuild-tree i could finally access
again to the partition... next step, update my backup and then clean old
trash to free up some space!  :)

	Thank you Edward, you saved my data and teach me about a new
interesting reiserfsck option.

	Thank you all for reiserfs
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-23 23:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22  3:00 reiserfsck (v3): out of disk space higuita
2011-02-22 10:21 ` Edward Shishkin
2011-02-22 23:08   ` higuita
2011-02-23  0:01     ` Edward Shishkin
2011-02-23 23:31       ` higuita

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.