- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux LVM online resize error - resize2fs
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
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
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
10-29-2015 07:26 AM
10-29-2015 07:26 AM
Linux LVM online resize error - resize2fs
Hi,
my server is linux RHEL 6.6 (patch version 2.6.32-358.el6.x86_64). i have tried to increase a filesystem online using resize2fs.
the mount point was 1TB already, and i need to increase 2TB more. so the final size would be 3TB.
i had 1 TB size (2 disks) lun, and have extended the VG first using the 2 luns. so i had 2 TB ( and some extra 300GB) free in the VG.
lvextend -l +100%PVS /dev/arch-VG/arch001-vol /dev/emcpowerag1
lvextend -l +100%PVS /dev/arch-VG/arch001-vol /dev/emcpoweraf1
# lvs | grep -i arch001
arch001-vol arch-VG -wi-ao---- 2.93t
above was the output once i did lvextend. then when i tried to do resize2fs, it should increase the new 2TB. but i got the below error.
# resize2fs /dev/arch-VG/arch001-vol
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/arch-VG/arch001-vol is mounted on /arch01; on-line resizing required
old desc_blocks = 63, new_desc_blocks = 188
Performing an on-line resize of /dev/arch-VG/arch001-vol to 786423808 (4k) blocks.
resize2fs: Operation not permitted While trying to add group #8064
[root@BEC19-ENC1-7 dev]#
hence requesting your advice on how to go about this. please let me know if any more details required.
Regards,
mydheen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2015 07:32 AM
10-29-2015 07:32 AM
Re: Linux LVM online resize error - resize2fs
Just to add to the above post,
then when i verified what might have gone wrong. i see that one of the disk showing as "unallocatable". please advice.
i tried to change the allocatability. but no luck, may be as this disk is part of vg, i would not be able to perform this pvchange.
# pvdisplay /dev/emcpowerah1
"/dev/emcpowerah1" is a new physical volume of "1000.00 GiB"
--- NEW Physical volume ---
PV Name /dev/emcpowerah1
VG Name
PV Size 1000.00 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID GWYuI7-LY4x-fspx-bUG2-4m8E-Q6rJ-TAYFfe
# pvchange -x y /dev/emcpowerah1
Allocatability not supported by orphan lvm2 format PV /dev/emcpowerah1
0 physical volumes changed / 1 physical volume not changed