[SOLVED] If an external drive is not mounted yet but has it's visible light on is it safe to just unplug it from a usb hub without clicking anything?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Rep:
If an external drive is not mounted yet but has it's visible light on is it safe to just unplug it from a usb hub without clicking anything?
If an external drive or a usb stick is not mounted yet but has it's visible light on is it safe to just to unplug it from a usb hub without clicking mount on the gui? At the bottom far lower right of my kde screen it says 'mount', but if I've changed my mind and want to just unplug it, is it safe to do so, instead of having to click mount then unmount.
It's connected to an unpowered usb hub i.e. gets it power from my computer. Thanks in advance.
To build on what jefro said, the reason for "safely remove" is to ensure that no files get damaged by a premature removal, say, if for example, a transfer or modification is taking place.
If the drive is not mounted, it doesn't need to unmounted; it can just be unplugged.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,506
Rep:
If its been plugged in but not mounted, yes, you can unplug it - but if it has been mounted, first make sure it is unmounted, which will write anything that may be in a write cache to disk first, otherwise you stand a chance of corrupting the file system on it.
Regardless of the operating system, always unmount an external drive before removing it, and wait for the process to complete. You simply cannot know what the system hasn't done yet.
As others have said, if it's currently unmounted it should be perfectly safe to just unplug it.
I don't know how KDE does things, but in my file browser any device plugged in, mounted or not, appears in a side panel. If I right-click on the icon, one option is "safely remove" and it confirms that it is safe — the "belt and braces" approach.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Original Poster
Rep:
Quote:
Originally Posted by sundialsvcs
Regardless of the operating system, always unmount an external drive before removing it, and wait for the process to complete. You simply cannot know what the system hasn't done yet.
In my case it hasn't been even mounted yet. I've plugged the external drive in and haven't mounted it yet and want to unplugg it as is. I see a light on the external drive.
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872
Original Poster
Rep:
Quote:
Originally Posted by DavidMcCann
I don't know how KDE does things, but in my file browser any device plugged in, mounted or not, appears in a side panel. If I right-click on the icon, one option is "safely remove" and it confirms that it is safe — the "belt and braces" approach.
For me to see the "safely remove" I would need to click mount first, then click "safely remove"
Unplug even if the light is lit on the external hdd and it's not mounted yet?
I think what everyone is saying is very simple.
If you verify it is not mounted then unplug it.
If you cannot readily verify it is not mounted then do not unplug it until you have done the steps to unmount it.
The idea is to protect your data on the device and only by verifying it is not mounted can you be 100% certain the data is safe.
The light does not tell you it is or is not mounted. On most pen drives it indicates power is available and may also blink to indicate activity.
"The light" on an external drive usually indicates only that power has been supplied. It then "blinks" (maybe ...(!)) when the drive is being accessed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.