- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/fstab swap syntax
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
03-23-2012 01:48 AM
03-23-2012 01:48 AM
/etc/fstab swap syntax
Hi,
We are using 11.31.
I'm adding a second swap device. The man page for fstab states that a swap device entry should look someting like:
/dev/vg01/lv10 / swap defaults 0 0 # swap device
On the net I've seen a couple of other syntaxes, for example:
/dev/vg01/lvswap ... swap pri=3 0 0
and
/dev/vg14/lvol15 . swap defaults 0 0
Does it matter wheter one uses "/" "..." or "."?
The man page does not mention any way of stating the priority of the device, so I "pri=2" seems obselete, correct?
How does HPUX keep track of the priority? Istill need to state the priority when running the swapon command.
Regards,
Peter Brink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2012 02:32 AM
03-23-2012 02:32 AM
Re: /etc/fstab swap syntax
SAM was able to help already 15 years ago with this, but the shiny new SMH still can't do this ... (unless I missed it in a newer release).
However, back to the roots, command line and vi.
The man page tells you
"
directory field is ignored but must not be empty:
for this reason you see different characters there ( "/" or "." etc).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2012 02:37 AM
03-23-2012 02:37 AM
Re: /etc/fstab swap syntax
:)
Thanks!