1752802 Members
5664 Online
108789 Solutions
New Discussion юеВ

LVM Problem

 
unixguy_1
Regular Advisor

LVM Problem

hai friends,

iam facing the problems is ,

iam not able to increase the Logical volume,it's showing the error message like "Volume Locked" messags.

Volume group name is Vg00
Logical volume name is lv3

pls any one help to me.
11 REPLIES 11
Ivan Krastev
Honored Contributor

Re: LVM Problem

Hi and welcome to the forums.

Usually lvol3 in the vg00 is the / (root) file system. This can be extended like other volumes. Volume should be continuous.


Please provide more info with you questions (like vgdisplay vg00 in this case).


regards,
ivan
Ganesan R
Honored Contributor

Re: LVM Problem

Hi,

You will not be able to extend lvol3 (most cases it should be root filesystem) like any other filesystems. Since the PE's should be contigious. There are ways to extend if you have space and additional disks.

But the preferred and recommanded way to extend the root filesystem is taking ignite backup and restore. But again you should have free space on VG00 to achieve.

Best wishes,

Ganesh.
Joelmel Roche
Valued Contributor

Re: LVM Problem

you can increase "lvol3" using ignite restoration.
sreekanthtm
Trusted Contributor

Re: LVM Problem

Hi,

Lvol3 in vg00 is root (/), Please provide o/p of # vgdisplay -v vg00. There are ways to extend the root lvol, but none them is a recommended way. Try to free up root file system by deleting/ move unwanted files. If you really want to extend the root volume, please take ignite of your server and then restore the same. While restoring the ignite image you can specify the volume size as you wish.

Rgds
Sreekanth
Suraj K Sankari
Honored Contributor

Re: LVM Problem

Hi,

Did you check weather cron demon is running or not
ps -aef | grep -i cron
root 2894 1 0 Sep 28 ? 0:02 /usr/sbin/cron

If not then start it

Give full absolute path for each command which is using in crontab file.

Suraj
Suraj K Sankari
Honored Contributor

Re: LVM Problem

Hi,
Sorry by mistake I have post that :)
Suraj
sreekanthtm
Trusted Contributor

Re: LVM Problem

Hi Suraj,

How cron is related to root (/dev/vg00/lvol3)???!!!

Rgds
Sreekanth
sreekanthtm
Trusted Contributor

Re: LVM Problem

ok....
Suraj K Sankari
Honored Contributor

Re: LVM Problem

Hi again,

Sorry for my above mistake

Here is the full document with example how to extend the / partition.

http://www.symmetricwebsites.com/articles/HP-UX/hpuxDynamicallyExtendSlashAndOrStand.php#procedure

Suraj