Missing LVM disks, kind of

 
SOLVED
Go to solution

Missing LVM disks, kind of

I am having a problem with LVM when trying to add logical volume. I thought it was an issue with /etc/lvmtab. I tried to recreate it, but it did not work. Any help?

See the attached document for deatils.
17 REPLIES 17
Pedro Cirne
Esteemed Contributor

Re: Missing LVM disks, kind of

Hi,

What LVM errors are you having? Would you post the errors?

Pedro
melvyn burnard
Honored Contributor

Re: Missing LVM disks, kind of

what errors or messages did you get when issung the lvcreate command?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
S.Arunkumar
Trusted Contributor

Re: Missing LVM disks, kind of

Hi Mitchell
It seems no problem with the lvmtab file.Can u post the error message what you get during the lvcreate and in which VG

Regards
S.Arunkumar
Kent Ostby
Honored Contributor

Re: Missing LVM disks, kind of

Mitchell --

It looks like there is a descrepency on the second vg since it shows 4 Current and 3 Active PVs.

I know you have six physical devices in lvmtab for it. I think these are two links of three devices each. Did you have a fourth drive or initially do an add of a device before it was a link ?
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"

Re: Missing LVM disks, kind of

The error I get when adding a volume:

The command used to create logical volumes, /sbin/lvcreate, has
failed. The stderr output from the command is shown below. The
logical volume has not been created.

vgcfgbackup: /etc/lvmtab is out of date with the running
kernel:Kernel indicates 7 disks for "/dev/lawvg1"; /etc/lvmtab has 6
disks.
Cannot proceed with backup.

Help
Pedro Cirne
Esteemed Contributor

Re: Missing LVM disks, kind of

Hi,

The vg display shows that current PV=4 and active PV=3.

Check with ioscan -fnCdisk if "/dev/dsk/c0t6d0" is CLAIMED.

Did you add/remove disk from this server? Are those this on a SAN?

Pedro
S.Arunkumar
Trusted Contributor
Solution

Re: Missing LVM disks, kind of

Hey

Can u activate the Vg in low quorum mode.

#vgchange -a y -q n /dev/vglaw1


Regards
S.Arunkumar

Re: Missing LVM disks, kind of

No disk changes have been made. It is using an EMC and that is not showing any errors. Nor have any changes been made.

Re: Missing LVM disks, kind of

This worked:

ustpdev4[/]#vgchange -a y -q n /dev/lawvg1
Volume group "/dev/lawvg1" has been successfully changed.