proxmox backup

Blisk

Member
Apr 16, 2022
47
3
13
When I tried to backup I have only possibility of "local" with 72Gb of storage.
Then I add another 8Tb disk to storage and directory with VZDump backup file.
But again I get another 72Tb storage instead of 8Tb storage.
Where to set this size from 72Gb to 8Tb?
 
Thats probably because your HDDs ins't mounted in the mountpoint where you point your directory storage to. So everything written to that directory storage will end up on your root filesystem and that is the LV that also stores your "local" with just 72GB.

Make sure you run pvesm set Your8TBStorageID --is_mountpoint yes or otherwise the directory storage won't handle the folder it's pointed at as a mountpoint and won't fail if it's not mounted, resulting in problems like you see now.
 
Last edited:
thank you.
I did this
"pvesm set USB8Tb --is_mountpoint yes"
now when I go to Backup I get this error
1656671371234.png
and when I try to "mount /dev/sdd /Usb8Tb" I get error
1656671462170.png
 
thank you.
I did this
"pvesm set USB8Tb --is_mountpoint yes"
now when I go to Backup I get this error
View attachment 38600
Thats good and how it should be. That way you don't accidentally write ackups to your root filesystem until its 100% full when PVE would stop working because the root filesystem would switch to read-only.
and when I try to "mount /dev/sdd /Usb8Tb" I get error
View attachment 38601
1.) You need to mount a filesystem, not the block device itself. "/dev/sdd" is your disk. You need to mount a partition with a filesystem on it. If you for example want to mount the filesystem of type "ext4" on the first partition you could run mount -t ext4 /dev/sdd1 /USB8Tb
2.) you didn't specified the type of filesystem. You can use the "-t" argument for that. But in case that USBHDD is formated with NTFS (like many HDDs come from the factory) you might need to install the "ntfs-3g" package first (apt update && apt install ntfs-3g). NTFS is Microsoft propietary and not optimized for linux, so in case you don't also need to attach that USB-HDD to a Windows machine I would wipe that disk, partition it and format it with ext4 or xfs.
3.) maybe your USB-Disk came completely empty without any precreated partitions. In that case you would need to create a parition table and partition first (you can do that for example with the "fdisk" or "parted" commands) and then format that partition with a command like "mkfs.ext4".
 
Ok I understand now. I don't format and mount that USB disk in proxmox GUI but I need to go to console and format it and set filesystem and than mount it like any other linux. I already did that but didn't find disk to select it for backup. I will try again. I want to move my virtual servers to another proxmox server. And don't know if there is a better way to do it, like copy virtual server to USB disk and than restore it to new proxmox host.