Hi all,
I have two problems, and I think they are related.
I am running proxmox ve version 7.3 on a 32GB machine. This is configured to have a USB drive attached for backup. Upon booting, the USB device appears showing my backups, and the backups are taken at 250 to 300MB per second. The backup drive is a 3/5inch spinning disk, in a SSD to USB3 enclosure, plugged into a USB3 port.
SO on a fresh boot, everything is working just fine.
However I don't really want my backup drive permanently attached, so I demount it and remount it later.
Upon powering it up, it appears as a new disk, with my backups on it, it also adds a new entry to /etc/pve/storage.cfg. It does NOT mount as USB. And it is now slow as a druggd up snail: backups usually peak at 2.5MB/Sec - about 1% of the previous speed.
A reboot will fix the problem, and editing /etc/pve/storage.cfg will remove the invalid device entry.
How can I get things to "just work".
This is my /etc/fstab file - the commented out lines at the bottom are the things I have tried. None changed the behaviour.
The relevant entry in /etc/pve/storage.cfg is
I have two problems, and I think they are related.
I am running proxmox ve version 7.3 on a 32GB machine. This is configured to have a USB drive attached for backup. Upon booting, the USB device appears showing my backups, and the backups are taken at 250 to 300MB per second. The backup drive is a 3/5inch spinning disk, in a SSD to USB3 enclosure, plugged into a USB3 port.
SO on a fresh boot, everything is working just fine.
However I don't really want my backup drive permanently attached, so I demount it and remount it later.
Upon powering it up, it appears as a new disk, with my backups on it, it also adds a new entry to /etc/pve/storage.cfg. It does NOT mount as USB. And it is now slow as a druggd up snail: backups usually peak at 2.5MB/Sec - about 1% of the previous speed.
A reboot will fix the problem, and editing /etc/pve/storage.cfg will remove the invalid device entry.
How can I get things to "just work".
This is my /etc/fstab file - the commented out lines at the bottom are the things I have tried. None changed the behaviour.
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
UUID=0E21-1B07 /boot/efi vfat defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
# and the usb drive
# /dev/sdb1 /mnt/usb_storage ext4 defaults 0 0
#UUID="bbf02a13-b340-4575-9dfd-e748bbf77342" /mnt/usb_storage ext4 defaults 0 0
PARTUUID="a53b1de4-4a73-4925-97b3-e792a2798b23" /mnt/usb_storage ext4 defaults 0 0
The relevant entry in /etc/pve/storage.cfg is
dir: USB
path /mnt/usb_storage
content images,backup,rootdir
nodes cyllene
prune-backups keep-all=1
shared 0