HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ext2resize
Operating System - Linux
1828121
Members
2408
Online
109974
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 10:04 PM
08-01-2007 10:04 PM
ext2resize
Hi,
We have a RHELAS 3 server in the lab.
I need to resize the logical volumes in this server (increase the size of a 100G volume to 200G).
I have increased the logical volume (using lvextend) size to 200GB. But the issue is increasing the filesystem size.
The resizefs command when used starts the e2fsck which takes a lot of time.
I downloaded the ext2resize rpm from the GNU.
However this seems to be throwing an error message:
#ext2resize /dev/vg00/LV01
ext2resize v1.1.17 - 2001/03/18 for EXT2FS 0.5b
ext2resize: ext2_open: fs has unsupported feature(s) enabled: ro compat 2ext2resize: can't open /dev/vg00/LV01
The filesystem on the logical volume is an ext3 filesystem.
I need to increase the filesystem size as soon as possible. Please suggest.
Thanks & Regards,
We have a RHELAS 3 server in the lab.
I need to resize the logical volumes in this server (increase the size of a 100G volume to 200G).
I have increased the logical volume (using lvextend) size to 200GB. But the issue is increasing the filesystem size.
The resizefs command when used starts the e2fsck which takes a lot of time.
I downloaded the ext2resize rpm from the GNU.
However this seems to be throwing an error message:
#ext2resize /dev/vg00/LV01
ext2resize v1.1.17 - 2001/03/18 for EXT2FS 0.5b
ext2resize: ext2_open: fs has unsupported feature(s) enabled: ro compat 2ext2resize: can't open /dev/vg00/LV01
The filesystem on the logical volume is an ext3 filesystem.
I need to increase the filesystem size as soon as possible. Please suggest.
Thanks & Regards,
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 11:27 PM
08-01-2007 11:27 PM
Re: ext2resize
Are you trying to resize the volume while its mounted? "ro" would suggest to you having the volume mounted in read-only mode (probably the "ro" flag is set in /etc/fstab). Don't resize while having the volume mounted (RHEL/RHAS 3 does not support that on ext3 that afaik).
For resizing don't use ext2resize, it is a deprecated program and you should use resize2fs (from the e2fsprogs package).
RHEL/RHAS 3 does not have a >2.6.12 kernel offline resizing is required. This means stopping every process using the disk. If it is a data partition stopping all services using that data will be probably sufficient. If not, use the "fuser" program to check which processes are still holding the volume.
Fully umount it with "umount /dev/vg00/LV01" and then running "resize2fs /dev/vg00/LV01". Without options resize2fs will try to go for the maximum size available in the logical volume.
For resizing don't use ext2resize, it is a deprecated program and you should use resize2fs (from the e2fsprogs package).
RHEL/RHAS 3 does not have a >2.6.12 kernel offline resizing is required. This means stopping every process using the disk. If it is a data partition stopping all services using that data will be probably sufficient. If not, use the "fuser" program to check which processes are still holding the volume.
Fully umount it with "umount /dev/vg00/LV01" and then running "resize2fs /dev/vg00/LV01". Without options resize2fs will try to go for the maximum size available in the logical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 08:30 AM
08-02-2007 08:30 AM
Re: ext2resize
check if you have ext2online; "whereis ext2online"
if not
umount /mnt
e2fsadm -L 20G lvname
if not
umount /mnt
e2fsadm -L 20G lvname
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP