Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.mint    |    Looks pretty on the outside, thats it!    |    30,566 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 28,791 of 30,566    |
|    Felix to Mike Easter    |
|    Re: Hard drive question    |
|    27 Jul 25 19:44:10    |
      From: none@nowhere.com              Mike Easter wrote:       > Felix wrote:       >> How does LM treat HD bad sectors? Can it identify and mark them (if       >> any) 'not for use'? or is there an app that will do it?       >       > Default LM has Disks which is gnome-disks which has a SMART function       > which can check and self-test.       >       > But I think the way to go about dealing w/ sector exclusion on a disk       > you plan to continue to use is to 'start over' and format it, as       > opposed to trying to 'retro' exclude.       >       > There are instructions for using badblocks to list them to a file and       > then use fsck to use the file to exclude them; but I don't know if I       > like that; doing it that way instead of the format.              so does formatting mark sectors 'not for use'? even 'fast format'?              >       > ------------       >       > Steps to Check and Mark Bad Sectors:       >       > 1. Identify the disk:       > .       >       > Use fdisk -l to list all available disks and their partitions.       > 2. Unmount the disk:       > .       > Before scanning, unmount the partition you want to check using sudo       > umount /dev/sda1 (replace sda1 with your actual partition).       > 3. Scan for bad blocks:       > .       > Use badblocks -v /dev/sda1 > badsectors.txt to scan for bad blocks and       > save the results to a file (replace sda1 with your partition).       > 4. Mark bad sectors:       > .       > Use sudo e2fsck -l badsectors.txt /dev/sda1 (for ext2/ext3/ext4       > filesystems) or sudo fsck -l badsectors.txt /dev/sda1 (for other       > filesystems) to mark the bad sectors as unusable.       > 5. Remount the disk:       > .       > After the scan and marking process, remount the disk using sudo mount       > /dev/sda1.       > 6. Check disk health with SMART:       > .       > Use the Disks application (found in the menu under Accessories) to       > check the disk's SMART data and run self-tests.       > ------------       >       >                     --       Linux Mint 22.1              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca