SMART error each hour for a SSD, due to "unreadable (pending) sectors"

2021-05-04 Thread Omer Zak
I have a laptop with a 1TB SSD.
The smartd daemon logs an error each hour as follows:
-=-=-=->
Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors

Device info:
CT1000MX500SSD4, S/N:2027E2B39329, WWN:5-00a075-1e2b39329, FW:M3CR023,
1.00 TB

For details see host's SYSLOG.
-=-=-=->

When I run: sudo smartctl /dev/sda -a
I get a lot of information which I do not understand its implications.
However, the device has SMART capability but it is not in smartctl
database and:
-=-=-=->
SMART overall-health self-assessment test result: PASSED
-=-=-=->

When I run: sudo egrep /dev/sda /var/log/syslog
I get:
-=-=-=->
May  4 00:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], No more
currently unreadable (pending) sectors, warning condition reset after 1
email
May  4 00:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 
194 Temperature_Celsius changed from 56 to 62
May  4 00:32:36 c5 smartd[1014]: Device: /dev/sda [SAT], 1 Currently unreadable 
(pending) sectors
May  4 00:32:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 
194 Temperature_Celsius changed from 62 to 59
May  4 01:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], No more Currently 
unreadable (pending) sectors, warning condition reset after 1 email
May  4 01:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 
194 Temperature_Celsius changed from 59 to 64
May  4 01:32:37 c5 smartd[1014]: Device: /dev/sda [SAT], 1 Currently unreadable 
(pending) sectors
May  4 01:32:37 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 
194 Temperature_Celsius changed from 64 to 59
-=-=-=->
and the above repeats each hour.

The laptop seems to work OK with no data loss or such.
However I'd like to understand what is going on and if possible how to
get rid of the warnings.

One more fact which may have bearing: few months ago, had the laptop's
256GB SSD replaced by a 1TB SSD.

Any suggestions how can I troubleshoot it?
Any additional information I should look at?

Thanks,
--- Omer Zak



-- 
My Commodore 64 is suffering from slowness and insufficiency of memory;
and its display device is grievously short of pixels.  Can anyone help?
My own blog is at https://tddpirate.zak.co.il/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which I may be affiliated in any way.
WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


UGLY OFFTOPIC (Re: Fwd: Weird 'free' output)

2021-05-04 Thread Omer Zak
May I suggest that Diego Iastrubni be removed from this mailing list
due to potential future disruption of public peace by asking for
removal of people, who have been framed by powerful business
competitors?

--- Omer Zak


On Tue, 2021-05-04 at 22:06 +0300, Shay Gover wrote:
> Please do not assume that you can speak for the community based on an
> article at Ynet.
> There is no verdict in that case, not even a complaint (Checked on
> Nevo now). Just a rumor and someone wealthy enough to post it on
> Ynet. 
> 
> 
> -- Forwarded message -
> From: Ori Idan 
> Date: Tue, May 4, 2021 at 9:49 PM
> Subject: Re: Weird 'free' output
> To: Diego Iastrubni 
> Cc: IGLU Mailing list 
> 
> 
> Sorry, I am not a convicted criminal.
> If you believe what is written in Yediot, that is your problem.
> 
> -- 
> Ori Idan CEO Helicon Books
> http://www.heliconbooks.com
> 
> 
> 
> 
> 
> On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni 
> wrote:
> > Ori,
> > 
> > You are not welcome here. Please unsubscribe. 
> > 
> > Admins - please remove this convicted criminal from this list. This
> > man is a stain on our community. 
> > 
> > 
> > 
> > On Tue, May 4, 2021, 7:53 PM Ori Idan  wrote:
> > > Note that Linux tries to use available memory for cache, that is
> > > why free memory seems small.
-- 
Philip Machanick: "caution: if you write code like this, immediately
after you are fired the person assigned to maintaining your code after
you leave will resign"
My own blog is at https://tddpirate.zak.co.il/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which I may be affiliated in any way.
WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Fwd: Weird 'free' output

