1834094 Members
2133 Online
110063 Solutions
New Discussion

Increasing tmp space

 
SOLVED
Go to solution
Jonathan Tan
New Member

Increasing tmp space

Hi all, I am trying to increase my /tmp size.

I have the following Logical volumes read from SAM

lvol6 vg00 VxFS 32 0 /tmp
lvol6 vg01 Unused 32 0
lvol6 vg02 Unused 1500 0

Does this mean I can increase the size of /tmp with the remaining unused 1500?

Can kindly advise the steps?

Thank you very much!
7 REPLIES 7
Jonathan Tan
New Member

Re: Increasing tmp space

To add on to the above, is it possible to migrate /tmp to the following:

lvol9 vg00 Unused 1500 0 lvol9 vg01 Unused 1500 0

Thanks!
rariasn
Honored Contributor
Solution

Re: Increasing tmp space

Torsten.
Acclaimed Contributor

Re: Increasing tmp space

You cannot assign free space from one VG to another.

Do you have any unused space in VG00?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
AnthonySN
Respected Contributor

Re: Increasing tmp space

post the output of the command
vgdisplay -v vg00
Jonathan Tan
New Member

Re: Increasing tmp space

Hi guys, I tried to follow a step mentioned in link provided by rariasn

------------------------------------------
1. Create a LV on VG01 with sufficient space that you need.
2. Edit /etc/fstab so that it contains /tmp pointing to the new LV.
3. Reboot the machine.
------------------------------------------

Found a unused LV, created VxFS (newfs) on it and edited FSTAB and rebooted...

lvol9 vg0 Unused 1500 lvol9 vg01 Unused 1500


When mounting I get the error and /tmp is mounted on root LV instead.

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
mountall: cannot mount /dev/vg00/lvol9
mountall: diagnostics from mount
mount - not a valid vxfs file system

Am I missing a step here?
Jonathan Tan
New Member

Re: Increasing tmp space

Output from vgdisplay


--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 12
Open LV 12
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2500
VGDA 2
PE Size (Mbytes) 4
Total PE 2169
Alloc PE 1848
Free PE 321
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) 84
Current LE 21
Allocated PE 21
Used PV 1

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

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

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

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

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

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

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

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1

LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 1028
Current LE 257
Allocated PE 257
Used PV 1

LV Name /dev/vg00/vpace02
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 2169
Free PE 321
Autoswitch On

Jonathan Tan
New Member

Re: Increasing tmp space

I think I resolved the fsck issue. I did a another newfs for the lvol9 and now able to mount /tmp to it after a reboot.

Thanks all for your help!