Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hp swap issue

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
0
0
GB
Hello,

i have created a 16GB swap partition (file system swap) and when i run a swapinfo -m i get the following output:-

Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
localfs 3712 0 3712 0% 3712 0 1 /proj/paging
reserve - 2074 -2074
memory 5174 1927 3247 37%

as you can see /proj/paging is coming up as 3712MB!

but if you do a du -sk /proj/paging you get this output:-

16384176 paging

as you can see this is 16GB

is there anything daft i have done here?

cheers

nick

 
Food for thought... Check on how you allocated the filesystem paging space:

For file system paging areas, LIMIT is the maximum number
of 1-Kbyte blocks that will be used for paging, the same
as the limit value given to swapon. A file system LIMIT
value of none means there is no fixed limit; all space is
available except that used for files, less the blocks
represented by minfree (see fs(4)) plus RESERVE.

Your limit is set to 3712
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top