Resizing the filesystem to size of partition throws error " resize2fs: command not found "

Solution Verified - Updated -

Issue

  • While trying to resize the filesystem of the partition by 'resize2fs' command, below error is thrown.
# resize2fs /dev/Vgname/Lvname
bash: resize2fs: command not found

Environment

  • Red Hat Enterprise Linux 5
  • e2fsprogs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content