Operating System - HP-UX
1753765 Members
5913 Online
108799 Solutions
New Discussion юеВ

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

 
sriprabhu
Occasional Contributor

lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3
lvextend: "LogicalExtentsNumber" is not bigger than current setting

can u tel what is reason and how to solve it
5 REPLIES 5
Michal Kapalka (mikap)
Honored Contributor

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

Md. Farhan A Azam
Trusted Contributor

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

Quartion is not clear,

Are you trying to increase the size of a LV or you are trying to mirror.

If you are trying to increse the size of a LV, then first check free PEs are available.

then excute the "lvexteand command"
example is as below:

Extend the logical volume that holds the filesystem.
#/sbin/lvextend -L 8590 /dev/vg00/lvol8

(NOTE: the -L option is the NEW size
The new size of /var will be 8590 MB)

Extend the file system.

#/sbin/extendfs -F vxfs /dev/vg00/rlvol8

If you are trying to mirror, then, example is below.
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cxtxdx


thnx...farhan


Md. Farhan A Azam
Trusted Contributor

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

missed to mentioned,

If you are trying to reduce, then use
#lvreduce command.

thnx...farhan
Bijeesh
Respected Contributor

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

Hi,
If you want to add 32MB to your current LV,
Then after -L option you have to add the the value,
current LV size in MB + 32

For example,
If your current LV size is 100MB and need to extend it to 132 MB,
Then,
#lvextend -L 132 /dev/vgXX/lvXX /dev/dsk/XX
Also incrase the FS using fsadm,
#fsadm -b
V. Nyga
Honored Contributor

Re: lvextend -L 32 /dev/prabhu/prabhulv /dev/dsk/c19t0d3 lvextend: "LogicalExtentsNumber" is not bigger

Hi sriprabhu,

welcome to this forum.
From your profile:
You 'have assigned points to 0 of 10 responses to your questions'

Please read the forums FAQs and especially:
http://forums11.itrc.hp.com/service/forums/helptips.do?#28

Enjoy the forum,
V. Nyga
*** Say 'Thanks' with Kudos ***