Questions tagged [badblocks]
Tool for searching bad blocks in block devices and partitions. Use for questions about the tool badblocks or to repair bad blocks on devices.
66
questions
0
votes
0
answers
48
views
Trying to fix badblocks on a Linux partion: futile?
I'm on Ubuntu Linux 20.04. Over the past couple of weeks I've been noticing some erratic behaviour, like shutting down unprompted and then later booting into initramfs.
I followed the instructions ...
0
votes
0
answers
50
views
badblocks command in linux got stuck after checking certain blocks. Does that mean there is any issue with the sd card?
badblocks command in linux got stuck after checking certain blocks. Does that mean there is any issue with the sd card ?
sys]$badblocks -v /dev/mmcblk0p1
Checking blocks 0 to 1231646
Checking for bad ...
0
votes
1
answer
130
views
SD card ddrescue retrieved everything but badblocks lists bad blocks like crazy; how come?
It astonishes me that I was able to perfectly recover an SD card with ddrescue which was used in an RPi for quite a while. But when I'm scanning the SD card with badblocks -nvs bad blocks are listed ...
1
vote
1
answer
3k
views
Fixing bad superblock on SSD drive: Is e2fsck safe to run?
The symptoms:
I cannot boot anymore into my Xubuntu 22.04 Linux machine, and here's what happened:
At some point my home directory filesystem went into read-only (most likely as a protective measure, ...
0
votes
1
answer
13k
views
Mounting new HDD, error: wrong fs type, bad option, bad superblock, missing codepage or helper program or other error
Recentely I've installed a new HDD in my system. After making a partition with Gparted, mounting it to a folder I made called /mnt/media and writing the necessary line in /etc/fstab I get the ...
0
votes
1
answer
164
views
Is it ok to run fsck intead of e2fsck for a read only badblocks correction?
I have a hard drive with a failing block that points to inode 8 of the first partition, this falls in exactly on the journal. So I tried to run e2fsck -cpvk but the problem is that i forgot to write ...
0
votes
0
answers
135
views
Is there a way to fix bad block without unmounting?
I was thinking about running a bad sector check up on my system. Is it possible to do that without unmounting the primary filesystem? I want to check it on the system that is currently running.
0
votes
0
answers
311
views
My laptop is not showing boot partition at startup
My lenovo ideapad 330s is dual booted, windows 10 and Ubuntu 20.04. Both are on the same drive. Yesterday I was booted to windows and suddenly I got blue screen of death. And after that I restarted ...
1
vote
0
answers
2k
views
Is it natural for e2fsck taking too much time at force rewrite?
I have got some bad blocks in my HDD and I can not login now.
I boot from a USB and try to fix it.
Before e2fsck I badblocks -nvs the partition first so that I know that bad blocks are in /dev/sda3 (...
0
votes
1
answer
225
views
Translate badblocks result from 1024 block size to 4096 block size?
I have a 4TB hard drive which I ran the badblocks utility without passing in the -b block-size parameter. So I'm pretty sure it defaulted it to 1024, and my 4TB drive/filesystem is most likely setup ...
0
votes
2
answers
880
views
Is it a problem if I have one bad sector on my HDD?
I have had this error for a while now. Is it safe to use?
2
votes
1
answer
3k
views
After badblocks found read error, the Reallocated Sector Count wasn't updated
My HD had a few corrupted files so I wanted to check all the sectors and have the HD controllers mark the failing one.
Following the advices from this answer, I have run a badblocks on my external HD. ...
2
votes
2
answers
146
views
I read somewhere that you should not mark bad sectors as bad, if the number of bad sectors is growing. Is this true?
My laptop hard drive shows a growing number of bad sectors every time I use it for browsing. It goes really high when I use it for anything other than browsing. The 1 TB hard drive already has about ...
1
vote
1
answer
847
views
error failure writing sector to hd0, 966 bad sectors - do i need to replace hard drive?
I recently wiped my laptop clean and installed Ubuntu 20.04.2. After installation, if I reboot the newly installed OS, I get the following error:
error: failure writing sector 0xbd80848 to `hd0'.
...
1
vote
1
answer
618
views
How to cope with bad sector on a portable storage
I have a WD portable hard drive working as day to day backup. Recently there seems to have some read/write error on specific files and smells like bad sector problem.
I am using ddrescue to do data ...
0
votes
1
answer
375
views
I can't install ubuntu , due to my old hard drive
I have old hdd whenever I install ubuntu on these it crashes in between , sometimes it's called bad sector or sometimes read only file system.
I installed a month ago on same drive before this is ...
2
votes
2
answers
18k
views
Fixing bad sectors of a hard drive
My hard drive is partly visible (only 4.1 GB of 2TB) in "Disks" and has a bad sector. I have tried using the smartmontools to check for bad sectors and then used badblocks -svn /dev/sda for ...
2
votes
2
answers
7k
views
How to speed up badblocks
It has been 50h and it is only 0.04% of the way through... Which if my maths is correct means it will be finished after another 2,000,000h (not real maths)
hutber@hutber:~$ badblocks -svw -b 4096 -c ...
-1
votes
1
answer
209
views
Bad boot error and superblock [duplicate]
I was about to spend the next 3 hours playing CSGO, but the Steam client wouldn’t launch. I tried launching it from the command line interface, but there was an error saying that ~/.steam/error.log ...
1
vote
0
answers
3k
views
Bad blocks reported by the kernel, none to be found after scanning
Recently a system that I mainly use over SSH stopped working. I rebooted it and it showed error messages (sorry, didn't take a photo) saying the disk needed to be checked. I checked the disk with fsck ...
2
votes
0
answers
2k
views
Force mount NTFS partition (damaged blocks)
Apparently my hard disk has decided to get damaged and my Windows NTFS partition is not accessible. I have a dual boot, but the Windows one would not initialise (maybe not solvable).
I will more ...
1
vote
1
answer
349
views
Creating ext4 filesystem on 20TB Raid5 is still running - has it stalled or is this a very long process?
I have a 20TB (4x5TB) RAID5 aray (please hold comments about RAID5, I know a lot of people don't like it) that I recently setup, through Webmin, on 18.04.3LTS ubuntu server.
I am not creating the ...
2
votes
1
answer
2k
views
Can not "zero" my drive with dd
I was "zeroing" my drive with the dd tool when I get this input/output error:
Is my drive good for trash or is there a way to fix it please?
Thanks a lot for your answer :)
sudo dd if=/dev/zero of=/...
0
votes
0
answers
457
views
memory device: reason for bad blocks and how to fix it
I have a 64G micro SSD that is corrupted.
I had put it into a device that can handle only 32G.
Question: can this damage the SSD, and if so, how would that happen?
I have run the badblocks command, ...
1
vote
1
answer
85
views
How to prevent 'check disk for defects' to run
I had some bad blocks within my hard drive lately but I was able to repair them . I'm trying to install Ubuntu on my Hard drive ( which is empty ) but I don't get the Grub Interface thing , it ...
0
votes
2
answers
289
views
Can bad sectors cause ubuntu installer to freeze?
Shortly after selecting installation type (full/minimal) and clicking continue the installer freezes and doesn't proceed to next step.
The HDD has 91 bad sectors could that be the reason?
I also ...
0
votes
1
answer
502
views
dosfsck seems to hang after bad cluster message
I used the following terminal command to fix bad sector on /dev/sda5 partition I have which is FAT32
sudo dosfsck -w -r -l -a -v -t /dev/sda5
after running for a long time it displayed the ...
3
votes
1
answer
6k
views
Mark ext4 blocks as bad manually without trying to read/write
I have a 10-years old 320 Gb HDD which I've used as an external drive, and it traveled with me for much of those 10 years. Needless to say, it survived more than a few falls (including those while in ...
2
votes
2
answers
4k
views
Test tools to detect bad sectors on hard disk? [duplicate]
I recently bought a new 1TB hard drive and I would like to do a couple of tests before I start using it (I prefer to know if there are problems or there may be problems now before it is too late).
...
1
vote
1
answer
2k
views
Would you please help me to fix badblocks on my hard drive?
I just ran this command:
sudo badblocks -svvn -c 262144 /dev/sda -force
And the result was:
Pass completed, 274 bad blocks found. (246/0/28 errors)
Would you please help me to know if these blocks ...
0
votes
1
answer
304
views
How to tell why drive is remounting read-only
I have a Lenovo laptop with an SSD and Ubuntu 18.04. The root partition keeps remounting read-only, according to the console messages. Except it won't read when it happens, either, just giving I/O ...
3
votes
4
answers
6k
views
External hard drive keeps powering down
Is it possible to prevent an external hard drive from powering down? I left the drive on over the night for a large download, but when I checked it in the morning, the download failed with the ...
1
vote
1
answer
2k
views
Error message using SMARTCTL for fixing bad sectors on HDD
I have tried to fix the bad sectors of an external HDD following the advice of user228505, that is, installing smartctl
sudo apt-get install smartmontools
then executing
sudo smartctl --all /dev/...
0
votes
1
answer
22k
views
can't read superblock on /dev/mapper/veracrypt1
I have scoured the web, including veracrypt official forums for this and nothing. It's almost like support does not exist for this issue.
When I go to mount the partition, it spits out this error:
...
0
votes
1
answer
5k
views
Parted input/output error while making a new GPT table
I have damaged usb drive. Tried making a new table with GParted, not finishing the operation. also tried with parted, it's printing input/output error while making GPT table.
scanned with badblocks ...
0
votes
1
answer
465
views
Formatting read-only usb with badblocks
I have a usb stick that suddenly started mounting read-only. I was going try and reformat it (e.g. with gparted) but wouldn't let me as it's mounted read only. Also (optimistically) tried zero-ing it (...
1
vote
1
answer
504
views
How to install/use "icheck" and "ncheck" in Ubuntu 16.04
I want to use icheck and ncheck commands to find files stored on specific HDD blocks (instruction). I installed the command via
sudo apt-get install icheck
but this packages is
A tool for ...
0
votes
0
answers
137
views
Possible bad hard disk recovery
My friend had some important files on an internal HDD, and asked for help after his laptop suddenly freezed, restarted and won't boot again on Windows. HDD was still listed in BIOS.
In Windows, if i ...
1
vote
1
answer
128
views
Slow Read or Slow Write affects all drives
I am running Ubuntu 16.04 with RocketRaid 2720SGL HBA board that I have updated the firmware to take the RAID handler out and just use the ports.
There are two ports on the board that will allow a ...
0
votes
1
answer
70
views
Bad sectors, maybe a dupe?
I'm on ubuntu 16.10.
As of today, I opened the disks tool and noticed my HDD has 1225 bad sectors, no worries.
Five minutes later the count went to 1570.
Three minutes later it went to 1767.
I'...
5
votes
2
answers
27k
views
How do i update e2fsck?
Recently, after a sudden power failure, my 1tb hard drive (/dev/sda1) failed and will not mount. It says, Error mounting /dev/sda1 at /media/zangar_/4b84d62b-520d-408e-addc-7a2bf52cc4e3: Command-line `...
1
vote
1
answer
131
views
Beginning of the partition (~3GB) deleted with "badblocks" command. Is data recovery possible? [duplicate]
I executed badblocks -wsv on my windows partition to check for badblocks. I relatively quickly realized I executed it in destructive mode so I aborted the process and only ~3GB of the partition were ...
0
votes
1
answer
704
views
My 'file system consistency check' (fsck) retured the following results, what does it mean?
My system was giving a message that the hard-disk have errors, then I slow-formatted (zeroed) the hard-disk and after that ran the following command,
sudo fsck -y -f /dev/sda1
which returned the ...
0
votes
0
answers
1k
views
Problems with one of my hard drives
Using Ubuntu 14.04 for a year in this computer.
Lately I've noticed that listing files in Nautilus were slow.
After a reboot I got I message something like
Cannot mount My_Disk, Skip, Manual...
...
2
votes
2
answers
3k
views
How much time does it take to zero-out hard disk of 500gb?
I'm seeing a blank screen with cursor(underscore) at the top left. My laptop is accessing the hard disk continously. It's been around 15 minutes.
0
votes
1
answer
4k
views
How to mark bad sectors in Disk Utility?
I have some bad sectors on my drive, but when I open disk utility using:
gnome-disks
It won't let me mark them, or do anything with the driver except benchmark it and format it!
Please help, my ...
3
votes
2
answers
32k
views
Hard drive won't mount
Running sudo fdisk -lu returns the hdd I want to mount as
Disk /dev/sdb
but when I try to mount it from KDE Partition Manager it doesn't show some directories when I try to set up a path (tried ...
1
vote
1
answer
378
views
Partition Errors and Remounts Read-Only when Accessing Specific File
I have a pretty basic system running Ubuntu 16.04, 1 HDD, running a few partitions:
sda1 - EXT4 - 100G - /
sda2 - EXT4 - 723.5G - /home
sda3 - NTFS - 100G - (windows)
sda5 - SWAP - 8G
Whenever I ...
1
vote
3
answers
1k
views
Problems restoring damaged sectors on hdd
I have some problems with my laptop hdd, due to a lack of electricity during a critical update.
Since then, I have been able to reboot with little to no further issues, but recently, possibly due to ...
0
votes
1
answer
5k
views
Constant messages on I/O error on same sectors
I have the following messages on console
They say:
ata1.00: status: { DRDY ERR }
ata1.00: error: { UNC }
blk_update_request: I/O error, dev sda, sector 1476687273
usbhid 6-1.2.3:1.1: couldn't find ...