I have very little experience with linux, so maybe this is a dumb question :)

I run Ubuntu 24.04 on a machine, and I had an old HDD in a usb-case which I mounted using fstab. Worked fine, but I decided it wasn’t appropriate for my purpose and removed it (physically and from fstab).

But it still shows up in the file manager? What am I missing?

  • EvilCartyen@feddit.dkOP
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Don’t do that.

    Coming from non-linux, it’s not usually a problem. But now I know better :)

    fstab is just a config file so the computer knows what drives and storage volumes its supposed to have when it boots.

    You can add and remove drives without ever editing fstab. Plugging something in should give you the option to mount it in your file explorer, and in the same place you should be able to “eject” it before disconnecting the actual cable.

    I know that, but this particular drive was meant to be permanently mounted and accessible, which is why I added it to fstab. I am removing it because it’s damaged and i have to replace it with something which isn’t to act as a permanent drive for the server.

    Thank you for your help :)