Skip to main content

Questions tagged [badblocks]

Corrupted blocks on a filesystem. Blocks are a unit of division on a filesystem.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

My ACER PC would not start, so I removed the disk and tried to access it on another PC in Ubuntu 24.04.2, but got this error msg: Error mounting /dev/sdc4 at /media/ubuntu/ACER:wrong fs type,bad ...
Sonja Levorsen's user avatar
6 votes
1 answer
2k views

Context I am running a Raspberry Pi Zero with a Micro SD as it is designed.  However, for this specific application, I cannot use a read-only system as I usually do with a Raspberry Pi. Objective Keep ...
giovi321's user avatar
  • 919
1 vote
1 answer
1k views

The badblocks utility allows one to find bad blocks on a device, and e2fsck -c allows one to add such bad blocks to the bad block inode so that they will not be used for actual data. But for SSD, it ...
vinc17's user avatar
  • 12.5k
1 vote
0 answers
249 views

I'm using a program called badblocks to scan disks for errors, and I'm finding that it sometimes appear to get stuck in a loop. I'm using in read/write mode and by default it tests four patterns. Here'...
jyoung's user avatar
  • 117
1 vote
0 answers
184 views

We had a physical problem in our backup server (we suppose an electrical shock due to the thunderstorm). The system is Linux Debian on a disk and the storage in on a two 4 TB disks RAID-1 ZFS (ZFS On ...
Le Nain Jaune's user avatar
2 votes
0 answers
2k views

Here is my setup: no partition, just LUKS1 and then XFS inside that. To confirm, the disk was set up like so: disk is installed, luksFormat, luksOpen, mkfs.xfs, mount, start using. First of all, what ...
gfdjjrtiejo's user avatar
1 vote
0 answers
515 views

I have a 4G Compact Flash card with a 2.5G ext3 partition. The file system has become corrupted. I am not necessarily interested in fixing the file system as identifying exactly what is corrupted in ...
Jared Sanchez's user avatar
5 votes
1 answer
2k views

I have just tried upon tweaking the badblocks utility to use more RAM and possibly achieve a bit higher performance. The exact command I am running is (without HDD's S/N): badblocks -v -b 4096 -c ...
Vlastimil Burián's user avatar
1 vote
1 answer
250 views

When creating an ntfs partition with mkfs.ntfs, it does zeroing and badblocks scanning by default. But unlike e2fsck -fccky it does not output how many badblocks it actually found. I would like to get ...
xeruf's user avatar
  • 651
2 votes
1 answer
2k views

The harddrive is connected with an external enclosure via USB3.0. $ sudo smartctl -a /dev/sdb === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 3.5 Device Model: ...
sgon00's user avatar
  • 457
2 votes
1 answer
786 views

I've ran badblocks on a disk /dev/sdc and now I want to use the saved file with badblocks as an argument to mkfs.ext4 -l on a partition. Block size used in both commands are the same. But I'm ...
Adriano dos Santos Fernandes's user avatar
0 votes
1 answer
235 views

I am running $ uname -a Linux myhostname 4.14.15-041415-generic #201801231530 SMP Tue Jan 23 20:33:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ...
BowPark's user avatar
  • 5,195
1 vote
1 answer
670 views

I've received a Seagate 2.5" 5400rpm 500gb HDD that was throwing up a Boot configuration error post some windows updates. I've tried the following on it and nothing seems to work: First step: I ...
fluffehStack's user avatar
0 votes
1 answer
238 views

What utility, and how its uses, to check if there's bad blocks in a specific directory
user avatar
0 votes
1 answer
158 views

I got a 16GB Sandisk thumbdrive which was "locked" recently while transfering data, and now I can't do anything to the drive, only able to read the remain data. below here are some attempt ...
CuriousNewbie's user avatar
0 votes
1 answer
158 views

I have an SSD with LVM with one LV dedicated to a Win7 VM .vdi file of 80Gb. The underlying fs is ext4. After installing a new SSD and setting up the new LV's in migrating, the copy from the old SSD ...
bu5hman's user avatar
  • 4,851
2 votes
1 answer
8k views

Do I need to dump my SATA hard disk, based on the following smartctl results? I was frequently getting filesystem errors during boot time and even fsck failed to repair it last time. Then I used a ...
beta_me me_beta's user avatar
15 votes
1 answer
44k views

I may be misunderstanding some concepts here, but as far as I know, each disk has a partition table and actual partitions. I'm looking to test a hard drive for bad sectors and errors, but the tools I ...
Gacek's user avatar
  • 277
1 vote
0 answers
106 views

I'm trying to wipe a bad disk using dd with the following command sudo dd if=/dev/zero of=/dev/sda status=progress, but it exits prematurely and outputs the following: 13160186368 bytes (13 GB, 12 ...
olfek's user avatar
  • 741
0 votes
1 answer
357 views

I have a RAID1 array with one sligtly damaged disk /dev/sdb. I put a fresh hard disk /dev/sda into this array in order to mirror sdb (then I’m gonna replace sdb with a fresh HDD). # cat /proc/mdstat ...
MaximAL's user avatar
  • 101
2 votes
1 answer
3k views

I thought I could nuke all partitions of a drive by using dd if=/dev/zero of=/dev/sdX. In the past this has always worked for me, but in this case it is not working as expected. #check the partitions ...
Stonecraft's user avatar
1 vote
1 answer
17k views

I'm running a dual boot system with Windows 7 and Puppy Linux Ubuntu based "Bionic" installed on a separate partition of my main drive. Completely separate from that I have a 1TB Western Digital ...
Gary Platon's user avatar
-1 votes
2 answers
623 views

man badblocks says: -n Use non-destructive read-write mode. This answer says: The non-destructive read-write test works by overwriting data, then reading to verify, and then writing the ...
Tom Hale's user avatar
  • 33.4k
-1 votes
1 answer
521 views

we want to identify bad block or disk problem by the following umount /grid/sdd badblocks -n -vv /dev/sdd Checking for bad blocks in non-destructive read-write mode From block 0 to 20971519 Checking ...
yael's user avatar
  • 14k
1 vote
0 answers
973 views

I have a RAID 1 of 2 hard drives managed with mdadm. Today, one of them failed. I figured out that this is because of bad sectors in /dev/sdb. According to badblocks, these sectors are affected: 1028, ...
UTF-8's user avatar
  • 3,377