LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-17-2010, 04:17 AM   #1
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Rep: Reputation: 70
Implications of bad blocks when reinstalling a disk image


Hi guys,

Let's say I'm using one of those PCs that uses a SSD flash drive in place of a more regular HDD.

Say I burn my favorite .iso distro and install it on this PC. I install my favorite applications and seek out and install any missing drivers and generally tweak the system like you do. When I am finally happy with it, I make an image of this installation to an external USB drive.

Now, say 9 months later some of those SSD blocks have gone bad because they were erased too often. They're no longer usable. Also, because I'm a sloppy person who can't be bothered to delete redundant stuff and run make-cleans and so forth, the disk is getting pretty cluttered and takes longer and longer to do stuff.

I decide the obvious solution is to remove and save any data I need to keep, then just over-write the disk with the image I made 9 months earlier.

The question is: will the firmware be smart enough to re-map my incoming image to avoid these bad blocks on the SSD? Or am I going to wind up with some parts of the image being located on bad areas of the SSD?

Many thanks....

CC.
 
Old 03-17-2010, 07:25 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
The firmware on the SSD takes care of remapping blocks. It does it all the time as you use it. Even if a block isn't bad, the data gets remapped to a different block frequently. It uses wear leveling.

Last edited by smoker; 03-17-2010 at 07:27 AM.
 
Old 03-17-2010, 01:19 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
the disk is getting pretty cluttered and takes longer and longer to do stuff.
Managing "bad blocks" and "wear levelling" aside, remember that SSDs have no moving parts (it takes a significant amount of time to move a HDD's head from the centre of the disk to the edge), so, unlike a real HDD, SSDs do not care where on the SSD the data is physically stored, a bit like RAM really.

So I am suggesting you should look for other reasons for things taking "longer and longer to do stuff" [ Too many unneeded services running, too much GUI eye-candy hogging CPU time ... ]
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
should I use disk with report of bad blocks packets Linux - Hardware 3 02-04-2010 06:31 PM
RAID1 array down to one disk with bad blocks, clone to good disk with dd noerror? ewolf Linux - Server 2 05-10-2008 12:40 AM
What is the expected output of mke2fs -c -c when there are bad blocks on the disk? pipopo Linux - General 6 02-06-2008 03:43 AM
bad blocks/disk pb nadine.mauch Linux - General 0 10-07-2004 02:49 AM
Bad BLocks on Hard disk... hpnadig Linux - Hardware 0 03-10-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration