- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to umount and extend /usr
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
11-02-2000 12:49 PM
11-02-2000 12:49 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 01:03 PM
11-02-2000 01:03 PM
Solutionshutdown -ry 0 and interupt the boot
Yes I want ISL then enter hpux -is to get into single user.
Since at this point (if memory servers me right, it's been awhile) /usr is not mounted. Then you can do your extends....
(If you want to be real careful do a couple manual mounts like /var & /usr and check your work lvdisplay...)
Then reboot
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 01:04 PM
11-02-2000 01:04 PM
Re: how to umount and extend /usr
hpux -is
to boot into single user mode.
but if you absolutely must, you can:
1. ensure that all processes using /usr are dead:
fuser -cu /usr
fuser -ku /usr
2. use the lvol device corresponding to /usr as the parameter to umount:
umount /dev/vg00/lvol7
where /dev/vg00/lvol7 corresponds to /usr
then continue with your lvextend and extendfs...
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 01:09 PM
11-02-2000 01:09 PM
Re: how to umount and extend /usr
1. create an ignite image;
2. backup your data;
3. cold install hpux 11;
4. install all other software (eg. databases etc)
5. restore your user data;
if things fail you can always go back by restoring the ignite tape.
if you do a search for upgrade in the forums, there are a number of threads on the pluses of cold install as opposed to upgrading.
my 2cents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2000 07:39 AM
11-06-2000 07:39 AM
Re: how to umount and extend /usr
We created an rc script to increase /usr during init level 1.
The problem...
You know that pretty list that appears on
the screen. The one that says:
Startup process 1 ....... [ OK ]
Startup process 2 ....... [WAIT]
And the "WAIT/BUSY" switches every second.
The WAIT/BUSY message comes from /sbin/rc.utils. This uses /usr/bin/sleep.
(What! Using a mounted partition during
init level 1?!? Yup.)
So you cannot unmount /usr as long as
that pretty menu is up since /usr is in use.
Our pittiful solution:
mv /usr/bin/sleep /usr/bin/sleep.hold
/usr/bin/sleep.hold 5 # give the other sleep processes time to expire
# Now the WAIT/BUSY message flashes like mad
# and you see an error about /usr/bin/sleep not found
umount /usr # it's safe now!
lvextend -L ${Amount} ${Vol}
extendfs ${Rvol_Name}
mount /usr
mv /usr/bin/sleep.hold /usr/bin/sleep
-Neal