[PVE-User] [storage] failed to delete LVM storage

Patryk Benderz Patryk.Benderz at esp.pl
Thu Mar 25 12:23:20 CET 2010


[cut]
> I was getting a similar error when trying to delete storage.  I don't 
> remember the exact circumstances, but I believe I was running LVM 
> storage on top of iSCSI.  I tried running that command on the command 
> line.  It worked fine on the cluster master but failed with code 5 on 
> another node.  It turned out that I did not have iSCSI setup properly on 
> that node.  So that node did not have access to the LVM group.
> 
> If you run pvdisplay and vgdisplay on the related PVE server(s), is your 
> volume group listed?
Hi James,
thanks for the answer. I have default PVE bare metal ISO installation,
installed on ordinary SATA hard drives. Does this helps anyhow to solve
my problem?

proxmox219:~# pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               pve
  PV Size               135.47 GB / not usable 3.20 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              34680
  Free PE               1023
  Allocated PE          33657
  PV UUID               suxiyf-1o01-Pdto-0WKE-ZKys-cYoc-xHsNiJ

proxmox219:~# vgdisplay
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  535
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               135.47 GB
  PE Size               4.00 MB
  Total PE              34680
  Alloc PE / Size       33657 / 131.47 GB
  Free  PE / Size       1023 / 4.00 GB
  VG UUID               znrC1W-21m2-kGKb-swcO-K4Jb-Biap-os6SDH

And on second (slave) node:

proxmox218:~# pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               pve
  PV Size               135.47 GB / not usable 3.20 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              34680
  Free PE               1023
  Allocated PE          33657
  PV UUID               eEPcIx-5z4O-3mMO-vmXt-iNMA-Fr3j-eofzdD

proxmox218:~# vgdisplay 
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               135.47 GB
  PE Size               4.00 MB
  Total PE              34680
  Alloc PE / Size       33657 / 131.47 GB
  Free  PE / Size       1023 / 4.00 GB
  VG UUID               eLy360-Sr4A-gBSS-XQSZ-lfMP-LkyG-F1CVYZ

So it looks like ti is OK, isn't it?


-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


Email secured by Check Point



More information about the pve-user mailing list