Re: unable to lvextend /dev/vg00/lvol3 " / " (1055 Views)
Reply
Regular Advisor
silusan
Posts: 136
Registered: ‎08-23-2011
Message 1 of 7 (1,069 Views)

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

[ Edited ]

 

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

Frequent Advisor
Gordon Crone
Posts: 35
Registered: ‎11-21-2003
Message 2 of 7 (1,055 Views)

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

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01918758/c01918758.pdf

Honored Contributor
Patrick Wallek
Posts: 13,776
Registered: ‎06-21-2000
Message 3 of 7 (1,049 Views)

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.

Regular Advisor
silusan
Posts: 136
Registered: ‎08-23-2011
Message 4 of 7 (1,041 Views)

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

Frequent Advisor
Gordon Crone
Posts: 35
Registered: ‎11-21-2003
Message 5 of 7 (1,037 Views)

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

Regular Advisor
silusan
Posts: 136
Registered: ‎08-23-2011
Message 6 of 7 (998 Views)

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

[ Edited ]

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.

 

 

Frequent Advisor
Sanjay Yugal Kishore Ha
Posts: 70
Registered: ‎06-06-2002
Message 7 of 7 (945 Views)

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&prodClas... 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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.