Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
trying to use resize2fs (it isn't in /sbin/). so installing "yum install e2fsprogs". This typically works, but on this machine there is an error below.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by pshlinuxq
trying to use resize2fs (it isn't in /sbin/). so installing "yum install e2fsprogs". This typically works, but on this machine there is an error below.
...
Any help will be greatly appreciated. Thanks
I'm also running CentOS 7.3 at the moment and as below, I have have the "e2fsprogs" package install by default. So I'm not sure why your having to install it yourself?
Code:
Installed Packages
Name : e2fsprogs
Arch : x86_64
Version : 1.42.9
Release : 9.el7
Size : 2.4 M
Repo : installed
From repo : anaconda
Summary : Utilities for managing ext2, ext3, and ext4 filesystems
URL : http://e2fsprogs.sourceforge.net/
License : GPLv2
...
You can try the following commands - but try the first one first, before the others.
Code:
yum clean
yum check
yum check-update
Then try installing the "e2fsprogs" package. Let us know how it goes.
Quote:
Originally Posted by pshlinuxq
Maybe this isn't a newbie question. Can someone move this to the right location? I'm new to LQ
That's right... your a so this forum is ok - AFAIK
~]# yum info e2fsprogs
Loaded plugins: langpacks, versionlock
Repository epel is listed more than once in the configuration
Available Packages
Name : e2fsprogs
Arch : x86_64
Version : 1.42.9
Release : 7.el7
Size : 697 k
Repo : base
Summary : Utilities for managing ext2, ext3, and ext4 filesystems
URL : http://e2fsprogs.sourceforge.net/
License : GPLv2
Description : The e2fsprogs package contains a number of utilities for creating,
: checking, modifying, and correcting any inconsistencies in second,
: third and fourth extended (ext2/ext3/ext4) filesystems. E2fsprogs
: contains e2fsck (used to repair filesystem inconsistencies after an
: unclean shutdown), mke2fs (used to initialize a partition to contain
: an empty ext2 filesystem), debugfs (used to examine the internal
: structure of a filesystem, to manually repair a corrupted
: filesystem, or to create test cases for e2fsck), tune2fs (used to
: modify filesystem parameters), and most of the other core ext2fs
: filesystem utilities.
:
: You should install the e2fsprogs package if you need to manage the
: performance of an ext2, ext3, or ext4 filesystem
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
While we could try all sorts of other tricks, it may be best to just backup what data (personal/business) you wish to keep, and do a re-install to CentOS 7.4
notice the df only shows 10gb but lsblk shows there is 60gb
lsblk is not showing the 'tmpfs' folders.
You should be able to setup new partitions when you install CentOS 7.4 Just use a 'live CD' to backup your data with, and use say a USB or similar that's big enough for your data.
You could try downloading the package you were trying to install before, as a RPM package. Then try forcing an install with the rpm command.
How do you have your .repo file configured for base and updates? It looks like you are referencing some out-of-date mirror. When I look at http://vault.centos.org/7.3.1611/os/x86_64/Packages/ I see e2fsprogs-1.42.9-9.el7.x86_64.rpm, not the version 1.42.9-7 that you are picking up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.