- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Nedd help to extend /usr filesystem
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
Forums
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
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
09-21-2004 05:31 AM
09-21-2004 05:31 AM
I need to extend the size of /usr file system. Could you please help me with step to extend the size of /usr filesystem or verify the following steps?
#1
Boot into single user mode
#2
lvextend /dev/vg00/lvolx
#3
extendfs /dev/vg00/lvolx
#4
reboot the system
When I boot into single user mode, the only filesystem mounted is '/' ( I might be wrong), is it going to be any kind of problem?
Please do reply!
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 05:35 AM
09-21-2004 05:35 AM
SolutionLooks like you don't have onlineJFS on the server. If you do, you can extend the size of /usr online without a reboot.
If you don't have online jfs, you can proceed like this,
1.) boot into single user mode
hpux -is at the boot prompt after interrupting the boot process
2.) activate the root vg
vgchange -a y /dev/vg00
3.) extend /usr (should be lvol7)
lvextend -L new_size_in_mb /dev/vg00/lvol7
4.) extend the filesystem
extendfs /dev/vg00/lvol7
5.) mount /usr to verify
mount /usr
boot into multiuser mode,
6.) init 3
you do not have to reboot.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 05:36 AM
09-21-2004 05:36 AM
Re: Nedd help to extend /usr filesystem
You could also use Ignite to do a "make_tape_recovery" and enlarge /usr or any other root volume group file systems during the restore process.
Finally, if you have extra room, you can make a new logical volume of the desired size, copy the contents of /usr into it, switch the mount points in /etc/fstab and reboot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 05:39 AM
09-21-2004 05:39 AM
Re: Nedd help to extend /usr filesystem
If so then you can extend the filesystem. Check this by running the vgdisplay -v /dev/vg00 and looking at the 'FREE PE' value.
If the vg00 has no room left then you will need to clean up or ignite the system and reallocate the space in vg00. Check for anyyhing you can clean up 1st.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 06:23 AM - last edited on 09-16-2024 02:25 AM by support_s
09-21-2004 06:23 AM - last edited on 09-16-2024 02:25 AM by support_s
Re: Nedd help to extend /usr filesystem
Just want to answer quick questions.
#1
Yes, I don't have online JFS.
#2
Yes, I do have lots of space in vg00.
Just want to know one thing from Pete.
Why do I have to activate vg00 when I boot into single user mode? Isnâ t already activated since '/' is already mounted. Please feel free to correct me.
Thank
- Tags:
- bios