- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- easiest way to change vg00 partition maps using ex...
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
10-10-2005 08:50 AM
10-10-2005 08:50 AM
Sorry to ask such basic questions. I tried searching, but couldn't find anything (not very good with keyword search, I guess)
I have an HPUX 10.20. recently it came to my attention that there isn't enough swap space allocated on this system (whoever configured it only gave 512Mb for a system with 4G RAM!). I'm not sure if this is a problem, but given the standard swap allcation being 1.5-2x RAM, it must be crippling the performance of the system? (or, if it really doesn't matter, then I can keep it as-is)
There are many unused spaces on other lvols (/opt has 7Gb and is only using 1.2G, /usr has 3.5G and only using 1.2G, etc), and I am comtemplating reallocating space to give more swap space.
I also have an identical unused hard drive as the vg00 on the system (unmounted, unconfigured, unformatted) available at my disposal.
so.. I thought, there must be an easy, fast, and safe way to backup/remap lvol sizes/recover the system using the two drives.
What would be the best method given this luxury? I also do have a tape drive available.
I am relative newbie admin... I know some basic maneuvers, but nothing really beyond the routine... (very little experience messing with lvols)
Eventually I would like to configure this extra drive to mirror key partitions and/or /home, but until the, I can do whatever with it.
Thanks for any help...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 09:10 AM
10-10-2005 09:10 AM
SolutionRun 'swapinfo -tam' and post the results. With this we'll be able to tell if there are any potential swap issues. It will also tell us if you have the 'swapmem_on' kernel parameter set to 1, which would explain only 512 MB RAM.
The 1.5-2x RAM requirement for swap space is an old and, in my opinion, obsolete requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 06:40 PM
10-10-2005 06:40 PM
Re: easiest way to change vg00 partition maps using extra disk
Not sure about 10.20, but the easiest way to rebuild vg00 is to create ignite tape (man make_recofery or man make_tape_recovery), boot from the tape and resize volumes during interactive recovery. Ignite-UX should be installed to create the tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 06:55 PM
10-10-2005 06:55 PM
Re: easiest way to change vg00 partition maps using extra disk
The suggestion of rebuilding vg00 with ignite to increase swap is a good one, but the feasibility depends on the size of your root disc. Another recommendation is to spread the swap evenly across your discs. But, as I said above, if you're not having performance problems you may not need to do anything.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 08:08 PM
10-10-2005 08:08 PM
Re: easiest way to change vg00 partition maps using extra disk
Running HP-UX 10.20 which has been obsolete for some time I guess the likelihood of putting more load on the system isn't too big. Do however check swap usage with 'swapinfo -tam' and post the result.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 05:28 AM
10-11-2005 05:28 AM
Re: easiest way to change vg00 partition maps using extra disk
thanks for the replies. here is the result of the swapinfo -tam:
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 0 512 0% 0 - 1 /dev/vg00/lvol2
reserve - 62 -62
memory 2889 944 1945 33%
total 3401 1006 2395 30% - 0 -
and it is correct that we haven't had any panic messages or error messages.
may be I can keep it as-is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 05:34 AM
10-11-2005 05:34 AM
Re: easiest way to change vg00 partition maps using extra disk
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 07:27 AM
10-11-2005 07:27 AM
Re: easiest way to change vg00 partition maps using extra disk
thank you all for the messages. seems like the best course of action is the best one: Do nothing!
thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 07:33 AM
10-11-2005 07:33 AM
Re: easiest way to change vg00 partition maps using extra disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 08:24 AM
10-11-2005 08:24 AM
Re: easiest way to change vg00 partition maps using extra disk
Also, how did they (whoever configured this system) manage to disable swap? is there some option when installing the OS?
can you disable swap if you have 2G RAM and still be ok (for a low-load system)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:14 PM
10-11-2005 06:14 PM
Re: easiest way to change vg00 partition maps using extra disk
Swap isn't disabled as such. It is there but just not used yet. The reason for that being that there is more RAM on the system than the OS and processes need.
You can't disable swap altogether. You got to have some. And you got to have 'swapmeom_on 1'. That is what gives you the memory line in swapinfo. It is only make belive.
The philosopy is that if you stick enough RAM in you system to acomdate all your processes you don't ever need to swap. So you configure the system with little swap. But for every process you start HP-UX will need to RESERVE swap. So we invented pseudo swap which tells the OS it has the swap.
Regards,
Trond
can you disable swap if you have 2G RAM and still be ok (for a low-load system)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 02:26 AM
10-12-2005 02:26 AM
Re: easiest way to change vg00 partition maps using extra disk
Suppose you have (or create) a volume group called "vg02", then create a 6gig lvol in it, and the lvol is called "lvol1".
Just add the following line to the /etc/fstab file:
/dev/vg02/lvol1 ... swap defaults 0 0
Then, issue the command:
swapon -a
Next you can view your new swap with:
swapinfo -tam
You'll see your new swap area listed, and now part of the swapspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 03:06 AM
10-12-2005 03:06 AM
Re: easiest way to change vg00 partition maps using extra disk
Where is his dump space located? If its primary swap which I think is default on 10.20, will it stop dumping when it gets to the end of lvol2 or will it just keep right on going and dump over lvol3 and overwrite the root file system?
Just a thought before everyone gives IH a blessing and something happens to panic the system and he cant recover.
Does anyone know for certain how 10.20 dump behaves on a panic?
H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 03:13 AM
10-12-2005 03:13 AM