USB HDD in a cluster

borpin

Member
Jun 27, 2020
23
18
8
60
I have 2 old laptops in a PVE cluster (which is brilliant). One of the nodes has a USB drive attached for backup.

In the GUI, I can see the USB attached to the first node, but it also appears on the second node (with a question mark).

I continually get errors in the second node logs

Code:
Mar 10 16:39:05 pve2 pvestatd[1126]: unable to activate storage 'usb-sdb1' - directory is expected to be a mount point but is not mounted: '/media/sdb1'

This is entirely expected but how do I stop the error?

[edit]
Just found where it is managed (in the cluster which isn't obvious) and it is not listed as shared.

[edit2]
So I have just realised that I migrated a container from node 1 to 2 and the backup schedule has the backup of that container pointing to the USB device.

I suspect that is the reason Node 2 is trying to mount it.
 
Last edited:
  • Like
Reactions: memilanuk
Hi,

have you adjusted the "Nodes" option of the PVE storage of your USB drive?
Like here:
1615449222003.png
 
  • Like
Reactions: mjaxon
Datacenter -> Storage -> Select in the list -> Click edit
1615452139203.png
 
That could be the issue.

I have used the USB as a directory

1615478417018.png
Is that not the right way?
 
It's OK (for special cases), but you won't be able to use it as storage for other nodes.
 
OK, so is the fact the other node looking for it a bug, when a container has been migrated that previously used it for backup?

Would it be worth adding to the Wiki a how to add a USB Drive?

If I was starting from scratch, what is the best way to do it? Does it need Ceph to be installed (I have not found a reason to do so yet).

Thanks for your help.
 

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!