Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196676 > unrolled thread

Sata health

Started byGene Heskett <gheskett@shentel.net>
First post2018-06-14 17:30 +0200
Last post2018-06-14 23:50 +0200
Articles 9 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Sata health Gene Heskett <gheskett@shentel.net> - 2018-06-14 17:30 +0200
    Re: Sata health Dan Ritter <dsr@randomstring.org> - 2018-06-14 18:00 +0200
      Re: Sata health Gene Heskett <gheskett@shentel.net> - 2018-06-14 18:40 +0200
        Re: Sata health Dan Ritter <dsr@randomstring.org> - 2018-06-14 18:50 +0200
          Re: Sata health Larry <lotek07@gmail.com> - 2018-06-15 03:40 +0200
        Re: Sata health Richard Hector <richard@walnut.gen.nz> - 2018-06-14 20:30 +0200
          Re: Sata health Gene Heskett <gheskett@shentel.net> - 2018-06-14 23:10 +0200
            Re: Sata health deloptes <deloptes@gmail.com> - 2018-06-14 23:40 +0200
              Re: Sata health Gene Heskett <gheskett@shentel.net> - 2018-06-14 23:50 +0200

#196676 — Sata health

FromGene Heskett <gheskett@shentel.net>
Date2018-06-14 17:30 +0200
SubjectSata health
Message-ID<w0Cme-4aQ-15@gated-at.bofh.it>
Greetings all;

Does wheezy have a utility that can scan the sata bus, reporting on the 
health of the hardware, doing it in such a way as to not trigger an 
endless loop of resets for a device that may not have a good 
interconnecting cable? 

I have a hot swap cage, 3 drive model, and the central pocket is still 
not properly responding even with a new cable between it and the mobo's 
array of sockets.  As far as I know, there are no "active" devices in 
this data path. Being able to scan for proper function might give a clue 
where the problem lies.

I'm going to shut down and replace that cable again. Thats a cast iron 
bitch as the cages rear connectors have to be accessed from the 
motherboard side of this 27" tall tower, but I need to find the fault.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [next] | [standalone]


#196681

FromDan Ritter <dsr@randomstring.org>
Date2018-06-14 18:00 +0200
Message-ID<w0CPf-4la-3@gated-at.bofh.it>
In reply to#196676
On Thu, Jun 14, 2018 at 11:20:29AM -0400, Gene Heskett wrote:
> Greetings all;
> 
> Does wheezy have a utility that can scan the sata bus, reporting on the 
> health of the hardware, doing it in such a way as to not trigger an 
> endless loop of resets for a device that may not have a good 
> interconnecting cable? 
> 
> I have a hot swap cage, 3 drive model, and the central pocket is still 
> not properly responding even with a new cable between it and the mobo's 
> array of sockets.  As far as I know, there are no "active" devices in 
> this data path. Being able to scan for proper function might give a clue 
> where the problem lies.

smartmontools is the package; it has smartd and smartctl. Smartd
looks for SMART error codes, and smartctl can identify drives, 
show current SMART tables, and start and report on drive
self-tests.

-dsr-

[toc] | [prev] | [next] | [standalone]


#196682

FromGene Heskett <gheskett@shentel.net>
Date2018-06-14 18:40 +0200
Message-ID<w0DrX-4N4-7@gated-at.bofh.it>
In reply to#196681
On Thursday 14 June 2018 11:58:40 Dan Ritter wrote:

> On Thu, Jun 14, 2018 at 11:20:29AM -0400, Gene Heskett wrote:
> > Greetings all;
> >
> > Does wheezy have a utility that can scan the sata bus, reporting on
> > the health of the hardware, doing it in such a way as to not trigger
> > an endless loop of resets for a device that may not have a good
> > interconnecting cable?
> >
> > I have a hot swap cage, 3 drive model, and the central pocket is
> > still not properly responding even with a new cable between it and
> > the mobo's array of sockets.  As far as I know, there are no
> > "active" devices in this data path. Being able to scan for proper
> > function might give a clue where the problem lies.
>
> smartmontools is the package; it has smartd and smartctl. Smartd
> looks for SMART error codes, and smartctl can identify drives,
> show current SMART tables, and start and report on drive
> self-tests.
>
> -dsr-

smartctl I have used many time. smartd hasn't shown up on my radar. 
However about 6 reboots later, and yet another new cable installed, the 
drive is as happy as a clam in pocket 2 of the cage. It was indeed a bad 
new cable.

So thats progress, now if I could just get apt to refresh its repo 
listings.  That too is a question asked somewhere above. And since I'm 
running dd-wrt in my router, I am convinced its related the the name 
change, and dd-wrt doesn't have a clue what enp**0 is thats trying to 
hack its way out to the net.  Funny part is that firefox goes anyplace I 
point it at.

Why the heck did they change the network devices name?????  A change just 
to placate someones ego, is a major PITA for the users who have to deal 
with the fallout...

It would be nice to have email working on the new install, but for that 
to happen, the apt package manager must have free reign of the planet so 
I can install TDE, then copy my 28GB email corpus and all the helpers 
over to the new drive.

Thanks Dan.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#196683

FromDan Ritter <dsr@randomstring.org>
Date2018-06-14 18:50 +0200
Message-ID<w0DBD-4Qr-1@gated-at.bofh.it>
In reply to#196682
On Thu, Jun 14, 2018 at 12:30:43PM -0400, Gene Heskett wrote:
> On Thursday 14 June 2018 11:58:40 Dan Ritter wrote:
> 
> So thats progress, now if I could just get apt to refresh its repo 
> listings.  That too is a question asked somewhere above. And since I'm 
> running dd-wrt in my router, I am convinced its related the the name 
> change, and dd-wrt doesn't have a clue what enp**0 is thats trying to 
> hack its way out to the net.  Funny part is that firefox goes anyplace I 
> point it at.
> 
> Why the heck did they change the network devices name?????  A change just 
> to placate someones ego, is a major PITA for the users who have to deal 
> with the fallout...

Change it back.

Find your kernel command line -- probably in /etc/default/grub -- and add:

net.ifnames=0 biosdevname=0

to GRUB_CMDLINE_LINUX

update-grub and reboot.

-dsr-

[toc] | [prev] | [next] | [standalone]


#196693

FromLarry <lotek07@gmail.com>
Date2018-06-15 03:40 +0200
Message-ID<w0LSy-1tJ-3@gated-at.bofh.it>
In reply to#196683
On 06/14/2018 09:48 AM, Dan Ritter wrote:
> On Thu, Jun 14, 2018 at 12:30:43PM -0400, Gene Heskett wrote:
>> On Thursday 14 June 2018 11:58:40 Dan Ritter wrote:
>>
>> So thats progress, now if I could just get apt to refresh its repo
>> listings.  That too is a question asked somewhere above. And since I'm
>> running dd-wrt in my router, I am convinced its related the the name
>> change, and dd-wrt doesn't have a clue what enp**0 is thats trying to
>> hack its way out to the net.  Funny part is that firefox goes anyplace I
>> point it at.
>>
>> Why the heck did they change the network devices name?????  A change just
>> to placate someones ego, is a major PITA for the users who have to deal
>> with the fallout...
> 
> Change it back.
> 
> Find your kernel command line -- probably in /etc/default/grub -- and add:
> 
> net.ifnames=0 biosdevname=0
> 
> to GRUB_CMDLINE_LINUX
> 
> update-grub and reboot.
> 
> -dsr-

I've been using eno1 for a couple of years thinking it was the new 
computer.  So after some reading I followed your instructions and added 
"net.ifnames=0" to grub, "biosdevname=0" wasn't needed.  Then changed 
eno1 to eth0 in "/etc/network/interfaces" and rebooted.  It's nice to 
see things looking normal again!

THANKS!!!

[toc] | [prev] | [next] | [standalone]


#196687

FromRichard Hector <richard@walnut.gen.nz>
Date2018-06-14 20:30 +0200
Message-ID<w0Fap-5SE-3@gated-at.bofh.it>
In reply to#196682

