boot stuck cause of USB mount

nerd

Member
Nov 4, 2021
15
0
6
47
So, I used a usb disk to migrate (backup restore) between 2 servers.
Now I went to place the server in its proper place, but nothing came up.

After finding a monitor I saw it was stuck because of the missing USB drive. Attached the drive, rebooted, all is fine.

But now offcourse I want to correctly remove that USB drive from my setup.
I already deleted the directory under datacenter > Storage and went into /etc/fstab to delete the reference there but under Node > Disks it is still visible. Also lsblk still shows the drive:
Code:
lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0   1.8T  0 disk
└─sda1        8:1    0   1.8T  0 part /mnt/wd_my_passport

So how do I get properly rid of this drive?

The drive was still attached :oops:

# umount /mnt/wd_my_passport
# rm /mnt/wd_my_passport/

Is this enough to not get bothered by it on the next reboot?
 
Last edited: