- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SWAP question
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
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
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
07-06-2012 07:56 AM
07-06-2012 07:56 AM
SWAP question
I have two boxes with Ignite warnings about unknown file system type and both are for 2ndary swap. They were created without the -C option and are not contiguous.
What are the ramafications?
Should I remove and recreate?
- Tags:
- swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2012 10:27 AM
07-06-2012 10:27 AM
Re: SWAP question
Is the swap volume a raw lvol or filesystem swap? Filesystem swap is really deprecated for today's systems. A raw lvol marked as swap has no filesystem at all, but Ignite should not syntax that (normal) condition. Not sure what -C is referring to. swapon has no -C option. Is your Ignite at least C.7 version?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2012 02:58 PM - edited 07-06-2012 03:00 PM
07-06-2012 02:58 PM - edited 07-06-2012 03:00 PM
Re: SWAP question
Not -C in swapon. -C is for the Contiguous option in lvcreate.
lvcreate -L 850 -n swap -C y -r n /dev/vg02
And contiguous as in , "...the first three lvols of vg00 must be contiguous for the OS to load including lvol2 / primary swap...."
Well, this is 2ndary swap that's been added in because lvol2 wasn't big enough and ignite is flagging it.
- Tags:
- lvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2012 09:02 AM
07-08-2012 09:02 AM
Re: SWAP question
OK. This is fine but -C is not required.
>> lvcreate -L 850 -n swap -C y -r n /dev/vg02
The contiguous requirement is only for the first 3 lvols in vg00. Secondary swap can be located anywhere, even in a different VG. There are no restrictions where extra swap can be located. This is because the kernel does not need the extra swap during bootup where there are limited addressing methods available. I assume that you have the extra swap listed in /etc/fstab (required in order to be activated at reboot).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2012 06:05 AM
07-09-2012 06:05 AM
Re: SWAP question
How do you write in /etc/fstab. I mean do you replace vxfs with swap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 01:01 PM
07-10-2012 01:01 PM
Re: SWAP question
>> How do you write in /etc/fstab.
The man page for fstab is quite useful.
Here is an example:
/dev/vg05/myswap3 __swap3__ swap defaults 0 0
where: myswap3 is the lvol, __swap3__ is just a placeholder (not a mountpoint), and swap is the type of data on this lvol.
Bill Hassell, sysadmin
- Tags:
- fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 03:29 PM
07-10-2012 03:29 PM
Re: SWAP question
Bill, Bill, Bill. How the mighty have fallen. How can you argue with JR Ferg?
http://h30499.www3.hp.com/t5/System-Administration/swap/m-p/5346707/highlight/true#M476002
I've always made 2ndary swap contigous so this was a surprise for me to see it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 06:31 PM
07-10-2012 06:31 PM
Re: SWAP question
It may be that only Ignite is syntaxing this since I've created a lot of multiple swap areas on lots of systems without -C. On the other hand, I have never checked to see that the extents were not contiguous -- they may have always been contiguous by accident. As mentioned, the primary swap area must be contiguous to be properly handle during bootup. Dump is a different story. The code for dumping is by necessity quite simple and isolated in order to function without OS assistance...
Bill Hassell, sysadmin