- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap1 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
Discussions
Discussions
Forums
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
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
тАО02-08-2011 03:36 AM
тАО02-08-2011 03:36 AM
ecc vg01 LVM Unused 512 0
lvol9 vg01 LVM Unused 8192 0
swap1 vg01 LVM Swap 8192 0
And /etc/fstab shows this for vg01:
grep vg01 /etc/fstab
/dev/vg01/swap1 ... swap pri=0 0 0
So it looks like I have 8 GB of disk swap space in vg01 and 8GB unused. However, vmstat -n shows:
avm -> 956994
free -> 26017
So do I really have disk swap enabled properly?
Thanks!
Leam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:12 AM
тАО02-08-2011 04:12 AM
Re: Swap1 volume?
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 8192 909 7283 11% 0 - 0 /dev/vg01/swap1
reserve - 3851 -3851
memory 6304 4154 2150 66%
total 18592 8914 9678 48% - 0 -
So I should be able ot remove vg01 and use the space for filesystems. It looks like vg00/lvol2 is large enough. Of course, that one isn't mentioned in /etc/fstab. Looks like I need to add it, right?
Leam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:13 AM
тАО02-08-2011 04:13 AM
Re: Swap1 volume?
Hari
If this post was useful , click the Kudos Star on the left side to say Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:16 AM
тАО02-08-2011 04:16 AM
Re: Swap1 volume?
Albeit, I generally put my additional swap right into vg00, thus saving a minor number.
But to each his own...
What exactly is lvol9 connected with?
Run bdf and see what it is associated with, if anything?
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:18 AM
тАО02-08-2011 04:18 AM
Re: Swap1 volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:23 AM
тАО02-08-2011 04:23 AM
Re: Swap1 volume?
Before you remove swap space please remember the relationship between physical memory installed and swap memory that you must provide for system tuning .
Take a look of this document:
http://h21007.www2.hp.com/portal/download/files/unprot/devresource/docs/techpapers/uxperfcookbook.pdf
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:32 AM
тАО02-08-2011 04:32 AM
Re: Swap1 volume?
But remember, just because you don't see a file system mounted, does not mean a disk is not in use. Be sure what you plan to remove is not being used as a 'raw device' first!
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:39 AM
тАО02-08-2011 04:39 AM
Re: Swap1 volume?
How do I check for raw volume usage? This is already part of a volume group, can it also be a raw device?
Thanks!
Leam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 05:18 AM - last edited on тАО09-27-2011 04:38 PM by Kevin_Paul
тАО02-08-2011 05:18 AM - last edited on тАО09-27-2011 04:38 PM by Kevin_Paul
Re: Swap1 volume?
Take a look at Matt Kurkela's response on this thread...it's pretty helpful.
http://h30499.www3.hp.com/t5/System-Administration/how-to-find-unused-disk-devices-in-hpunix/m-p/4208755#M325847
Regards,
Rita