Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] External hard drive and idle activity
Date: Thu, 02 Jan 2020 02:27:45
Message-Id: e8521ea0-56d9-0b9d-d43e-3662126008d8@gmail.com
In Reply to: Re: [gentoo-user] External hard drive and idle activity by Mick
1 Mick wrote:
2 > On Thursday, 2 January 2020 00:09:14 GMT Dale wrote:
3 >> Howdy,
4 >>
5 >> As some may recall, I have a 8TB external SATA hard drive that I do back
6 >> ups on. Usually, I back up once a day, more often if needed. Usually I
7 >> turn the power on, mount it, do the back ups, unmount and turn the power
8 >> back off. Usually it is powered up for 5 minutes or so. When I unmount
9 >> it tho, I sometimes notice it is still doing something. I can feel the
10 >> mechanism for the heads moving. It has a slight vibration to it.
11 >> Questions are, what is it doing and should I let it finish before
12 >> powering it off? I'd assume that once it in unmounted, the copy process
13 >> is done so the files are safe. I guess it is doing some sort of
14 >> internal checks or something but I'm not sure.
15 > There is some delay with data still in the buffers between rsync/cp/tar/what-
16 > ever saying it's finished on your terminal and the drive itself finishing
17 > storing the data on the platters.
18 >
19 > If you look at vmstat, or keep an eye on Gkrelm you'll see what I mean.
20 > Normally, if you try to unmount a drive while it is still being written to,
21 > the umount/udisks command will complain the drive is busy.
22 >
23
24 When it does it for a somewhat short period of time, I can understand
25 that.  It's one reason I try to leave it on when it "feels" that it is
26 still busy.  Thing is, there are times when it goes on for 30 minutes or
27 more.  At those times, even a USB stick should be done.  One would think
28 at least.  It makes me curious as to what it is doing in that case. 
29 Still, I'd rather the unmount command force a wait until it is done. 
30 Honestly, I wouldn't want a drive or software that says something is
31 done when it isn't.  It's not good even when shutting a system down. 
32 Given the speed of drives, I would think a few seconds at most.  Best to
33 be safe.  ;-)  I just wonder, is it doing two different things?  One
34 when it is busy for short periods of time and something else when it
35 goes on for a while.  This is what sort of puzzles me.  Selftest maybe??
36
37 >> Is it safe to turn it off even tho it is doing whatever it is doing?
38 >> Should I wait? Does it matter?
39 >>
40 >> Thanks.
41 >>
42 >> Dale
43 >>
44 >> :-) :-)
45 > If you wait for a few seconds after the backup is completed before you unmount
46 > the drive, you should be OK. Although it may slow down or any LEDs flash less
47 > frequently the drive may not stop spinning, unless there is some power save
48 > process taking control of it.
49 >
50
51 Given the speed, it is likely done when I tell the KDE thingy to
52 unmount.  Usually, I start the backup and walk away for a few minutes. 
53 I do it with one of my scripts, if one can call what I do a script, and
54 it does the date command at the end.  Even if there was a lot of
55 changes, I can tell how long it was completed.  I try to give it a
56 couple minutes.  Still, good point.  This is one reason I'm asking about
57 this.  It's hard to know exactly what is going on here. 
58
59 >> P. S. Down to last router that was discussed in another thread so I
60 >> bought it while they had it. Price may go up if I didn't. Did more
61 >> research on old modem, it is risky to try to convert to AT&T. Some say
62 >> not possible.
63 > Right, ISP controlled firmware typically requires re-flashing the device with
64 > the new ISP's firmware version. In some cases even the boot code needs
65 > replacing. Should you flash the router with a wrong firmware build, you could
66 > sometimes derive a door stop without additional cost. In this case you'll
67 > need a JTAG and access to its circuit board with an OEM boot/firmware version
68 > to recover it. In most cases OEMs support lines will redirect you to your
69 > ISP, who run an overseas support line and will ask you to reboot your
70 > MSWindows PC ... O_o
71 >
72 > This is a reason I avoid these kind of routers as much as I can.
73 >
74
75 Keep in mind, two pieces of hardware.  Router for the first two
76 sentences and Modem for next two.  Tried to be short so . . . . Anyway,
77 router should be flashable with Openwrt.  It's a slightly older model. 
78 New model may be ready for flashing in a year or two but not so much at
79 the moment so I went with the older model. The modem, I never could find
80 the firmware.  I found links to it but those links ended up being dead. 
81 Even if I had it, it was unlikely to work.  Possible but I'd be
82 concerned about its stability and such even if it did take it. I have a
83 modem and router on the way.  I just didn't want to miss the deal on the
84 router.  They had several a couple weeks or so ago.  I got the last
85 one.  Waiting for their arrival. 
86
87 Dale
88
89 :-)  :-)
90
91 Oh, I may post and see if anyone needs a Frontier modem later.  Maybe
92 someone on here could use a spare or just needs one period, moving or
93 something.  Modem is wireless with a router as well.  Nice modem I guess. 

Replies

Subject Author
Re: [gentoo-user] External hard drive and idle activity Bill Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] External hard drive and idle activity Neil Bothwick <neil@××××××××××.uk>