- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need Help LV extend
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
05-14-2024 08:41 AM - last edited on 05-14-2024 09:46 PM by support_s
05-14-2024 08:41 AM - last edited on 05-14-2024 09:46 PM by support_s
Need Help LV extend
Any Guru in here,
I need help, verification and try to gain self-confidence {me} - scare of soul of me working this critical system. I took over our unix server by default after our SA quit. However, one of file folder is now 91% full. I would like to extend this lv and file folder. The command below,: Are correct and good to go for me to execute?
# vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 9
Open LV 9
Max PV 511
Cur PV 3
Act PV 3
Max PE per PV 262144
VGDA 6
PE Size (Mbytes) 16
Total PE 262144 = 4,194,304 mgb = 4.19 (TB)
Alloc PE 160645 = 2,570,320 mgb = 2.57 (TB)
Free PE 101499 = 1,623,984 mgb = 1.62 (TB) available
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 4t
VG Max Extents 262144
# lvdisplay /dev/vg01/lv_ordp1
--- Logical volumes ---
LV Name /dev/vg01/lv_ordp1
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1843184 = 1,843,184 mgb = 1.84 (TB)
Current LE 115199 = 115199 * 16 (PE by mgb) = 1,843,184 mgb = 1.84 (TB)
Allocated PE 115199
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default
What I need to do:
- Current LE and Allocated PE 115199 (mgb) * 16 (PE by mgb) = 1,843,184 mgb = 1.84 Terabytes
- Increase Current LE and Allocated PE from 115199 (mgb) + 10,000 (mgb) = 125199 (mgb) * 16 (PE by mgb) = 2,003,184(mgb) = 2.0 (Tbytes)
- Total Increase is 160,000(mgb) = 60(gbytes)
I do have Online JFS in the system.
Command I need to execute:
Goal: Extend the size of this /dev/vg01/lv_ordp1 1887420416 1707272594 168888814 91% /ordatap1
#lvextend -L 125199 /dev/vg01/lv_ordp1
#fsadm -F vxfs -b 125199M /ordatap1
Thank you so much!
Nancy
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 04:58 PM
05-14-2024 04:58 PM
Re: Need Help LV extend
The commands you have proposed for extending the logical volume and resizing the filesystem on your Unix server with Online JFS are correct. The command lvextend -L 125199 /dev/vg01/lv_ordp1 will extend the logical volume to the specified size. Following this, the command fsadm -F vxfs -b 125199M /ordatap1 will resize the filesystem to match the new size of the logical volume. However, there are a few considerations to keep in mind:
Ensure Sufficient Space: Before running these commands, verify that there is enough free space in the volume group to accommodate the extension.
Backup Important Data: Although these operations are generally safe, it is always a good practice to back up important data before making changes to disk partitions and filesystems.
Monitor System Logs: Keep an eye on system logs for any error messages during the process. This can help in quickly identifying and resolving any issues that may arise.
Defragmentation: After resizing, consider running a defragmentation process using fsadm to optimize the filesystem performance.
- Tags:
- shuff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 06:53 AM - last edited on 05-15-2024 09:58 PM by Sunitha_Mod
05-15-2024 06:53 AM - last edited on 05-15-2024 09:58 PM by Sunitha_Mod
Re: Need Help LV extend
@shuff shuff,
Thank you so much!!!!! I do have a good backup in place. About the Group Volume , I think I have enough space to extend to 60 GB for now (currently Group Volume has Free PE 101499 = 1,623,984 mgb = 1.62 (TB) available). This is the part I am struggle to comprehend if I do the right thing in calculation.
-- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 9
Open LV 9
Max PV 511
Cur PV 3
Act PV 3
Max PE per PV 262144
VGDA 6
PE Size (Mbytes) 16
Total PE 262144 = 4,194,304 mgb = 4.19 (TB)
Alloc PE 160645 = 2,570,320 mgb = 2.57 (TB)
Free PE 101499 = 1,623,984 mgb = 1.62 (TB) available
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 4t
VG Max Extents 262144
Once again, thank you so much and what relieved for me.....
Nancy