Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276352 - sys-fs/e2fsprogs-1.41.7: resize2fs broken handling of device name
Summary: sys-fs/e2fsprogs-1.41.7: resize2fs broken handling of device name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 09:51 UTC by Matthias Schwarzott
Modified: 2009-07-03 19:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix from e2fsprogs-git (e2fsprogs-1.41.7-fix-resize2fs.diff,1.10 KB, patch)
2009-07-03 10:29 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwarzott gentoo-dev 2009-07-03 09:51:10 UTC
Trying to resize a mounted ext3 filesystem I get this:

# resize2fs /dev/vg2/bilder
resize2fs 1.41.7 (29-June-2009)
Das Dateisystem auf /dev/vg2/bilder ist auf /usr/share/locale/de_DE.utf8/LC_MESSAGES/e2fsprogs.mo eingehängt; Online-Grössenveränderung nötig
old desc_blocks = 2, new_desc_blocks = 2
resize2fs: Datei oder Verzeichnis nicht gefunden beim Versuch, Einhängpunkt /usr/share/locale/de_DE.utf8/LC_MESSAGES/e2fsprogs.mo zu öffnen

As the output is in German: resize2fs seems to thing the mountpoint of the filesystem is "/usr/share/locale/de_DE.utf8/LC_MESSAGES/e2fsprogs.mo".

Trying the same with LC_ALL=C:
# LC_ALL=C resize2fs /dev/vg2/bilder
resize2fs 1.41.7 (29-June-2009)
Filesystem at /dev/vg2/bilder is mounted on �+�         ; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 2
resize2fs: No such file or directory while trying to open mountpoint �+�

Same result, but other corrupt string used for mountpoint.

Using e2fsprogs-1.41.6 it works as usual:
LC_ALL=C resize2fs /dev/vg2/bilder
resize2fs 1.41.6 (30-May-2009)
Filesystem at /dev/vg2/bilder is mounted on /home/bilder; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 2
Performing an on-line resize of /dev/vg2/bilder to 5388288 (4k) blocks.
The filesystem on /dev/vg2/bilder is now 5388288 blocks long.
Comment 1 Matthias Schwarzott gentoo-dev 2009-07-03 10:29:47 UTC
Created attachment 196492 [details, diff]
fix from e2fsprogs-git

This patch from e2fsprogs-git, commit id e2b3dbd0298af0788e614250279c17e38b49c921
fixes this bug. Please apply.
Comment 2 SpanKY gentoo-dev 2009-07-03 18:43:34 UTC
feel free to apply
Comment 3 SpanKY gentoo-dev 2009-07-03 19:35:48 UTC
added the patch to 1.41.7-r1