talaloni / harddiskvalidator Goto Github PK
View Code? Open in Web Editor NEWChecks whether you should replace/trash your hard drive
Checks whether you should replace/trash your hard drive
Is it possible to add a feature to scan only a specific part of a Hard Disk (say 80% to 100% or, 400GB to 465GB or, Sector X to Sector Y)?
Scenario 1: I only want to scan a specific portion of a Hard Disk(say last 20%) and compare with the previous scan results.
Scenario 2: A big sized hard disk (say 2TB or more) takes too much time to scan with a USB 2.0 connection in one go. But one can check it by parts in 2 or 3 go without overloading the disk.
Thank you...
After a power failure, I noticed that my 3TB hard disk has some bad sectors(some programs consistently freeze). As I don't know if the platter was damaged I decided to run the program read-write-verify-restore overnight.
here is the log: https://pastebin.com/Kwixcw9f
GUI was saying everything inaccessible was damaged, but I know that isn't true as I can use most programs on the disk without any problems. This seems to be disk just sleeping after a while, though I don't know why. It is consistent as same thing happened once more when I tried it again.
In the past I got several times a SMART warning "Current pending sector count" shown e.g. in "CrystalDiskInfo" tool.
In order to repair it I had to backup the whole partition to an external hard disk.
Then reformat the whole partition (in order to replace the bad sector(s) by a reserve sector(s).
And finaly re-copy all the stuff from external hard disk.
This procedure is very unhandy and tedious.
When I look at the hard disk validor menu I can see a
"Read + Write Damaged + Read" entry.
Can I repair/replace easily the bad sector(s) with this test?
Read: avoid the procedure described above?
The main window is not resizeable.
And HDV does not remember window size and position.
This all should be added in the next release
ignore / delete
Hi.
I'm attempting to recreate this project, but when I run the line:
List<PhysicalDisk> disks = PhysicalDiskHelper.GetPhysicalDisks();
I get this error:
System.IO.IOException: 'Unable to retrieve device number'
Any solution to this?
The code for this 2 projects are missing in the solution.
The referenced project '....\DynamicDiskPartitioner\DiskAccessLibrary\DiskAccessLibrary.csproj' does not exist.
The referenced project '....\DynamicDiskPartitioner\Utilities\Utilities.csproj' does not exist.
Just downloaded the source code - but the libraries Utilities
and DiskAccessLibrary
are missing. Thus, it doesn't compile.
Could you commit those libraries or include references where to get them?
I'm wiping old disk through USB-SATA interface and when error occured, all blocks are filled dark red (IO Error) and then program throws exception in message box. When clicked OK, program quits after few seconds.
Exception:
Exception: System.IO.IOException: Unable to set disk attributes, Error: 55 Source: HardDiskValidator w DiskAccessLibrary.PhysicalDiskControl.TrySetOnlineStatus(SafeFileHandle hDevice, Boolean online, Boolean persist)
w DiskAccessLibrary.PhysicalDiskControl.SetOnlineStatus(SafeFileHandle hDevice, Boolean online, Boolean persist)
w DiskAccessLibrary.PhysicalDisk.SetOnlineStatus(Boolean online, Boolean persist)
w HardDiskValidator.MainForm.PerformTest(Int32 physicalDiskIndex, TestName testName)
w HardDiskValidator.MainForm.<>c__DisplayClassd.<btnStart_Click>b__8()
w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
w System.Threading.ThreadHelper.ThreadStart()
PS. I know, i should throw away disk, but program should not crash after any error.
Is this suitable for SSD's? For example, to check for bad cells? As I understand, SSD's have an internal system whereby they keep changing which cells are being used in order to perform wear levelling. However, if a cell reports its address to be xyz, surely a program can read from it and see if the data is corrupt or not?
Sorry if I'm asking a stupid / invalid question.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.