2021-05-04 Thread Shay Gover
Please do not assume that you can speak for the community based on an
article at Ynet.
There is no verdict in that case, not even a complaint (Checked on Nevo
now). Just a rumor and someone wealthy enough to post it on Ynet.


-- Forwarded message -
From: Ori Idan 
Date: Tue, May 4, 2021 at 9:49 PM
Subject: Re: Weird 'free' output
To: Diego Iastrubni 
Cc: IGLU Mailing list 


Sorry, I am not a convicted criminal.
If you believe what is written in Yediot, that is your problem.

-- 
Ori Idan CEO Helicon Books
http://www.heliconbooks.com





On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni  wrote:

> Ori,
>
> You are not welcome here. Please unsubscribe.
>
> Admins - please remove this convicted criminal from this list. This man is
> a stain on our community.
>
>
>
> On Tue, May 4, 2021, 7:53 PM Ori Idan  wrote:
>
>> Note that Linux tries to use available memory for cache, that is why free
>> memory seems small.
>>
>> --
>> Ori Idan CEO Helicon Books
>> http://www.heliconbooks.com
>>
>>
>>
>>
>>
>> On Tue, May 4, 2021 at 2:48 PM linux.il  wrote:
>>
>>> Omer, thank you!
>>> Is it related to the "Inactive" count from /proc/meminfo?
>>> I used to think that available=free+cache+buffers...
>>>
>>> On Tue, May 4, 2021 at 1:19 PM Omer Zak  wrote:
>>>
 From man free:

 available
   Estimation of how much memory is available for starting
 new applications, without swapping. Unlike the data provided  by
   the  cache  or free fields, this field takes into account
 page cache and also that not all reclaimable memory slabs will
   be reclaimed due to items being in use (MemAvailable in
 /proc/meminfo, available on kernels 3.14,  emulated  on  kernels
   2.6.27+, otherwise the same as free)



 On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
 > "Available" output seems weird, or I'm missing something?
 > Any ideas?
 >
 > TIA, Vitaly
 >
 > free -m
 >   totalusedfree  shared  buff/cache
 > available
 > Mem:  31654   29883 937   1 832
 > 27675
 > Swap: 0   0   0


 --
 "Prior to capitalism, the way people amassed great wealth was by
 looting, plundering and enslaving their fellow man. Capitalism made it
 possible to become wealthy by serving your fellow man." - Walter E.
 Williams
 My own blog is at https://tddpirate.zak.co.il/

 My opinions, as expressed in this E-mail message, are mine alone.
 They do not represent the official policy of any organization with
 which I may be affiliated in any way.
 WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html




 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

>>> ___
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
> ___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Weird 'free' output

2021-05-04 Thread Ori Idan
Sorry, I am not a convicted criminal.
If you believe what is written in Yediot, that is your problem.

-- 
Ori Idan CEO Helicon Books
http://www.heliconbooks.com





On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni  wrote:

