Could I mount a swap/dump partition on /tmp?

Hey Guys.

Let show our disk-mapping structure on HP-UX B11.11

with df :

# df
/home                (/dev/vg00/lvol5     ): 18979652 blocks   1224395 i
/opt                 (/dev/vg00/lvol4     ): 120276192 blocks   1894100 i
/var                 (/dev/vg00/lvol6     ): 19380328 blocks   1250318 i
/stand               (/dev/vg00/lvol1     ):   438274 blocks     48607 i
/                    (/dev/vg00/lvol3     ):  3609978 blocks    481311 i

But the vol2 is a swap/dump Fs.

lvol2    vg00     Swap/Dump   32768

My question: Could mount this Fs on a point a watch busy % like the others FSs?

How do it ? with a mount command?

Thanks in Advance
AG

No, you can't, as the swap space does not contain a file system. It's just a secondary process space, completely managed by the kernel, and any information about it's contents are lost on the next reboot latest, or when you decide to stop and re-enable the swap space.

You can, however, use the free command to monitor swap space using swapinfo.

We can reduce this space without problem ?

We are needing include the /tmp FS and we dont have space in the disc....

:slight_smile:

Thanks in Advanced....

without problem, no...
It is going to ask for a reboot and boot from a make_recovery tape or so... to be able to change the size means almost reinstalling...
Or you try to create swap elsewhere and change priority order which will let you try after to comment out /dev/vg00/lvol2 and then try to reduce... (dont know if Online-JFS will let you with the swap device active...)