Can I store backup on /dev/pve/data?

wagabae

Member
May 21, 2020
11
0
6
29
Hello new to proxmox here,

I experienced low storage for backup this past few days.

what will happen if I will be temporary store data on /dev/pve/data link dump files or iso images?

is that would be possible without affecting my proxmox machines?

Thanks in advance.
 
what will happen if I will be temporary store data on /dev/pve/data link dump files or iso images?
As you correctly said that is a special file/link pointing to a special device, specifically LVM Volume Group. You cant store files there. You cant event use it as raw block directly. Think of it as special layer in the middle of two other special layers (Physical and Logical).
If you want to take advantage of the free space in that VG, you need to create, format and mount a Logical Volume (LVM)

https://access.redhat.com/documenta...ate -L 2G -n new_logical_volume new_vol_group

I recommend doing some reading and light testing (for example inside a VM) before you start changing your hyperivsor configuration.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: wagabae
And don't store your backups there in case your VMs/LXCs are also stored on the "local-lvm" storage. Backups shouldn't be stored on the same disk as your VMs/LXCs unless you sync/copy them to another location afterwards.
 
  • Like
Reactions: wagabae
As you correctly said that is a special file/link pointing to a special device, specifically LVM Volume Group. You cant store files there. You cant event use it as raw block directly. Think of it as special layer in the middle of two other special layers (Physical and Logical).
If you want to take advantage of the free space in that VG, you need to create, format and mount a Logical Volume (LVM)

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/logical_volume_manager_administration/lvm_examples#:~:text=# lvcreate -L 2G -n new_logical_volume new_vol_group

I recommend doing some reading and light testing (for example inside a VM) before you start changing your hyperivsor configuration.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Hello Thank you for your quick response,

My problem is that I have only 16GB Free
root@pve:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <1.82t 16.24g

Are there still anyway to store my backup file for this situation?

Thank you!
 
My problem is that I have only 16GB Free
You have 16G unassigned to the Volume level pool.

We dont know how much free space you actually have. You can look at at "vgs" output, as well as "lvs". Keep in mind that you likely have "thin" pool. So your reserved space could be larger than actual used one.

You would start with step "3" in the link I posted in comment #2.

Do pay attention to advice comment 3


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

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!