- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Extending ext3 filesystem RHEL5
ProLiant Servers (ML,DL,SL)
1753977
Members
7713
Online
108811
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
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
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
04-17-2007 07:27 AM
04-17-2007 07:27 AM
Extending ext3 filesystem RHEL5
Dear all,
I would like to resize a sile system in linux. My system is a HP DL380G5 with SmartArray P400 (SAS) controller.
I'm going to HP System Management Homepage and start Array Configuration Utility to extend my LUN. I resize it from 100GB to 150GB. Until then, everything is working fine.
Once the controller has finished its resising operation, I can see that the LUN is now 150GB, but Linux RHEL 5 doesn't see it. I still the old (original) size of it. Why?
To see the correct disk size, I have to reboot the system. Why? I would like to be able to resize filesystem online without having to reboot.
After rebooting, the size is now fine:
Disk /dev/cciss/c0d3: 157.2 GB
At this time, I'm unable to resize the filesystem. When I try resize2fs I have this message:
# resize2fs /dev/cciss/c0d3p1
resize2fs 1.39 (29-May-2006)
The filesystem is already 25599956 blocks long. Nothing to do!
Even I I try ext2online I have this:
# ext2online /dev/cciss/c0d3p1
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: new size is same as current (25599956)
When I use parted, I can see the free space at the end of the disk:
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d3: 157GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File
system
1 16.4kB 105GB 105GB primary ext3
105GB 157GB 52.4GB Free
Space
So my question is simple: is it possible to extend a filesystem in Redhat Enterprise 5 without having to restart the system like major OS are supporting? If yes, could you kindly let me know how?
Best regards,
Yanick Quirion
I would like to resize a sile system in linux. My system is a HP DL380G5 with SmartArray P400 (SAS) controller.
I'm going to HP System Management Homepage and start Array Configuration Utility to extend my LUN. I resize it from 100GB to 150GB. Until then, everything is working fine.
Once the controller has finished its resising operation, I can see that the LUN is now 150GB, but Linux RHEL 5 doesn't see it. I still the old (original) size of it. Why?
To see the correct disk size, I have to reboot the system. Why? I would like to be able to resize filesystem online without having to reboot.
After rebooting, the size is now fine:
Disk /dev/cciss/c0d3: 157.2 GB
At this time, I'm unable to resize the filesystem. When I try resize2fs I have this message:
# resize2fs /dev/cciss/c0d3p1
resize2fs 1.39 (29-May-2006)
The filesystem is already 25599956 blocks long. Nothing to do!
Even I I try ext2online I have this:
# ext2online /dev/cciss/c0d3p1
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: new size is same as current (25599956)
When I use parted, I can see the free space at the end of the disk:
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d3: 157GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File
system
1 16.4kB 105GB 105GB primary ext3
105GB 157GB 52.4GB Free
Space
So my question is simple: is it possible to extend a filesystem in Redhat Enterprise 5 without having to restart the system like major OS are supporting? If yes, could you kindly let me know how?
Best regards,
Yanick Quirion
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP