Is there anyway to bypass Job dev-disk-by-uuid

Escanor26

New Member
Sep 28, 2024
5
0
1
Hi Everyone

Recently I follow the below link to create a usb drive for backup data

https://www.youtube.com/watch?v=JiLyEeerLGA&t=314s&ab_channel=GeekOfAllTrades

My first aim is just to create a usb drive that can backup vm, so after the backup done, I could disconnect the usb drive from the machine.

However I now notice when I poweroff my proxmox machine and restart it, it will start showing "Job dev-disk-by\xuduuid ............device/start running

And If I connect my usb backup drive back to the machine, then I can start normall; If I didn't, it will boot up emergcy mode.

Is there a way I could disable this startup job dev-disk-by-uuid? Or is it meant to be in this way? I just do not want the usb always plug into the machine.

Thanks for reading. Much apperciated.
 
Last edited:
Do you mount the drive via /etc/fstab? Adding the options noauto,x-systemd.automount might help delay the mounting until you try to use the mountpoint.
Note that Proxmox storages are checked quite often for graphs, and might not handle a missing drive very well.
 
Hi Leesteken

I did mount the drive via nano /etc/fstab. Is there a way that I could revert it to default/ original? I have accidentally removed the original line within the file

The only script I have with the /etc/fstab is
/dev/disk/by-uuid/5864081b-d680-4fc9-a039-9b4f88cb0ac4 /home/backup ext4 defaults 0
 
Update:

The issue is solved by amend the /etc/fstab file to default value as below:

proc /proc proc defaults 0 0

However the data saved in the drive will disappear
 

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!