> Ori,
>
> You are not welcome here. Please unsubscribe.
>
> Admins - please remove this convicted criminal from this list. This man is
> a stain on our community.
>
>
>
> On Tue, May 4, 2021, 7:53 PM Ori Idan  wrote:
>
>> Note that Linux tries to use available memory for cache, that is why free
>> memory seems small.
>>
>> --
>> Ori Idan CEO Helicon Books
>> http://www.heliconbooks.com
>>
>>
>>
>>
>>
>> On Tue, May 4, 2021 at 2:48 PM linux.il  wrote:
>>
>>> Omer, thank you!
>>> Is it related to the "Inactive" count from /proc/meminfo?
>>> I used to think that available=free+cache+buffers...
>>>
>>> On Tue, May 4, 2021 at 1:19 PM Omer Zak  wrote:
>>>
 From man free:

 available
   Estimation of how much memory is available for starting
 new applications, without swapping. Unlike the data provided  by
   the  cache  or free fields, this field takes into account
 page cache and also that not all reclaimable memory slabs will
   be reclaimed due to items being in use (MemAvailable in
 /proc/meminfo, available on kernels 3.14,  emulated  on  kernels
   2.6.27+, otherwise the same as free)



 On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
 > "Available" output seems weird, or I'm missing something?
 > Any ideas?
 >
 > TIA, Vitaly
 >
 > free -m
 >   totalusedfree  shared  buff/cache
 > available
 > Mem:  31654   29883 937   1 832
 > 27675
 > Swap: 0   0   0


 --
 "Prior to capitalism, the way people amassed great wealth was by
 looting, plundering and enslaving their fellow man. Capitalism made it
 possible to become wealthy by serving your fellow man." - Walter E.
 Williams
 My own blog is at https://tddpirate.zak.co.il/

 My opinions, as expressed in this E-mail message, are mine alone.
 They do not represent the official policy of any organization with
 which I may be affiliated in any way.
 WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html




 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

>>> ___
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


odd alert nvme error "The transport type is not indicated or the error is not transport related"

2021-05-04 Thread borissh1983
Hi, 

I'm struggling to get what could mean this odd "The transport type is not 
indicated or the error is not transport related" error inside nvme error-log 
which is filling my error log.
I also get smart warning of increasing num_err_log_entries , it look like it 
could correspond to one error for each boot but I do not grasp what could that 
mean.

I don't see any noticeable problems for now other than this alert. 

output form error-log have errors like this  : 
sudo nvme error-log /dev/nvme0

. 
Entry[63]
. 
error_count : 0 
sqid: 0 
cmdid   : 0 
status_field: 0(SUCCESS: The command completed successfully) 
parm_err_loc: 0 
lba : 0 
nsid: 0 
vs  : 0 
trtype  : The transport type is not indicated or the error is not 
transport related. 
cs  : 0 
trtype_spec_info: 0 
.


This type of error is the same and fill each error entry.

my smart log for it is : 


sudo nvme smart-log /dev/nvme0  
Smart Log for NVME device:nvme0 namespace-id: 
critical_warning: 0 
temperature : 41 C 
available_spare : 100% 
available_spare_threshold   : 10% 
percentage_used : 1% 
endurance group critical warning summary: 0 
data_units_read : 20,408,448 
data_units_written  : 15,672,597 
host_read_commands  : 165,820,725 
host_write_commands : 197,378,842 
controller_busy_time: 963 
power_cycles: 1,666 
power_on_hours  : 1,865 
unsafe_shutdowns: 135 
media_errors: 0 
num_err_log_entries : 967 
Warning Temperature Time: 0 
Critical Composite Temperature Time : 0 
Temperature Sensor 1   : 41 C 
Temperature Sensor 2   : 59 C 
Thermal Management T1 Trans Count   : 0 
Thermal Management T2 Trans Count   : 0 
Thermal Management T1 Total Time: 0 
Thermal Management T2 Total Time: 0
sudo nvme list 
Node SN   Model
Namespace Usage  Format   FW Rev   
   
- --   
/dev/nvme0n1 XXX   SAMSUNG MZVLB512HAJQ-000L7   
1 398.24  GB / 512.11  GB512   B +  0 B   5L2QEXA7


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Weird 'free' output

2021-05-04 Thread Ori Idan
Note that Linux tries to use available memory for cache, that is why free
memory seems small.

-- 
Ori Idan CEO Helicon Books
http://www.heliconbooks.com





On Tue, May 4, 2021 at 2:48 PM linux.il  wrote:

