- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending /usr on HPUX 11.11
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
01-27-2014 12:46 PM
01-27-2014 12:46 PM
Hello gurus I need help on how to umount /usr on HPUX 11.11 for I can extend the file system. /usr is running out of space and needs to be extended but I can't umount it because the device is always busy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2014 06:02 PM - edited 01-27-2014 06:07 PM
01-27-2014 06:02 PM - edited 01-27-2014 06:07 PM
SolutionIf you do not have Online JFS (an optional priced addon for HP-UX), then you cannot have /usr mounted. This is only possible in single user mode. First make sure you have unused space in vg00 with: vgdisplay vg00
The free space(in megabytes) is calculated by taking Free PE multiplied by PE Size. If the lvols are mirrored, the amount of free space is divided by 2.
Assuming you are on a PARISC server and not a workstation like the C3600, make sure you are connected to the console and login to the GSP/MP, then select the console with the command: CO
You're now connected to HP-UX. Now use shutdown -ry 0 to reboot. Monitor the selftest results and interrupt the boot startup when you see the 10 second wait. Press Enter to get to the BCH prompt. Then type BOOT PRIMARY, and answer Y to the question about interact with the ISL. When you see the ISL prompt, type hpux -is
The system will then boot to single user mode with nothing mounted except / and /stand. Now use lvextend (first) to extend the lvol to the new size as in: lvextend -L newMB /dev/vg00/lvol##. Then use extendfs like this: extendfs /dev/vg00/rlvol##
Note the 'r' in rlvol. This is required for extendfs. Now you're done and you can reboot with: shutdown -ry 0
Bill Hassell, sysadmin