- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Re: lvextend
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
03-02-2010 07:08 PM
03-02-2010 07:08 PM
lvextend
i am having one vg which still have around 60gb free space (unallocated) i would like to extend existing lv which is in the same vg below is the correct way
1) umount the lvm
2)lvextend -L +61440 /dev/vg01/lvol10 /dev/sdk3
3)ext2online /dev/vg01/lvol10
4) mount back the lvm
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-02-2010 10:09 PM
03-02-2010 10:09 PM
Re: lvextend
which verious of lvm and Linux.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-02-2010 10:11 PM
03-02-2010 10:11 PM
Re: lvextend
i'm using :
1. umount the LVMs-lvol
2. lvextend --size +2G -n /dev/.../LVMs-lvol
3. e2fsck -f /dev/.../LVMs-lvol
4. resize2fs /dev/.../LVMs-lvol
5. e2fsck -f /dev/.../LVMs-lvol
of course the fsck is depend what type of file system do you use.
PS : i think your way is correct.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-02-2010 10:21 PM
03-02-2010 10:21 PM
Re: lvextend
i dont have online jfs lincese, can not use
in this lvm i am already having 50gb+ data so below is the correct way which is suggested by mikap,?
1) umount /data (which is /dev/vg01/lvol10
2)lvextend -L +61440 /dev/vg01/lvol10 /dev/sdk3
(need to extend 60gb i already verify free space is there in this vg)
3)e2fsck -f /dev/vg01/lvol10
4)resize2fs /dev/vg01/lvol10
5)e2fsck -f /dev/vg01/lvol10
6) mount back the file system
please advice,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-02-2010 10:47 PM
03-02-2010 10:47 PM
Re: lvextend
ext2online (increase ext3 only)
resize2fs (inclrease both ext2 and 3)
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-02-2010 11:47 PM
03-02-2010 11:47 PM
Re: lvextend
No umount is needed while extension of lvols.
ext2online works as well while mounted ( in most cases )
Only if ext2online refuses to extend fs then Michal's offline solution is needed.
rgds
HGH
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP