Operating System - HP-UX
1745865 Members
4231 Online
108723 Solutions
New Discussion

Re: unable to lvextend /dev/vg00/lvol3 " / "

 
silusan
Regular Advisor

unable to lvextend /dev/vg00/lvol3 " / "

 

Need to extend lvol3 to 6GB

Unable to do that ....can someone please suggest how can I do this?

have more than 100GB free space in VG00

 

#> bdf

Filesystem          kbytes    used   avail %used Mounted on

/dev/vg00/lvol3    1048576  231840  810368   22% /

/dev/vg00/lvol1    1835008  375216 1448448   21% /stand

/dev/vg00/lvol8    67633152 7554216 59613528   11% /var

/dev/vg00/lvol10   10485760 1944662 8007299   20% /var/adm/crash

/dev/vg00/lvol7    6684672 2984696 3671176   45% /usr

/dev/vg00/lvol4     524288  524272      16  100% /tmp

/dev/vg00/lvol6    8781824 5199216 3555344   59% /opt

/dev/vg00/lvol5     131072    6392  123824    5% /home  

#>

#> lvextend -L 6144M /dev/vg00/lvol3

lvextend: Not enough free physical extents available.    ----> not possible, beacuse of lot so free space

Logical volume "/dev/vg00/lvol3" could not be extended.

Failure possibly caused by contiguous allocation policy.

Failure possibly caused by strict allocation policy  

#>

 #> lvdisplay /dev/vg00/lvol3

--- Logical volumes ---

LV Name                     /dev/vg00/lvol3

VG Name                     /dev/vg00

LV Permission               read/write

LV Status                   available/syncd

Mirror copies               0

Consistency Recovery        MWC

Schedule                    parallel

LV Size (Mbytes)            1024

Current LE                  8

Allocated PE                8

Stripes                     0

Stripe Size (Kbytes)        0

Bad block                   off

Allocation                  strict/contiguous

IO Timeout (Seconds)        default

 #>  

#> lvchange -C n /dev/vg00/lvol3

Can not change to non-contiguous allocation policy Logical Volume "/dev/vg00/lvol3" must be contiguous.  

#>

 

 

 

 

 

P.S. This thread has been moved from HP-UX > System Administration to Ignite. -HP forum moderator

6 REPLIES 6
Gordon Crone
Frequent Advisor

Re: unable to lvextend /dev/vg00/lvol3 " / "

One  way is/was to use ignite and make a a recovery tape or perhaps a net recovery, boot from that and  make changes to the root logical volumes at that point.

 

If you have a spare disk, it can be accomplished with DRD. The steps are outlined in this document:

 

Dynamic Root Disk: Quick Start & Best Practices

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=c01918758https://support.hpe.com/hpesc/public/km/product/5338313/hpe-ignite-ux?ismnp=0&l5oid=4077173&tab=All

[Moderator edit: Updated the broken link.]

Patrick Wallek
Honored Contributor

Re: unable to lvextend /dev/vg00/lvol3 " / "

>>Need to extend lvol3 to 6GB

 

The first question is "WHY"?  That seems awfully large for your '/' volume.  

 

The "/" volume MUST be contiguously allocated.  There is no way to get around that requirement.

 

The "easiest" way is to use Ignite/UX to do this, as mentioned above.  

 

Another option, though it is a bit of work and you have to be REALLY careful, is to move the logical volumes that occurr after lvol3 on the disk so that you can then extend lvol3.

silusan
Regular Advisor

Re: unable to lvextend /dev/vg00/lvol3 " / "

well, I HAVE to extend :-( as per the document.

All servers have been built as per that spec. Tis particular server, may be due to human error has been alloted less space

 

this is a vmhost on a bl860 blade

11.31 VSE OE

 

two local disks

H/W RAID mirrored..now just one disk can be seen - 550GB

 

Rest of the disks seen in this VM host are from SAN..used to create hpvm guests

 

free space in this local disk where OS is installed is over 300GB

 

move logical volumes after lvol3 to where? same disk? or some other disk?

 

will also be interested to hear more on ignite for this lvol3 extesion.

 

thank you

Gordon Crone
Frequent Advisor

Re: unable to lvextend /dev/vg00/lvol3 " / "

silusan
Regular Advisor

Re: unable to lvextend /dev/vg00/lvol3 " / "

Can I please request ..

can I have a step by step procedure to take the sytem full back up  ?

 

I have an ignite server with enough space....

and have the network connectivity too between this vm host and ignite

 

I have concluded that ignite is the way to go. DRD amy not work out as the disk size in this host is 550GB and I may not get that big LUN to clone.

 

 

Sanjay Yugal Kishore Ha
Frequent Advisor

Re: unable to lvextend /dev/vg00/lvol3 " / "

The chapter # 15 of Ignite-UX Administration Guide at http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4077173 detals the steps.

After having created a recovery archive, you may modify the root file system size at the time of recovery from the Ignite-UX user interface at the console.

 

Thanks,

Sanjay

Dying is the last thing that I will do.