[Multipart message — attachments visible in raw view] — view raw

On 15/06/18 04:30, Gene Heskett wrote:
> So thats progress, now if I could just get apt to refresh its repo 
> listings.  That too is a question asked somewhere above. And since I'm 
> running dd-wrt in my router, I am convinced its related the the name 
> change, and dd-wrt doesn't have a clue what enp**0 is thats trying to 
> hack its way out to the net.  Funny part is that firefox goes anyplace I 
> point it at.

Why would your router care what another machine calls its network
interface? It doesn't even care what operating system it's running. Or
is it interface names on dd-wrt you're talking about?

Richard

[toc] | [prev] | [next] | [standalone]


#196690

FromGene Heskett <gheskett@shentel.net>
Date2018-06-14 23:10 +0200
Message-ID<w0HFg-7vW-7@gated-at.bofh.it>
In reply to#196687
On Thursday 14 June 2018 14:28:19 Richard Hector wrote:

> On 15/06/18 04:30, Gene Heskett wrote:
> > So thats progress, now if I could just get apt to refresh its repo
> > listings.  That too is a question asked somewhere above. And since
> > I'm running dd-wrt in my router, I am convinced its related the the
> > name change, and dd-wrt doesn't have a clue what enp**0 is thats
> > trying to hack its way out to the net.  Funny part is that firefox
> > goes anyplace I point it at.
>
> Why would your router care what another machine calls its network
> interface? It doesn't even care what operating system it's running. Or
> is it interface names on dd-wrt you're talking about?
>
> Richard

Nope. Nothing has been changed there except the location of the new 
drive, after a 2nd new cable to the cage everything is happy from about 
3 hours worth of upgrading, and copying the data from my home tree to 
the new drive. mc was reporting up to 190 megs a second for some of the 
bigger files, which is pretty good for spinning rust and a 10 yo 
motherboard.

This time neither apt nor synaptic had any problem refreshing the repo 
lists, both Just Worked! Go figure, but I'm not going to look this gift 
horse in the mouth. So whatever it was has fixed itself.

Now I have to see if I have the correct keys for trinity access, synaptic 
didn't seem to think so. I changed just the "wheezy" for "stretch" in 
the  deb line, and I didn't think that would change the key. But it 
appears it has.

Get that sorted, then get it installed, and copy the email corpus across 
and I'll be at least half way home. Then build a new copy of the amanda 
server and install that, along with its crontab commands.

But now its dinner time, and I've got to see what I have that both fits 
in the skillet, and suits my sickly (COPD) lady. Tomorrow is another 
day.

Thanks Richard.
-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#196691

Fromdeloptes <deloptes@gmail.com>
Date2018-06-14 23:40 +0200
Message-ID<w0I8i-7GA-29@gated-at.bofh.it>
In reply to#196690
Gene Heskett wrote:

> Now I have to see if I have the correct keys for trinity access, synaptic
> didn't seem to think so. I changed just the "wheezy" for "stretch" in
> the  deb line, and I didn't think that would change the key. But it
> appears it has.

better you read the upgrade notes - there are good advices in them - one is
how to install the keys - actually the whole procedure

regards

[toc] | [prev] | [next] | [standalone]


#196692

FromGene Heskett <gheskett@shentel.net>
Date2018-06-14 23:50 +0200
Message-ID<w0IhX-7K4-3@gated-at.bofh.it>
In reply to#196691
On Thursday 14 June 2018 17:29:49 deloptes wrote:

> Gene Heskett wrote:
> > Now I have to see if I have the correct keys for trinity access,
> > synaptic didn't seem to think so. I changed just the "wheezy" for
> > "stretch" in the  deb line, and I didn't think that would change the
> > key. But it appears it has.
>
> better you read the upgrade notes - there are good advices in them -
> one is how to install the keys - actually the whole procedure
>
> regards

I haven't had a chance to read them yet, but I just pulled them down on 
the new drive. Its on my todo list. Probably after I put it on dead 
tree.

Thanks Deloptes.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web