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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.