- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Online resizing Linux disks & filesystems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО09-12-2005 07:50 AM
тАО09-12-2005 07:50 AM
Online resizing Linux disks & filesystems
in a somewhat follow on question to the QLogic
Multipath thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=954749
I experimented with the online filesystem resize theme.
When I grow a LUN on an EVA, how do I make that
added space at the end of the LUN available to
the filesystem while it is online?
It seems that I'm struggling with the issue of
extending the partition table, since the
command "ext2online" requires the underlying
SCSI device/partition to be extended in order
to successfully extend the ext3 filesystem.
Something I managed to get done only after an
umount/mount of the said device.
Anybody knows a reasonable approach to extend
a Linux (RH EL 4.0, kernel 2.6) filesystem
online?
Thank's again & best Regards,
Arnold Sutter, Tristar/redIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 09:06 AM
тАО09-12-2005 09:06 AM
Re: Online resizing Linux disks & filesystems
So, after growing the VDISK in the EVA, you should run lvextend and then ext2online.
OR
You can try using parted, parted has the resize partition command, but normally, partitions changes are not detected until next reboot on mounted disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 06:19 PM
тАО09-12-2005 06:19 PM
Re: Online resizing Linux disks & filesystems
thank's for your response.
I've thought about the LVM approach too, but
for this I would have to extend the
underlying physical disk (something like
"pvextend" or "pvresize"), which again would
require an online extension to the partition
table, something that doesn't seem to be
easily available.
Any other thoughts?
Best Regards,
Arnold Sutter, Tristar/redIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 08:44 PM
тАО09-12-2005 08:44 PM
Re: Online resizing Linux disks & filesystems
regards,
Andrej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 04:31 AM
тАО09-13-2005 04:31 AM
Re: Online resizing Linux disks & filesystems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 07:21 PM
тАО09-13-2005 07:21 PM
Re: Online resizing Linux disks & filesystems
You no need lvextend ext2online make lvextend for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 11:20 PM
тАО09-13-2005 11:20 PM
Re: Online resizing Linux disks & filesystems
one way we do it with EVA is the following:
1) Extend the size of the LUN on the storage
subsystem with additional space at the end.
2) Modify the disk partition, so the
additional space is available to the system
3) Extend the filesystem in order to make
use of the additional space of the device
It seems that step 2 is the problem here.
Of course, I can always add an additional
LUN to the LVM volume group and extend the
logical volume. But this might not always
be desired if I want to extend the EXISTING
device.
Best Regards,
Arnold Sutter, Tristar/redIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 02:44 AM
тАО09-14-2005 02:44 AM
Re: Online resizing Linux disks & filesystems
That means, can you modify the partition after growing the VDISK in the EVA, without dismount/reboot the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 03:20 AM
тАО09-14-2005 03:20 AM
Re: Online resizing Linux disks & filesystems
that's exactly the point. So far, I could
not successfully execute Step 2 online
without dismount/mount'ing the device.
Best Regards,
Arnold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 04:46 AM
тАО09-14-2005 04:46 AM
Re: Online resizing Linux disks & filesystems
In most SAN environments when space is added on the SAN you have to boot the box to get the space recognized.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com