LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-08-2022, 12:00 AM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
Should I unmount the usb at the end of the day or leave it and switch off pc?


Should I unmount the usb at the end of the day or leave it and switch off pc?

Debian 11
 
Old 03-08-2022, 12:05 AM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973

Rep: Reputation: 271Reputation: 271Reputation: 271
I would unmount a removeable drive. I haven't turned my computer off in years.
 
Old 03-08-2022, 12:10 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
you can safely switch off your pc, it will umount automatically during a regular shutdown.
 
1 members found this post helpful.
Old 03-08-2022, 10:58 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The usb stick will be unmounted by a shut-down, but the usb port it's pluged into will still be live. Whether that's a bad thing or not I simply don't know.
 
Old 03-08-2022, 04:31 PM   #5
larstrier
Member
 
Registered: Dec 2019
Distribution: Debian
Posts: 97

Rep: Reputation: 24
Quote:
Originally Posted by linux-man View Post
Should I unmount the usb at the end of the day or leave it and switch off pc
I bought an expensive microwave. So I wanted to know the main reason it breaks down.
Turns out the microwave dies because the family slams the door shut. (The door gets rickety and the electric connection is lost).
But the main reason a microwave dies is because its left on all the time. The circuit board fries.

With a USB flash drive unmount it early.
The SSD of the USB flashdrive will last forever. But not the circuit board it exists on.
Over time, the circuit board of the USB flashdrive will fry.
 
Old 03-08-2022, 05:00 PM   #6
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
Good practice is to unmount removable drives from USB ports. Occasionally I forget one once in a while though and have not burned anything yet.
 
Old 03-08-2022, 05:33 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,763

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Quote:
The SSD of the USB flashdrive will last forever. But not the circuit board it exists on.
Over time, the circuit board of the USB flashdrive will fry.
I am sure there will be lots of members that question your opinion or theory. Technically its a component on the circuit board that will fail and not the board itself. Flash memory has a limited number of writes and can one can easily write a loop to wear it out long before that board fails. Some of the most common causes of board failure are age, heat or electrical stress.
 
Old 03-08-2022, 08:07 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
I have several external USB drives that I use pretty much as permanent drives. One or two of them are over a decade old.

I never unmount a USB drive unless I plan to physically remove it and have never had an issue.
 
Old 03-08-2022, 09:43 PM   #9
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
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: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
I have several external USB drives that I use pretty much as permanent drives. One or two of them are over a decade old.

I never unmount a USB drive unless I plan to physically remove it and have never had an issue.
During that decade did you mostly have the computer on or off at the end of the day?
 
Old 03-08-2022, 09:46 PM   #10
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
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: Reputation: Disabled
shutting down a computer you still end up with live ports?

Quote:
Originally Posted by DavidMcCann View Post
The usb stick will be unmounted by a shut-down, but the usb port it's pluged into will still be live. Whether that's a bad thing or not I simply don't know.
If the computer has been shut down, how can the usb port be still live?
 
Old 03-08-2022, 10:35 PM   #11
breaker
Member
 
Registered: Mar 2022
Distribution: Slackware 15.0
Posts: 87

Rep: Reputation: 29
Fry? https://www.usbmakers.com/how-does-a...ats-inside-it/

USB flash drives are just another type of electronic circuit, with a controller, etc. Just get a quality one, and back up your data, nothing lasts forever.

No,you don't have to unmount it. Normally random programs don't access it, so it could be left in all the time.

I've know system admins to run a virtual machine off a USB stick on a bare metal hypervisor that runs and entire classroom of computers dual booting Windows and MacOS. He wasn't worried about frying.
 
Old 03-08-2022, 11:16 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by DavidMcCann View Post
The usb stick will be unmounted by a shut-down, but the usb port it's pluged into will still be live.
This is not true on all 3 of my machines: a standard PC minitower, a "mindesktop" type PC, and a mostly Intel laptop.
 
Old 03-08-2022, 11:26 PM   #13
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973

Rep: Reputation: 271Reputation: 271Reputation: 271
I unmount USB drives because I use them elsewhere, may forget to unmount them when I remove them.
I also run updatedb every hour, don't want USB drives to be included - but I could remedy that in /etc/updatedb.conf.

The guy who wrote the last hardware columns for Dr Dobbs reported on a project that used a USB drive, updated the same variable every 6 seconds, burnt out that cell in relatively short time. This was before the load-leveling managers that equalized cell usage by separating the logical addresses from physical addresses.

Last edited by RandomTroll; 03-08-2022 at 11:36 PM.
 
Old 03-09-2022, 12:17 AM   #14
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
Quote:
Originally Posted by linux-man View Post
If the computer has been shut down, how can the usb port be still live?
the port remains powered. Obviously it depends on the actual hardware.
 
Old 03-09-2022, 05:50 PM   #15
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by linux-man View Post
If the computer has been shut down, how can the usb port be still live?
Some PCs & laptops keep power to certain ports for charging devices, etc. It totally depends on the manufacturer if the port remains live for power or not. AFAIK none are active electronically though.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown tumbleweed: failed to unmount /home; failed to unmount /var JZL240I-U Linux - Software 3 04-03-2017 07:23 AM
Missing unmount and unmount.cifs johnmccarthy Linux - Newbie 3 11-19-2011 07:01 AM
slackware 11.0 -- to leave or not to leave out the 2.4 kernel? aquilolumen Slackware - Installation 7 06-30-2007 07:12 PM
Leave it on or leave it off? admanb Linux - Hardware 4 03-08-2004 12:49 PM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration