- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to extend /usr logical volume?
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
12-05-2002 11:28 AM
12-05-2002 11:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:32 AM
12-05-2002 11:32 AM
Re: How to extend /usr logical volume?
Check out this link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74bc119c3420d411b66300108302854d,00.html
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:34 AM
12-05-2002 11:34 AM
Re: How to extend /usr logical volume?
Unless you have Online JFS installed, the only way you're going to be able to do this is to boot into single user mode - you'll never be able to unmount /usr otherwise.
Perhaps a better solution would be to boot from an Ignite recovery tape, re-sizing file systems in the process.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:38 AM
12-05-2002 11:38 AM
Re: How to extend /usr logical volume?
If you do not have online jfs,
#shutdown -ry 0
While system comes up, disturb the boot sequence and get in to ISL prompt, Then you type this
ISL>hpux -lm
system will come up in the LVM maintenance mode
#vgchange -a y /dev/vg00
#lvextend -L size_in_mb /dev/vg00/lvolxx
#extendfs /dev/vg00/lvolxx
#mount /usr
#cd /usr
#bdf .
If you have online jfs
#cd /
#lvextend -L size_in_mb /dev/vg00/lvolxx
#fsadm -F vxfs -b size_in_mb /usr
Hope it helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 02:27 PM
12-05-2002 02:27 PM
Re: How to extend /usr logical volume?
You'll have to go single user if you do not have online JFS installed.
If you do have it, use fsadm -F vxfs -b {newsize} /usr
Make sure you've extended lvol first.
From single user, extend lvol and then extendfs. Detailed instruction are hereabove, so no need to repeat.
Hope this helps,
0leg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:08 AM
12-06-2002 07:08 AM
Re: How to extend /usr logical volume?
1. Run the shutdown command? This does NOT help you.
2. Run it like the people here say. POWER DOWN the computer. Interupt the boot process while it comes back up.
If you boot into single user mode and the /usr filesystem is already mounted, you are in wrong type of single-user. I've never seen this documented. I know this because I was told to extend /usr by WRONG single-user mode method....for months.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:23 AM
12-06-2002 07:23 AM
Re: How to extend /usr logical volume?
I am intrigued by your post, so could you please dig up this reference you are talking about?
every time I boot into single-user mode using shutdown -r , /usr has never been mounted; only / and /stand.
hpux -is is the command I use to boot into single-user mode, what do you use?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:37 AM
12-06-2002 07:37 AM
Re: How to extend /usr logical volume?
What I was TOLD years ago was:
"log in as root, in multi-user mode.
Run shutdown
You are now in single user mode.
Now /usr should be unmounted.
If not run umount /usr.
If it still refuses to unmount, run fuser on the logical volume used by /usr to get a list of processes that are still running. Then kill these processes. "
But one of the processes is UNIX. I felt like I was told to stand on a rug, then pull on edge of the rug REAL HARD.
This was a few years ago. And it was NOT a document. It was 3rd party support telling me this,...then HP agreed. All verbally.
Eventually I got an email from hp support that told me how to REALLY bring it into single-user mode. Ever since I have called the proper way the:
"Super-Secret Power-Down Single-User mode."
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 08:54 AM
12-06-2002 08:54 AM
Re: How to extend /usr logical volume?
Go figure.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 10:35 AM
12-06-2002 10:35 AM
Re: How to extend /usr logical volume?
Sorry, didn't mean to put you on the spot; it's just that that was a new one to me. I really was interested in the source of this information is all.
But like I said, I never had a problem by just doing a shutdown -r, and I've seen other recent posts on this forum that instruct the author to do the same:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x88525c7609e9d61190050090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0b324b3ef09fd611abdb0090277a778c,00.html
Sorry for the confusion and if I offended anyone.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 10:42 AM
12-06-2002 10:42 AM
Re: How to extend /usr logical volume?
I guess I like to talk about the old issue because I thought it was pretty funny.
I must write WAY to dark. Maybe Stephen King has competition.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2002 09:30 AM
12-09-2002 09:30 AM
Re: How to extend /usr logical volume?
add new lvm usr2
cd /usr
find . ???print | cpio ???pcxvdmu /usr2
edit fstab comment out usr and change usr2 to usr
reboot
remove unused volumes.
this of course assumes you have unused disk space.