sotrage 'local-lvm' does not exist

hari49pf

New Member
Mar 18, 2022
5
1
3
37
Poxmox showing Sotrage 'local-lvm' doesnot exist,
but when I use command
Code:
lve
its listing all the VMs.
I am not understaing where the problem is.
 
Its possible for lvm volumes to exist but for you not to have storage actually defined in the configuration.
Its also possible that its not called local-lvm. There are probably other possibilities as well.
You will need to provide more information. At the very least:
pvesm status
cat /etc/pve/storage.cfg

If you have a specific "problem" you are trying resolve, there may be a need for more data

P.S. did you mean "lvs" ? There is no such thing as "lve" as it related to lvm.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
Its possible for lvm volumes to exist but for you not to have storage actually defined in the configuration.
Its also possible that its not called local-lvm. There are probably other possibilities as well.
You will need to provide more information. At the very least:
pvesm status
cat /etc/pve/storage.cfg

If you have a specific "problem" you are trying resolve, there may be a need for more data

P.S. did you mean "lvs" ? There is no such thing as "lve" as it related to lvm.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Sorry for delay replay,

Please find the attached,

Output of my proxmox for
cat /etc/pve/storage.cfg
storage.cfg.PNG

and
pvesm status

pvesm status.PNG


If i create a new VM it is working good, but for already existing VMs it showing the error(Sotrage 'local-lvm' doesnot exist)

need help
 

Attachments

  • storage.cfg.PNG
    storage.cfg.PNG
    26.6 KB · Views: 40
As you can see from your output, there is no local-lvm defined in your configuration.
I dont know what you did to remove it, if supposedly it was there before.

You can try to add it back, just remember "measure trice, cut once".
You will find a standard definition of "local-lvm" on this page: https://pve.proxmox.com/wiki/Storage
That needs to be in your storage.cfg


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
I have viewed the Config file as mentioned above,

It has same code as previous after creation of the new VM
There is no change in the Config file.

1649140705279.png
 
As I said, you need to add it back.
Give this a try: pvesm add lvmthin local-lvm -thinpool data -vgname pve -content rootdisk,images


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox

"I am new to poxmox Plz cope up with me"

I have runned mentiond command. its showing below information.

pvesm.PNG

PLZ HELP ME.
 

Attachments

  • pevsm.PNG
    pevsm.PNG
    10.9 KB · Views: 37
Issue resolved
I have added some lines in /etc//storage.cfg
hence it worked.
Thanks for the Help
:eek:
:)
 
Last edited:
  • Like
Reactions: Spirog
May I ask how to solve this problem? I have also encountered this situation
Start with describing exact symptoms of your situation.
Context of /etc/pve/storage.cfg
Output of vgs, lvs
Perhaps this might fix it :
Code:
pvesm add lvmthin local-lvm -thinpool data -vgname pve -content rootdir,images
, but impossible to tell without actual data.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: giovannivl
As you can see from your output, there is no local-lvm defined in your configuration.
I dont know what you did to remove it, if supposedly it was there before.

You can try to add it back, just remember "measure trice, cut once".
You will find a standard definition of "local-lvm" on this page: https://pve.proxmox.com/wiki/Storage
That needs to be in your storage.cfg


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Oh thank ye gods and little fishes sir. I measure zero and cut thrice so I appreciate the advice given for storage.cfg. One of my nodes is an unsupported pimox and it had a missing "local-lvm". Well, forgetting that storage.cfg is linked across the cluster I removed the entry. That's all it took to restore my supported node and x86 friends. Thank you.

I will try to remember the order of measuring v cutting in the future.
 
I have a similar problem. I removed local-vlvm, where my VM were. The old VM are working but I can't remove them or migrate them. If I create a new one all works well. Can someone help me if I can fix this mistake.
 
I had the same problem, no local-lvm, this was after multiple power outages over the course of a week.

No data corruption with the LVM's, they were all active.

Just had to run the following

`pvesm add lvmthin local-lvm -thinpool data -vgname pve -content rootdisk,images`

But this is a stock install, so as mentioned above this might not work for everyone.
 

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!