Operating System - HP-UX
1832650 Members
2883 Online
110043 Solutions
New Discussion

Increase size of mine logical volume

 
Ernesto Cappello
Trusted Contributor

Increase size of mine logical volume

I need to increase the size,from 2Gb to 6Gb, of mine logical volume /dev/vg00/lvol10 .
This filesystem are in automount and when my users are not connected i succeeded to unmount it but it does not make to increase the size because it has the contiguous blocks.

Regards.
Ernesto.
5 REPLIES 5
Domenico_5
Respected Contributor

Re: Increase size of mine logical volume

Ciao ern??

question: when you umount the file system, you turn off the nfs server?
Contiguous?? attach your vgdisplay -v for all information about it.

regards
Christopher McCray_1
Honored Contributor

Re: Increase size of mine logical volume

test
It wasn't me!!!!
Jean-Louis Phelix
Honored Contributor

Re: Increase size of mine logical volume

Hi,

I am not sure to understand your question, because almost no one needs the contiguous option for lvols, except primary swap, / or /stand. In your case, if it's a mounted fs you should get rid of this constraint using 'lvchange -C n', then lvextend should work if you have enough free space.

Regards,
It works for me (© Bill McNAMARA ...)
Christopher McCray_1
Honored Contributor

Re: Increase size of mine logical volume

Hello,

Can you post your lvdisplay output?

You can try to change the lvol from contiguous to non-contiguous using lvchange.

# lvchange -C n /dev/vg00/lvol10

Hope this helps

Chris
It wasn't me!!!!
James R. Ferguson
Acclaimed Contributor

Re: Increase size of mine logical volume

Hi:

You might be able to 'pvmove' another logical volume's extents to another physical volume and thereby allow the logical volume in question to be extended. You could also move the logical volume in question with 'pvmove' to a physical disk that would allow the 'lvextend'.

You could also do a 'lvchange -C n' on the logical volume you want to extned to turn off the contiguous allocation policy.

Regards!

...JRF...