- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: lvextend
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
тАО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
- 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
- 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
- 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
- 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
- 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