Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code 5

MaxP

New Member
Aug 31, 2010
21
0
1
Hello.

I recently install proxmox cluster (latest version). When I enable LVM storage (storage1) shared or not shared, and try to access hardware tab in the nodes recibe
Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code 5

if I delete the storage works ok.

the storage is a LVM (5.5 TB) over hardware raid5 located in the master.

any ideas?

thanks.
Best regards.
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

Why does the command fail?

# vgchange -aly storage1

any hint when you run that on the console?[FONT=&quot]
[/FONT]
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

Hello.

the error appears when i try to edit the hardware (hardware tab) in a VM located in the nodes (not the master).

when I run vgchange -aly storage1

in the master, I recive
1 logical volume(s) in volume group "storage1" now active

in any of the nodes I recive

proxmox3:~# vgchange -aly storage1
Volume group "storage1" not found


I see the sync is ok

pveca -l
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---DISK
1 : 10.10.2.4 M A 2 days 13:18 0.13 45% 19%
2 : 10.10.2.5 N A 2 days 13:20 0.10 37% 73%
5 : 10.10.2.13 N A 2 days 13:18 0.00 4% 0%

thanks for you rapid replay
Best regards.
Max.
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

And you storage1 is on an shared iSCSI device?
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

nop, storage 1 is a hardware raid 5 /dev/cciss/c0d1: 6001.0 GB, 6001072168960 bytes . Located in the PVE master. LVM2 VG
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

nop, storage 1 is a hardware raid 5 /dev/cciss/c0d1: 6001.0 GB, 6001072168960 bytes . Located in the PVE master. LVM2 VG

Well, PVE can't magically mirror a local VG. On a cluster, you should put the VG on a shared (iSCSI, AOE) device.
 
Re: Error in Perl code: command '/sbin/vgchange -aly storage1' failed with exit code

ahhh OK, I will do that (iSCSI). Thanks for you time!

best regards!