After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770051 - e2fsck reports "no such file or directory" when trying to resize ext4 partition
e2fsck reports "no such file or directory" when trying to resize ext4 partition
Status: RESOLVED DUPLICATE of bug 762941
Product: gparted
Classification: Other
Component: application
0.25.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2016-08-17 21:04 UTC by Michael von Glasow
Modified: 2016-08-18 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael von Glasow 2016-08-17 21:04:50 UTC
I tried to resize an ext4 partition today (unmounted via gparted gui). However, the initial e2fsck failed before gparted even attempted to resize the partition. The error message read "/dev/sdb1: no such file or directory". (Didn't save a log, though.)

Running a check on the partition from within gparted and retrying the operation did not help. (The check didn't report any errors.)

What did fix it was running

sudo fsck.ext4 -v /dev/sdb1

from the shell, which came up with no apparent errors:

e2fsck 1.42.13 (17-May-2015)
/dev/sdb1: clean, 806434/12214272 files, 13810992/48827880 blocks

After that, however, the resize operation went through smoothly.

What puzzles me is that, since I ran just a basic fsck.ext4, gparted's check option should have done all of this (and possibly more). Apparently the check operation doesn't cover all it should. I can only guess why – maybe f2fsck mis-recognizes the file system as an earlier version (ext3 or ext2) and runs an incorrect version for the check, but the whatever runs prior to the resize operation still considers the file system to be faulty.
Comment 1 Mike Fleetwood 2016-08-18 10:42:25 UTC
This is a duplicate of a bug that was fixed in GParted 0.26.0.
Bug 762941 "Operations sometimes failing with: No such file or directory"

*** This bug has been marked as a duplicate of bug 762941 ***