> Omer, thank you!
> Is it related to the "Inactive" count from /proc/meminfo?
> I used to think that available=free+cache+buffers...
>
> On Tue, May 4, 2021 at 1:19 PM Omer Zak  wrote:
>
>> From man free:
>>
>> available
>>   Estimation of how much memory is available for starting
>> new applications, without swapping. Unlike the data provided  by
>>   the  cache  or free fields, this field takes into account
>> page cache and also that not all reclaimable memory slabs will
>>   be reclaimed due to items being in use (MemAvailable in
>> /proc/meminfo, available on kernels 3.14,  emulated  on  kernels
>>   2.6.27+, otherwise the same as free)
>>
>>
>>
>> On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
>> > "Available" output seems weird, or I'm missing something?
>> > Any ideas?
>> >
>> > TIA, Vitaly
>> >
>> > free -m
>> >   totalusedfree  shared  buff/cache
>> > available
>> > Mem:  31654   29883 937   1 832
>> > 27675
>> > Swap: 0   0   0
>>
>>
>> --
>> "Prior to capitalism, the way people amassed great wealth was by
>> looting, plundering and enslaving their fellow man. Capitalism made it
>> possible to become wealthy by serving your fellow man." - Walter E.
>> Williams
>> My own blog is at https://tddpirate.zak.co.il/
>>
>> My opinions, as expressed in this E-mail message, are mine alone.
>> They do not represent the official policy of any organization with
>> which I may be affiliated in any way.
>> WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html
>>
>>
>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Weird 'free' output

2021-05-04 Thread linux.il
Omer, thank you!
Is it related to the "Inactive" count from /proc/meminfo?
I used to think that available=free+cache+buffers...

On Tue, May 4, 2021 at 1:19 PM Omer Zak  wrote:

> From man free:
>
> available
>   Estimation of how much memory is available for starting
> new applications, without swapping. Unlike the data provided  by
>   the  cache  or free fields, this field takes into account
> page cache and also that not all reclaimable memory slabs will
>   be reclaimed due to items being in use (MemAvailable in
> /proc/meminfo, available on kernels 3.14,  emulated  on  kernels
>   2.6.27+, otherwise the same as free)
>
>
>
> On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
> > "Available" output seems weird, or I'm missing something?
> > Any ideas?
> >
> > TIA, Vitaly
> >
> > free -m
> >   totalusedfree  shared  buff/cache
> > available
> > Mem:  31654   29883 937   1 832
> > 27675
> > Swap: 0   0   0
>
>
> --
> "Prior to capitalism, the way people amassed great wealth was by
> looting, plundering and enslaving their fellow man. Capitalism made it
> possible to become wealthy by serving your fellow man." - Walter E.
> Williams
> My own blog is at https://tddpirate.zak.co.il/
>
> My opinions, as expressed in this E-mail message, are mine alone.
> They do not represent the official policy of any organization with
> which I may be affiliated in any way.
> WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html
>
>
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Weird 'free' output

2021-05-04 Thread Omer Zak
>From man free:

available
  Estimation of how much memory is available for starting
new applications, without swapping. Unlike the data provided  by
  the  cache  or free fields, this field takes into account
page cache and also that not all reclaimable memory slabs will
  be reclaimed due to items being in use (MemAvailable in
/proc/meminfo, available on kernels 3.14,  emulated  on  kernels
  2.6.27+, otherwise the same as free)



On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
> "Available" output seems weird, or I'm missing something?
> Any ideas?
> 
> TIA, Vitaly
> 
> free -m
>   totalusedfree  shared  buff/cache  
> available
> Mem:  31654   29883 937   1 832  
> 27675
> Swap: 0   0   0


-- 
"Prior to capitalism, the way people amassed great wealth was by
looting, plundering and enslaving their fellow man. Capitalism made it
possible to become wealthy by serving your fellow man." - Walter E.
Williams
My own blog is at https://tddpirate.zak.co.il/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which I may be affiliated in any way.
WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Weird 'free' output

2021-05-04 Thread linux.il
"Available" output seems weird, or I'm missing something?
Any ideas?

TIA, Vitaly

free -m
  totalusedfree  shared  buff/cache
available
Mem:  31654   29883 937   1 832
27675
Swap: 0   0   0
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il