Operating System - HP-UX
1753875 Members
7348 Online
108809 Solutions
New Discussion юеВ

How to increase /tmp space

 
Srik_1
New Member

How to increase /tmp space

Hello, Can someone please help me in increasing the /tmp space please? I have the OnlineJFS but don't have any space left on /dev/vg00 which is were /tmp is located.

vgdisplay /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4328
VGDA 2
PE Size (Mbytes) 16
Total PE 4319
Alloc PE 4319
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1082g
VG Max Extents 69248

but /dev/vg10 has space in it.

vgdisplay /dev/vg10
--- Volume groups ---
VG Name /dev/vg10
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4319
VGDA 2
PE Size (Mbytes) 64
Total PE 4319
Alloc PE 3282
Free PE 1037
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 4319g
VG Max Extents 69104

Please help.
Thanks
4 REPLIES 4
Johnson Punniyalingam
Honored Contributor

Re: How to increase /tmp space

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1339331

Couple of choices.

1. if you can add extra disks to (vg00) you can /tmp FS extend in fly.

2. if not, as mentioned earlier you have Free PE under (vg 10) which you may recreate /tmp on your desired size . But this requires (downtime ) & hope you have backup of /tmp File system.

Workout plan:-

# lvcreate -L /dev/vg10/lvolxx
# newfs -F vxfs -o largefiles /dev/vg10/rlvolxx
# mount /dev/vg10/lvolxx /new_tmp
# cd /tmp; fbackup -f - -i . | (cd /new_tmp; frecover -f - -r)

(You can also use ,tar,cpio, any backup SW to restore /tmp)

Boot the server into Single user mode / Maintenance Mode

# umount /tmp
# lvremove /dev/vg00/lvolxx
# mount /dev/vg10/lvolxx /tmp




Problems are common to all, but attitude makes the difference
Chandrahasa s
Valued Contributor

Re: How to increase /tmp space

Hi,

You have only one disk in vg00
You can add one more disk to vg00
pvcreate newdisk
vgextend vgoo newdisk
lvextend tmploicalvolume newdisk
fsadm -b newtoaltmpsizeM /tmp

Chandra
Suraj K Sankari
Honored Contributor

Re: How to increase /tmp space

Hi,
You dont have space in vg00 you need to add one more disk into vg00.

for more info about extending /tmp see the below link

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1339331

Suraj
S-M-S
Valued Contributor

Re: How to increase /tmp space

Hi Srik,
You can not extend an LV from vg00 to vg01. If you have sparedisk add disk to vg00. orelse check for whether the size of any other LV can reduce or not( which is having some free space in it ). In that way you will get some PE to use for /tmp