- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase space in /usr
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-22-2008 09:17 AM
05-22-2008 09:17 AM
increase space in /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:27 AM
05-22-2008 09:27 AM
Re: increase space in /usr
/usr is not in the root filesystem, it is separate.
If you have space on the disk for it:
bdf /usr
# get the device
lvextend -L
umount /usr
extendfs disk device above.
You system needs to be near idle or booted to single user mode before this operation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:27 AM
05-22-2008 09:27 AM
Re: increase space in /usr
You've got to boot the server in single-user mode to increase and /usr (lvol7):
#shutdown -r -y
boot pri
Interact with ISL? Yes
ISL>hpux -is
When you are in single user mode, increase the file system as follows:
#lvextend â  L â  new size in MBâ  /dev/vg00/lvol7
#extendfs /dev/vg00/rlvol7
#mount /usr
to verify the new size
and reboot the server on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:38 AM
05-22-2008 09:38 AM
Re: increase space in /usr
If you have OnlineJFS (which you should because no server should be without!) then, use:
# lvextend -L
# fsadm -b
If you don't have OnlineJFS, you should boot into single-user mode, where '/usr' isn't mounted and do:
# lvextend ...
# extendfs /dev/vg00/rlvolN #...note 'r'aw device
# shutdown -ry 0 # to reboot and resume
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:58 AM
05-22-2008 09:58 AM
Re: increase space in /usr
first I have to clarify
I've never increase space in the root area
u /usr is not root file sytem
before extending u file system /usr
first u have to understand online jfs is installed in u system or not for understanding that
u can use
swlist -l product | grep -i jfs
if online jfs installed in u system u can use fsadm command to increase the file system
first u have to check in u volume group any space is there or not
by using vgdisplay command if space is there
u can extend logical volume first then file sytem ok (otherwise u have to extend the size of the volume group first)
if online jfs is there do the following steps to increase the file system
lvextend -L 800 /dev/vg00/lvol5
fsadm -F vxfs -b 800 /usr