Operating System - HP-UX
1846014 Members
3637 Online
110253 Solutions
New Discussion

/stand contains < paging > directory.

 
SOLVED
Go to solution
Subramaniyan.S
Advisor

/stand contains < paging > directory.

Hi ,

The OS version is HPUX 11.x

I found directory under /stand FS.
--> /stand/paging

This means, File System swap was enabled on /stand FS . Is this correct ?

It was having multiple files with the name of hostname.NNNN with size of 2MB each & old time stamp.( Mar 31,2006 )
-> Where, NNNN is numeric.

The total size of /stand is 1GB. But due to the above files, the /stand was showing 95% utilised in bdf output.

But currently, the " swapon -tam " doesn't show /stand as enabled for FS swap.

Hence i removed the /stand/paging directory.

Now the /stand FS is only 15% utilised.

1. Firstly, the /stand should not be enabled
as FS swap area.
2. What could be the reason for this?
3. Is it possible to find out how the /stand
got enabled for swap?

Note : Please find the attached file which shows the /stand/paging contents.

Thanks in advance.

Subra
The sole advantage of power is that you can do more good
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: /stand contains < paging > directory.

Shalom Subra,

swapinfo -tam

If it shows an active swap to /stand you are correct.

1. Yes its a really bad idea in my opinion.
2. Lack of knowledge or being despreately short of disk space.
3. Check the keyboard logs .sh_history and speak to the other admins.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: /stand contains < paging > directory.

Yes, someone enabled /stand as a swap location at some time in the past. However, if there is no entry in /etc/fstab for this swap area, it will not be used after a reboot.

1. /stand is incredibly small so it makes no sense to use it as a swap area. But filesystem swap does not make much sense at all. It has a much higher overhead than a raw lvol and it is going to compete for space in the volume depending on how it was enabled.

2. One of your root users ran the swapon command. Or a root user edited /etc/fstab and added /stand as a swap area, rebooted and later removed the entry -- although this is very unlikely.

3. See answer 2. There is no other way to enable swap space on a filesystem. It was probably an experiment but the root user did not know how to get rid of the swap area.


Bill Hassell, sysadmin