Operating System - HP-UX
1836926 Members
2161 Online
110111 Solutions
New Discussion

Re: Unable to extend /tmp filesystem (11iv1)

 
SOLVED
Go to solution
Ajithkumar
Advisor

Unable to extend /tmp filesystem (11iv1)

Hi Gurus,

I want to extend the /tmp file system from 2GB to 3GB.Space is available in vg00.

When I tried with fsadm (Online JFS is installed), the following error comes.
fsadm -F vxfs -v -b 3000M /tmp
vxfs fsadm: using device /dev/vg00/rlvol6
vxfs fsadm: /dev/vg00/rlvol6 is currently 2097152 sectors - size will be increased
vxfs fsadm: write failure at block 908286 : No such device or address

The following error comes when I tried with lvextend in single user mode.


lvextend -L 504 /dev/vg00/lvol3
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol3" could not be extended.
Failure possibly caused by strict allocation policy

Please find below the lvdisplay o/p of lvol6.

LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t2d0 128 128
/dev/dsk/c2t2d0 128 128

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t2d0 00551 current /dev/dsk/c2t2d0 00551 current
00001 /dev/dsk/c1t2d0 00552 current /dev/dsk/c2t2d0 00552 current
00002 /dev/dsk/c1t2d0 00553 current /dev/dsk/c2t2d0 00553 current

Can somebody help me sort this out

Thanx in advance...

Ajith.
6 REPLIES 6
Piergiacomo Perini
Trusted Contributor

Re: Unable to extend /tmp filesystem (11iv1)

Hi Ajith,

pay attetion that your lv is mirrored.
Again : what is lv of /tmp , lvol6 or lvol3 (i think the first one).

There must be enough free PE on VG00 , i mean if you want extend lvol by 50 PE you must have 100 PE free on VG00.

hth
regards
pg
Peter Godron
Honored Contributor
Solution

Re: Unable to extend /tmp filesystem (11iv1)

Hi,
you seem to have /tmp mirrored.

The problem is best described in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1038672

Alternative problems with similar symptoms:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=489031

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.

So far you have awarded points to only 11 of 33 answers !
V. Nyga
Honored Contributor

Re: Unable to extend /tmp filesystem (11iv1)

Hi,

how have you checked that you've space available?
Second - your filesystem is mirrored, I don't believe that extention works with mirrored disks.

Volkmar
*** Say 'Thanks' with Kudos ***
Torsten.
Acclaimed Contributor

Re: Unable to extend /tmp filesystem (11iv1)

Hi,

check "vgdisplay -v" for available free extends.
Because the disk is mirrored, the relationship is 1:2, like this

Current LE 128
Allocated PE 256

"lvextend -L 504 /dev/vg00/lvol3 "

lvol3 IS NOT /tmp!


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!   
V. Nyga
Honored Contributor

Re: Unable to extend /tmp filesystem (11iv1)

also check:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1054941

also from here, the mirror will not be the problem, but maybe different space at the two disks:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1114138

Volkmar
*** Say 'Thanks' with Kudos ***
Ajithkumar
Advisor

Re: Unable to extend /tmp filesystem (11iv1)

Hi All,

I could see what exactly went wrong.
Eventhough there is enough space is there in vg00, the space available in the mirrored disk was too low.

In fact this is a test machine , so a lot of volumes are created in one disk of vg00.

Thank you very much for the valuable feedback of all.

Ajith.