Operating System - HP-UX
1753793 Members
7036 Online
108799 Solutions
New Discussion юеВ

how to extend root volume

 
SOLVED
Go to solution
bill_allen
Frequent Advisor

how to extend root volume

I am needing to increase the size of my root partition lvol3. I can see from vgdisplay that I have plenty of free physical extents free to use. While in LVM maintenance mode, when I run lvextend -L 400 /dev/vg00/lvol3 it tells me that the operation failed not enough free extends and that the failure was possibly due to strict allocation policy and contiguous allocation policy. lvdisplay does reveal the allocation policy for the volume is set for strict/contiguous. How do I alter the allocation policy in order to do what I need? How do I extend this volume?

12 REPLIES 12
Torsten.
Acclaimed Contributor
Solution

Re: how to extend root volume

Don't change the allocation policy!

Why do you need more space?

Normally you don't.

The best procedure is (if really needed) to take an ignite backup and adjust the values while restoring.

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!   
bill_allen
Frequent Advisor

Re: how to extend root volume

I am upgrading from 11iv1 to 11iv2 and it is fussing at me about not having enough space on the root volume. I did an ignite tape just prior to starting this, so I will go that way. Is there anything I need to look out for in going that route?
Torsten.
Acclaimed Contributor

Re: how to extend root volume

Make sure all of your equipment is supported by 11.23 (e.g. HVD SCSI is no longer supported)!

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!   
bill_allen
Frequent Advisor

Re: how to extend root volume

My system is an L2000 (rp5450) . Do you know if that is supported?
Torsten.
Acclaimed Contributor

Re: how to extend root volume

The server is supported

http://docs.hp.com/en/5992-1978/ch02s03.html

but check peripherals and HBAs.

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!   
bill_allen
Frequent Advisor

Re: how to extend root volume

The ignite revovery, etc. went fine. I am trying now to get the vg00 mirrored again. vg01 disks mirrored up fine. when I run lvextend with the -m option, it says that option is not valid. I am trying to extend the mirror like:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0

Any ideas where I might be going wrong? I have already done the pvcreate, vgextend and mkboot commands for the mirror disk without problem.
Oviwan
Honored Contributor

Re: how to extend root volume

hey

you have to install Mirrordisk/UX for the -m option. check "man lvextend" there you can find that hint.

Regards
Steven E. Protter
Exalted Contributor

Re: how to extend root volume

Shalom,

Part of the Ignite install interface is an option to enlarge filesystems.

You may need to make_tape_recovery and then restore the tape and then upgrade.

The upgrade process kind of bites though, so you might want to go cold installation then application re-install.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
bill_allen
Frequent Advisor

Re: how to extend root volume

Thanks to all that responded. You have been a big help.


Many Thanks,
wda