HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase the volume
Operating System - HP-UX
1826384
Members
4292
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-14-2009 05:05 AM
12-14-2009 05:05 AM
increase the volume
In HP-UX 10.20,
How I can increase the volume of directory \home?
How I can increase the volume of directory \home?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2009 05:15 AM
12-14-2009 05:15 AM
Re: increase the volume
If you mean capacity, take a look at the man page for vgextend, lvextend and extendfs. The examples section of lvextend shows pretty clearly the steps you need to follow.
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2009 05:25 AM
12-14-2009 05:25 AM
Re: increase the volume
Find out what LV this filesystem resides on.
# bdf /home
Then look if you still have sufficient free PEs in vg00 (assuming that /home's LV is part of vg00)
# vgdisplay vg00|awk '/PE Size|Free PE/{print$NF}'|xargs printf "echo \$((%d*%d))\n"|sh
Decide how much you need to grow the FS
and extend the LV
e.g.
either giving the new end size in MB
# lvextend -L 512 /dev/vg00/lvol5
or in LEs
(e.g. grow by 24 LEs)
# lvextend -l $(($(lvdisplay /dev/vg00/lvol5|awk '/Current LE/{print$NF}')+24)) /dev/vg00/lvol5
Verify the LVs new size
# lvdisplay /dev/vg00/lvol5|awk '/LV Size/{print$NF}'
If you have OnlineJFS grow the mounted filesystem
e.g.
# fsadm -F vxfs -b $(lvdisplay /dev/vg00/lvol5|awk '/LV Size/{print$NF}')m /home
If you lack OnlineJFS you need to unmount /home
which probably requires your user's to logout.
Check if FS is in use
# fuser -c /home
# bdf /home
Then look if you still have sufficient free PEs in vg00 (assuming that /home's LV is part of vg00)
# vgdisplay vg00|awk '/PE Size|Free PE/{print$NF}'|xargs printf "echo \$((%d*%d))\n"|sh
Decide how much you need to grow the FS
and extend the LV
e.g.
either giving the new end size in MB
# lvextend -L 512 /dev/vg00/lvol5
or in LEs
(e.g. grow by 24 LEs)
# lvextend -l $(($(lvdisplay /dev/vg00/lvol5|awk '/Current LE/{print$NF}')+24)) /dev/vg00/lvol5
Verify the LVs new size
# lvdisplay /dev/vg00/lvol5|awk '/LV Size/{print$NF}'
If you have OnlineJFS grow the mounted filesystem
e.g.
# fsadm -F vxfs -b $(lvdisplay /dev/vg00/lvol5|awk '/LV Size/{print$NF}')m /home
If you lack OnlineJFS you need to unmount /home
which probably requires your user's to logout.
Check if FS is in use
# fuser -c /home
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2009 01:02 PM
12-14-2009 01:02 PM
Re: increase the volume
Are you using vxvm
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP