1755637 Members
3906 Online
108837 Solutions
New Discussion юеВ

increase /tmp

 
SOLVED
Go to solution
David Willams
Super Advisor

increase /tmp

I would like to increase /tmp

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1318912 720040 594464 55% /
/dev/vg00/lvol1 494613 77446 367705 17% /stand
/dev/vg00/lvol8 4792320 1719968 3050944 36% /var
/dev/vg00/lvol7 7766016 3033368 4695768 39% /usr
/dev/vg00/lvol4 204800 138920 65488 68% /tmp
/dev/vg00/lvol6 7847936 5326672 2501680 68% /opt
/dev/vg00/lvol5 24576 8480 15976 35% /home



# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4238
VGDA 2
PE Size (Mbytes) 8
Total PE 4203
Alloc PE 3101
Free PE 1102
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 496
Current LE 62
Allocated PE 62
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1288
Current LE 161
Allocated PE 161
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 24
Current LE 3
Allocated PE 3
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 7664
Current LE 958
Allocated PE 958
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 7584
Current LE 948
Allocated PE 948
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4680
Current LE 585
Allocated PE 585
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t0d0s2
PV Status available
Total PE 4203
Free PE 1102
Autoswitch On


I do not have online jfs ....

OS:
HP-UX B.11.23 U ia64
model:
ia64 hp server rx1620


4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: increase /tmp

hi,

1, go to the single user mode,

you could use also step 3 and the step 2

2, umount /tmp

3, lvextend -L ( new size in MB ) /dev/vg00/lvol4

4, extendfs /dev/vg00/rlvol4

5, mount the /tmp again.


mikap
Michal Kapalka (mikap)
Honored Contributor

Re: increase /tmp

hi,

sorry i forgot to define a disk ( PV ) :

3, lvextend -L ( new size in MB ) /dev/vg00/lvol4 /dev/dsk/c2t0d0s2

mikap
Johnson Punniyalingam
Honored Contributor

Re: increase /tmp

Free PE 1102 = 1102* PE Size (Mbytes) 8 = 8816 (8.8GB) free space left under vg00


Current /tmp size = 200MB,


umount /tmp
lvextend -L <200+ /dev/vg00/lvol4
extendfs -F vxfs /dev/vg00/rlvol4
mount -a
Problems are common to all, but attitude makes the difference
David Willams
Super Advisor

Re: increase /tmp

thank you