- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending /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
12-13-2000 10:44 AM
12-13-2000 10:44 AM
Extending /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 10:50 AM
12-13-2000 10:50 AM
Re: Extending /usr
Create a make_recovery tape (make_recovery -A). Boot from it, interrupt the boot when asked, get into the filesystem menu, and resize from there. The system will recreate VG00 with the new filesystem size and import all other volume groups.
-Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 10:50 AM
12-13-2000 10:50 AM
Re: Extending /usr
You have found one of the principal reasons why the root's default shell should be the Posix one: /sbin/sh
Since you don't have online JFS, you must drop to single-user mode and you must specify your shell as /sbin/sh.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 10:52 AM
12-13-2000 10:52 AM
Re: Extending /usr
Stop autoboot mode. Got ISL> and fire hpux -is. Then you must be able to extend /usr as it will be unmounted.
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 10:56 AM
12-13-2000 10:56 AM
Re: Extending /usr
By the way, you might want to do some spring cleaning on the /usr file system and look for files that should not be there... you might have some log files that should not be there, some core dumps, or some user files that should not be there...
my 2c.
PS. I find that if you your data is properly distributed, you should not grow /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 11:13 AM
12-13-2000 11:13 AM
Re: Extending /usr
if you are truly in single user mode than /usr is not mounted. You would have to manually mount /usr just to do a bdf command...
Please retry...
Interupt boot
bo pri isl
Interact with ISL> Yes
ISL> hpux -is
Now extend /usr and then manually mount it and check your work. It's a pain...but it works..
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 12:47 PM
12-13-2000 12:47 PM
Re: Extending /usr
Another thing, you might want to check up on changing the root shell, there are problems with that, in case all your file systems dont come up for some reason, there is no way that you can login and do anything, since shell wont be available for root to.
You are experiencing the problem here too, in that ksh is to be found under /usr and you want to extend /usr.
Also, remember to do a vgcfgbackup before you do anything.
Regards,
Nabeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 09:23 AM
12-14-2000 09:23 AM
Re: Extending /usr
The correct shell for a root-user is /sbin/sh (as has already been stated by others)
This is the POSIX shell which is similar in many respects to the Korn shell.
The POSIX shell contains a history mechanism, supports job control, and provides various other useful features.
The BOURNE Shell traditionally resided at /sbin/sh - could this be the reason why you have specified the KORN shell for the root-user? (BOURNE Shell - soon to be obsoleted - resides at /usr/old/bin/sh)
There are other instances of the POSIX shell (at /usr/bin/sh, which may have further links)
The main point to note is that /sbin/sh is a statically linked binary (i.e. it is self-contained) whereas the other instances are dynamically linked (rely on the presence of shared libraries, which may not always be available - when you are in single-user mode for instance.
End of lesson.
Regards,
Nick