Operating System - HP-UX
1753677 Members
5689 Online
108799 Solutions
New Discussion юеВ

Re: Increasing size of existing filesystem

 
SOLVED
Go to solution
Phil Storer
Advisor

Re: Increasing size of existing filesystem

Forgot to mention that the logical volume is not mirrored so I'm not sure how it's set to strict
Michael Tully
Honored Contributor

Re: Increasing size of existing filesystem

The answer is in the 'lvchange' command.

This should do it:

# lvchange -s n /dev/vg01/lvolX

How it got that way, well someone must have set it that way. When an lv is created, the strict option is not used as part of the default setting. Once you have removed the 'strict' allocation policy, you should be okay in extending the volume. Have a look at the man pages for both lvcreate/lvextend/lvchange
Anyone for a Mutiny ?
Con O'Kelly
Honored Contributor

Re: Increasing size of existing filesystem

Hi Phil

I'd actually say in your case that if your Logical Volume is not mirrored you don't need to worry about the strict option. It only applies to mirrored volumes.
When an LV is created then "strict" is the default.

A problem might only arise if the volume is mirrored or is contiguous.

The command you have will increase the LV to 500MB. This will work perfectly if you have the space free in the Volume Group.

Cheers
Con