- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap on SAN 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
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
06-16-2008 10:56 AM
06-16-2008 10:56 AM
In my production system I found that there are 2 swap spaces confgured. One is on local disk and other is on SAN volume.
Now in my new system I will be configuring the same. I have created the swap on local disk on small size and now I will be creating the other swap on SAN volume. How I will be activating both, so that system should start making the use of it. How to create the swap space ?? Also, I found that entry for both is diff in fstab for one:
/dev/vg00/lvol2 ... swap pri=0 0 2
for second:
/dev/vg05/swap . swap defaults 0 0 # swap device
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 11:09 AM
06-16-2008 11:09 AM
Re: Swap on SAN Volume
swapon /dev/vg00/lvol2
swapon /dev/vg05/swap
If you arent sure it may be easier and safer to use SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 11:12 AM
06-16-2008 11:12 AM
Re: Swap on SAN Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 11:13 AM
06-16-2008 11:13 AM
Re: Swap on SAN Volume
swapon -p 0 /dev/VG name/swapname(LV name)
Make the entry in /etc/fstab also.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 11:47 AM
06-16-2008 11:47 AM
Re: Swap on SAN Volume
Your SAN swap device probably has some raid write protection (Hopefuly raid-1 or raid-10).
If you want maximum protection then please make sure that the local swap device also has a local mirror. Otherwise a single (swap) disk failure can take out the system.
fwiw,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 12:43 PM
06-16-2008 12:43 PM
Re: Swap on SAN Volume
swap on SAN is a bad idea.
A SAN problem which is easy enough to happen with those delicate fiber cables stops your system dead, probably with little or no diagnostics.
Also, default configuration uses the same device for swap and dump. A crash dump can't be written to a SAN because more than likely the drivers that permit that are not functioning as the system has crashed.
Some short term filesystem swap to get you out of jam, thats all I'd ever do on a SAN.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 12:47 PM
06-16-2008 12:47 PM
Re: Swap on SAN Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 06:41 AM
06-17-2008 06:41 AM
Re: Swap on SAN Volume
I'll refer you to this link where they've discussed this
http://forums12.itrc.hp.com/service/forums/parseCurl.do?admit=109447627+1213713403203+28353475&CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xf2ce99f08a51d61190040090279cd0f9%2C00.html
The one point someone made was there was so much RAM on their system that the large swap wasn't needed because everything was being handled in memory....by having a large swap all that was done was swap space was pre-allocated and not used....a waste of resources.
So check you need that much before defining it.
Cheers