- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: query on swap entry in the /etc/fstab file
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
06-02-2009 01:01 AM
06-02-2009 01:01 AM
What is the difference between below two lines in the /etc/fstab file for dev swap:
(1)/dev/vg00/lvol9 . swap defaults 0 0
(2)/dev/vg00/lvol9 ... swap pri=1 0 0
Actually i want to know what is meant by "." and "..." plus "pri=1 0 0" in the /etc/fstab file for device swap??
Thanks in advance
Minhaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 01:07 AM
06-02-2009 01:07 AM
Re: query on swap entry in the /etc/fstab file
the . and ... are placeholders to make the output look good. I'm surprised that didn't make the mount fail. Those are put in manually, not by Ignite system install.
The pri display tells the system if it has two swap areas which has higher priority. This can be used to tune swap performance.
higher priority number makes the swap area less likely to be used.
There is a man page on /etc/fstab that should cover this.
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-02-2009 01:19 AM
06-02-2009 01:19 AM
Re: query on swap entry in the /etc/fstab file
You can put any thing like "." or "..."or "/" as the mount point portion can not be blank in the /etc/fstab ,and effectively there is no difference between "." and "..." as it is ignored by swapon command.
pri=1 field is for the priority for allocating the swap device for paging and swapping
The priority ranges are from 0(highest) to 10 and space is taken from lower-numbered system first
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 02:08 AM
06-02-2009 02:08 AM
Re: query on swap entry in the /etc/fstab file
Thanks a lot for your reply.
But what is meant by
if i put only "pri=1" then what is it mean??
if i put only "pri=1 0 0" then what is it mean??
Again if we have 4 additional device swap and each has priority "pri=1 0 0" then what is the scenario of paging??
please help me to understood.
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 02:54 AM
06-02-2009 02:54 AM
Solution>>if i put only "pri=1" then what is it meani
The swap device will have priority 1 (you can see the priority by swapinfo -tam)
>>if i put only "pri=1 0 0" then what is it mean??
The last two digits are for backup frequency and pass number
>>Again if we have 4 additional device swap and each has priority "pri=1 0 0" then what is the scenario of paging??
All the four device have equal priority and ideally all of them will be engaged equally at the the time of paging
backup frequency:
-----------------
Reserved for possible use by future backup utilities.
pass number :
--------------
Used by the fsck command to determine the order in which file system checks are done. The root file system should be specified with a pass number of 1, to be checked first, and other file systems should have larger numbers. (A file system with a pass number of zero is ignored by the fsck command.)
File systems within a drive should be assigned different pass numbers, but file systems on different drives can be checked on the same pass, to utilize possible parallelism available in the hardware. If pass number is not present, fsck checks each such file system sequentially after all eligible file systems with pass numbers have been checked.
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 08:00 PM
06-02-2009 08:00 PM
Re: query on swap entry in the /etc/fstab file
Regds
Minhaz