cannot resize reiserfs partition

Bug #24490 reported by Simon Morgan
8
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Fix Released
Medium
Daniel Holbach

Bug Description

Attempting to resize a reiserfs partition on the following drive:

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hda1 1 19457 156288321 83 Linux

to 110GB results in the following and seemingly no actual changes:

Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc
has been opened read-only.
Error: Unable to open /dev/hdc - unrecognised disk label.
debugreiserfs 3.6.19 (2003 www.namesys.com)

Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc
has been opened read-only.
Error: Unable to open /dev/hdc - unrecognised disk label.
debugreiserfs 3.6.19 (2003 www.namesys.com)

debugreiserfs 3.6.19 (2003 www.namesys.com)

Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc
has been opened read-only.
Error: Unable to open /dev/hdc - unrecognised disk label.
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to <email address hidden>, **
** 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 check consistency of the filesystem on /dev/hda1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'
###########
reiserfsck --fix-fixable started at Sun Oct 23 14:10:48 2005
###########
Replaying journal..
Reiserfs journal '/dev/hda1' 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 27766
 Internal nodes 181
 Directories 699
 Other files 17351
 Data block pointers 27124373 (0 of them are zero)
 Safe links 0
###########
reiserfsck finished at Sun Oct 23 14:13:13 2005
###########
resize_reiserfs 3.6.19 (2003 www.namesys.com)

resizer_reiserfs: the new size value is wrong.

reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to <email address hidden>, **
** 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 check consistency of the filesystem on /dev/hda1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'
###########
reiserfsck --fix-fixable started at Sun Oct 23 14:13:13 2005
###########
Replaying journal..
Reiserfs journal '/dev/hda1' 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 27766
 Internal nodes 181
 Directories 699
 Other files 17351
 Data block pointers 27124373 (0 of them are zero)
 Safe links 0
###########
reiserfsck finished at Sun Oct 23 14:15:38 2005
###########
resize_reiserfs 3.6.19 (2003 www.namesys.com)

/dev/hda1 already is of the needed size. Nothing to be done

reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to <email address hidden>, **
** 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 check consistency of the filesystem on /dev/hda1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'
###########
reiserfsck --fix-fixable started at Sun Oct 23 14:15:38 2005
###########
Replaying journal..
Reiserfs journal '/dev/hda1' 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 27766
 Internal nodes 181
 Directories 699
 Other files 17351
 Data block pointers 27124373 (0 of them are zero)
 Safe links 0
###########
reiserfsck finished at Sun Oct 23 14:18:06 2005
###########
debugreiserfs 3.6.19 (2003 www.namesys.com)

debugreiserfs 3.6.19 (2003 www.namesys.com)

Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc
has been opened read-only.
Error: Unable to open /dev/hdc - unrecognised disk label.

I'm assuming this has something to do with the "resizer_reiserfs: the new size
value is wrong." message.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Ubuntu Dapper now has gparted 0.0.9 - do you still have the issue?

Revision history for this message
Simon Morgan (sjmorgan) wrote :

Nope, it doesn't look like it. I built the package under Breezy and managed to
resize a 190G reiserfs partition with it without problem.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Excellent. Thanks for following up on this - if you have trouble with it again,
please REOPEN the bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.