Questions tagged [bad-blocks]

49 questions
3
votes
3 answers

Which drive in RAID has bad sectors?

I have 4 physical drives in a single virtual drive using an LSI MegaRaid SAS controller. It seems (at least) one of the drives has bad sectors because: io errors occur when attempting to back up some files running badblocks reports some bad…
James
  • 325
  • 2
  • 10
  • 22
3
votes
2 answers

Badblocks output - Read, Write, Compare errors explanation?

I've been scouring the internet looking for a source on this, but have been unable to find any official documentation about Badblocks - the program that's a part of the standard e2fsprogs. I'm using Badblocks to validate new drives that I buy, and…
Locane
  • 409
  • 1
  • 7
  • 20
3
votes
1 answer

When does a Raid restore redundancy after a broken sector is flagged as defective?

What happens when I flag a sector on a hdd in a RAID setup as `defective (GLIST) ? Will the data be written to the replacement sector right away or does this depend on the actual setup/settings (soft/hardware raid)? Example: Raid 5 - 4 Drives -…
Benedikt Haug
  • 111
  • 1
  • 1
  • 5
2
votes
1 answer

Is my hard disk failing?

I've just had the hard disk on my server replaced. It was part of a RAID 1 array. The sdb1 partition keeps failing every few hours now. # cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multi …
Elijah Paul
  • 557
  • 1
  • 7
  • 19
2
votes
2 answers

Bad Blocks Exist in Virtual Device PERC H700 Integrated

I have a DELL server with PERC H700 Integrated controller. I've made RAID5 with 12 harddrives and the virtual device is in Optimal state, but I receive such errors under linux: sd 0:2:0:0: [sda] Unhandled error code sd 0:2:0:0: [sda] Result:…
neoX
  • 141
  • 1
  • 7
2
votes
1 answer

Check Drives Before Installation: Is Badblocks Good Enough?

I wanted to know what people do to test drives before installing them in a RAID. I saw badblocks. Would write-mode, prior to installing the filesystem be sufficient in your minds?
songei2f
  • 1,924
  • 1
  • 20
  • 30
2
votes
1 answer

IBM ServeRAID bad stripes and synchronize

After one of the drives in our IBM RAID gone, we bought a new one and replaced it. The rebuilding went fine, but now we see "Bad stripes" reported for the logical disk. Moreover, some data can not be read from the disk, and ServeRAID reports bad…
SyRenity
  • 3,159
  • 11
  • 55
  • 79
1
vote
0 answers

ddrescue - retry bad sectors starting from the end of the disk

How can I attempt to read bad sectors from the end of the disk, using ddrescue? I have dynamic volumes and the LDR is kept at the end of the disk, unlike MBR. I remember that I've tried --reverse but it changed the direction from the last tried…
Nick
  • 181
  • 4
1
vote
1 answer

Current Pending Sector S.M.A.R.T

Hello I have a Linux Server mounted with BTRFS in RAID-1 and I would like that someone more expert than me could solve my doubts. I have 3 HDD of 6TB each, in one of them every so often smartd detects errors in some sector. When it happens I use…
1
vote
3 answers

What if I don't replace failing disk in Raid1

I have a home server on Synology DS716+ running Raid1. Currently Disk1 S.M.A.R.T. status is Failing and also Bad Sector Count displays 2. So obviously I should replace this hard drive, but I am traveling and will not be home for another 2,5 weeks.…
callmebob
  • 143
  • 2
  • 7
1
vote
1 answer

Amazon EC2 Snapshot corrupt

The snapshots for one of our AWS volumes are corrupt. We use these snapshots as backup, and in the past they have been a great help. (NB: This is not our only backup method!) A corrupt snapshot is useless however. I wonder how to handle this, how…
SPRBRN
  • 561
  • 4
  • 12
  • 27
1
vote
1 answer

SMART vs badblocks, who is right?

I have and semi-old hdd (magnetic one, not ssd) and I intended to use it as system drive for my new NAS. So I've run SMART selftest on it and it ended with status "Completed: read failure". However, badblock complete the destructive test (so 4…
graywolf
  • 187
  • 6
1
vote
2 answers

Is HD, SSD or SD card cloning a good practice?

Cloning is very convenient if multiple identical systems need to be created. But I have the following concern. As far as I know during formatting of file system and even during it's use a bad disk sector can be marked as "bad" by the file system.…
Linas
  • 19
  • 2
1
vote
1 answer

Does my server have bad blocks or not?

My server crashed today. It switched the /sda8 device (/home) to read only and the log said "ext3_xattr_block_get: inode 590080: bad block 6" From rescue mode (something my hosting provider offers where the OS is loaded from the network) I ran…
user32381
  • 207
  • 3
  • 8
1
vote
1 answer

Linux mdadm RAID5 data recovery with one drive failed, one drive failing

Improbably I had two drives fail in the same Raid5 array within 2 weeks of one another. Which means the array is dead. Yes yes hot spares not being lazy about replacing the failed drive I know. But let's move past that. The data is somewhat backed…
cecilkorik
  • 445
  • 1
  • 4
  • 13