Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] External hard drive and idle activity
Date: Thu, 02 Jan 2020 13:12:32
Message-Id: CAHH9eM60TRJwjphBx6CASoq4fd=HKiO9+2fXqN4J1t8=MZ6rcg@mail.gmail.com
In Reply to: Re: [gentoo-user] External hard drive and idle activity by Dale
1 Em qui., 2 de jan. de 2020 às 07:49, Dale <rdalek1967@×××××.com> escreveu:
2
3 > Neil Bothwick wrote:
4 > > On Wed, 1 Jan 2020 20:27:34 -0600, Dale wrote:
5 > >
6 > >>> If you wait for a few seconds after the backup is completed before
7 > >>> you unmount the drive, you should be OK. Although it may slow down
8 > >>> or any LEDs flash less frequently the drive may not stop spinning,
9 > >>> unless there is some power save process taking control of it.
10 > >>>
11 > >> Given the speed, it is likely done when I tell the KDE thingy to
12 > >> unmount. Usually, I start the backup and walk away for a few minutes.
13 > >> I do it with one of my scripts, if one can call what I do a script, and
14 > >> it does the date command at the end.
15 > > Add a sync command to the end of the script to make sure all filesystem
16 > > buffers are flushed to disk before it finishes.
17 > >
18 > >
19 >
20 > Now there's a idea. Between the sync command and the unmount process,
21 > it should be safe for sure. You made good use of those brain cells.
22 > lol I didn't think of that and I don't recall anyone else thinking of
23 > it either. Still wonder what the heck it is doing sometimes tho.
24 >
25 > Dale
26 >
27 > :-) :-)
28 >
29 >
30 Another thing to be considered is S.M.A.R.T. activity, that is proper to
31 the hard drive firmware. Don't know if it is safe or not to power it down
32 during that process though. I would wait until it really finishes all
33 activity.
34
35 But do you really need to power it down? Mechanic (magnetic) hard drives
36 are known to have shorter lives if they are turned on and off frequently.
37 My desk computer is rarely turned off, I have 4 hard drives, the oldest is
38 close to 10 years old and SMART diagnostics are always good.
39
40 Best regards,
41 Francisco

Replies

Subject Author
Re: [gentoo-user] External hard drive and idle activity Dale <rdalek1967@×××××.com>