Problem with udiskie and access from LXC when rebooting host

Jomad

New Member
Dec 20, 2024
1
0
1
Good night,

I am going crazy :(o_O to get my LXC container to properly access the USB hard drive that I automatically mount when connecting or disconnecting with udiskie. The proxmox host machine correctly mounts any USB hard drive I connect to it in the path /media/root/(DISKNAME).

Using the container configuration files I have mapped this path to be accessible in the containers, in the case of the containers I see it in /data/(DISKNAME).

It works correctly, the problem is when I do a reboot on the host, when I restart the LXC can see the /data/(DISKNAME) directory but when trying to access it gives a permissions error. If I unplug and plug the USB hard disk, at that moment I have access to the directory from the LXC.

I don't know how to solve it, I have tried to make adjustments in udiskie but I can't get it to work... I'm a bit desperate after several hours trying to solve it.

Thanks in advance to anyone who can help me. :);)
 

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!