You are Here:
Download Linux Lite 5.4 RC1 today - See Release Announcements



Bad sectors?

Author (Read 2921 times)

0 Members and 1 Guest are viewing this topic.

Bad sectors?
« on: October 08, 2018, 02:27:14 PM »
 

MS

  • I come here a lot
  • *****
  • 301
    Posts
  • Country: 00
  • Reputation: 14

  • Linux Lite: 4.6 64bit

  • Kernel: 4.x
The disks application tells me that a 250GB SSD drive that I have, has 100 bad sectors, apart from which being in an "OK" state. When I have particularly checked for bad sectors, attempted to check file system or repair file system - booting from a LiveUSB - it told me 100% is good. Quirk?
Last Edit: October 08, 2018, 03:19:07 PM by MS
 


Re: Bad sectors?
« Reply #1 on: October 08, 2018, 03:04:04 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1233
    Posts
  • Country: us
  • Reputation: 193
  • Linux Lite Member
    • dbts-analytics.com

  • Linux Lite: 5.0 64bit

  • CPU: AMD A8 5500 4 cores

  • MEMORY: 8Gb

  • VIDEO CARD: AMD/ATI Radeon HD 7560D

  • Kernel: 5.x
The file system will usually still be good with a few bad sectors because they have already been reallocated on the disk. Modern Linux file systems do this automatically. So yes, it is quite likely that a media channel launched file system check program would declare that the file system is fine, and on the other hand, the OS internal disk check will report the bad sectors even though they have already been reallocated, but also report that they have been reallocated if you know where to look, and because fsck runs at boot up anyway the file system is likely fine. In all honesty, however, it actually is fairly common for low-end SSDs to ship with already reallocated sectors on OEM Windows machines as they all have extra memory cells and the new Windows user would never know the difference anyway without add/on disk analysis peripheral software. Your post is neither a security issue nor a bug. Please move to the hardware section of the forum.

TC   
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Bad sectors?
« Reply #2 on: October 08, 2018, 03:21:13 PM »
 

MS

  • I come here a lot
  • *****
  • 301
    Posts
  • Country: 00
  • Reputation: 14

  • Linux Lite: 4.6 64bit

  • Kernel: 4.x
I have taken down the "bug" banner and I will remotely move the thread to another forum section if you tell me how-to, albeit when it comes to the system check, I was rather talking about the "badblocks" command running from LiveUSB. For the rest of your post, wut?

EDIT:

For the sake of precision, the disk is labeled as:

TOSHIBA THNSNK256GCS8 SATA 256GB (K8DC4101)
Last Edit: October 08, 2018, 03:26:28 PM by MS
 

Re: Bad sectors?
« Reply #3 on: October 11, 2018, 11:49:38 AM »
 

MS

  • I come here a lot
  • *****
  • 301
    Posts
  • Country: 00
  • Reputation: 14

  • Linux Lite: 4.6 64bit

  • Kernel: 4.x
I aim to run a destructive "badblocks" test from a LiveUSB, assumably via the commandline issue of:

Code: [Select]
badblocks -wsv
to try to see whether this would solve the deal mentioned in the starter post. I have actually also recently run Bleachbit in a root mode and it deleted one or two large files too much, so I rather reinstall the system than wait until something bugs out in a least expected moment.

The thing with Bleachbit jinxes, I have seen and experienced it already somewhere back in the 2013/2014, when I was checking out on the Bionic Beaver. Expecting a regular WindowsOS style brief cleanup, I was surprised how each time the program showed more contents to get rid of. Giving it a go several times in a row, I found that I effectively wiped out most of my drive.

I am uncertain whether it was Bleachbit though or something else.
Last Edit: October 11, 2018, 11:52:09 AM by MS
 

Re: Bad sectors?
« Reply #4 on: November 01, 2018, 08:05:48 AM »
 

MS

  • I come here a lot
  • *****
  • 301
    Posts
  • Country: 00
  • Reputation: 14

  • Linux Lite: 4.6 64bit

  • Kernel: 4.x
Having run the badblocks -wsv test, after reinstalling the system, the 100 bad sectors issue still occurs, but I guess this is a minor problem altogether.
 

Re: Bad sectors?
« Reply #5 on: November 02, 2018, 04:18:32 PM »
 

Nyto

  • Occasional Poster
  • **
  • 63
    Posts
  • Country: mx
  • Reputation: 1
  • Linux Lite Member

  • Linux Lite: 4.8 64bit

  • CPU: Intel Core i7-9700T

  • MEMORY: 16Gb

  • VIDEO CARD: Intel UHD Graphics 630

  • Kernel: 4.x
So this is a SSD. Did you try to see if those sectors marked as bad can be reclaimed?  sudo fstrim -a -v 

If you are still seeing the bad sectors message then you could always try and wipe the drive completely:  sudo hdparm -I /dev/sda


Of course, before every drive-wiping you may want to backup any important files.
Pathological tweaker.
 

Re: Bad sectors?
« Reply #6 on: November 02, 2018, 07:08:03 PM »
 

MS

  • I come here a lot
  • *****
  • 301
    Posts
  • Country: 00
  • Reputation: 14

  • Linux Lite: 4.6 64bit

  • Kernel: 4.x
The point is, there are no bad sectors.
 


Tags:
 


Download Linux Lite 5.4 RC1 today - See Release Announcements