Error creating LVM - create storage failed: command '/sbin/pvs --

cyberquarks

New Member
May 27, 2024
5
0
1
How to work around this error (when trying to make an LVM):


> create storage failed: command '/sbin/pvs --separator : --noheadings
> --units k --unbuffered --nosuffix --options pv_name,pv_size,vg_name,pv_uuid
> /dev/disk/by-id/scsi-36589cfc000000f92915fcd719135fe85' failed: exit
> code 5 (500)

Here are the contents of `/etc/pve/storage.cfg`

```
root@pve:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,backup,images,iso
shared 0

lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

cifs: truenas_hpz4g4
path /mnt/pve/truenas_hpz4g4
server 192.168.2.223
share media
content images
prune-backups keep-all=1
username samba

cifs: truenas_proxmox_hpml350
path /mnt/pve/truenas_proxmox_hpml350
server 192.168.2.105
share vm
content images,rootdir
prune-backups keep-all=1
username samba

iscsi: Proxmox-TrueNAS-ISCI
portal 192.168.10.14
target iqn.2005-10.org.freenas.ctl:proxmox-truenas-iscsi-1tb
content none
```
 

Attachments

  • wifZSLaY.png
    wifZSLaY.png
    52.1 KB · Views: 32
  • 1KZlWAl3.png
    1KZlWAl3.png
    63.9 KB · Views: 31

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!