Operating System - HP-UX
1834657 Members
2498 Online
110069 Solutions
New Discussion

resieze /tmp and swap on line on rx 2602 intanium server

 
siva baskaran
Regular Advisor

resieze /tmp and swap on line on rx 2602 intanium server


what is the proceduce kto resize the /tmp, and swap online or single user mode ( without LVM)

that is itanium server and there is no VXVM

thanx
siva
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: resieze /tmp and swap on line on rx 2602 intanium server

Without OnlineJFS, it is unlikely you will be able to enlarge /tmp online. The procedure goes like this (taken from the man page for lvextend):

Increase the size of a file system existing on a logical volume.

First, increase the size of the logical volume.

lvextend -L 400 /dev/vg06/lvol3

Unmount the file system.


umount /dev/vg06/lvol3

Extend the file system to occupy the entire (larger) logical volume.

extendfs /dev/vg06/rlvol3

Remount the file system.

mount /dev/vg06/lvol3 /mnt

This will need to be done in single user mode.

Swap is easier. You can add an additional logical volume of appropriate size, then enable it using the swapon command. You will also want to add it to /etc/fstab, marking it as swap. See the man pages for swapon and fstab.


Pete

Pete
Victor Fridyev
Honored Contributor

Re: resieze /tmp and swap on line on rx 2602 intanium server

Hi,

A small remark re additional swap: don't build an additional swap space on the disk, where you already have it, you must build it on another disk.

Best
Entities are not to be multiplied beyond necessity - RTFM