Comments (3)
Hi @DevOpsCow,
Thank you for reporting this. I will look at updating the help to be a bit more descriptive for the range.
This is how it is supposed to be used:
openSeaChest_Erase -d <handle> --writeSameStart x --writeSameRange y --confirm this-will....
If you give a start, but no range, openSeaChest will automatically assume to go to the end of the drive.
Win11 keeps doing something (sleep HDDs? even when set to never...) and kills long running SeaChest operations: SMART long, erase, etc.
This is an unfortunate thing that we've done everything we can to try and prevent from happening, but it is not always possible to stop Windows from doing this. You will likely keep encountering this unfortunately. FYI, Linux does this sometimes as well, but it is less common. Sometimes the OS decides "Hey I want to talk to that, but for some reason I cannot" and then it will interrupt these operations one way or another (usually with a reset). I have seen a few cases where this only happens when trying things on multiple drives in parallel, but single drive at a time works as expected.
You can use the --overwrite
erase instead. This just has the software issue each write command instead of letting the firmware do it. Since this is managed by the software it should complete without error as the commands are much quicker to complete. It may be slightly slower than a firmware managed erase though. Generally on HDDs the difference is not huge unless they are attached to a slow bus like USB 2.0
The format of this is basically the same as the write same option:
openSeaChest_Erase -d <handle> --overwrite x --overwriteRange y --confirm this-will...
If you have a USB to SATA adapter, those do not often interrupt these kinds of things, so that might work for you as well if you wanted to try write same. On a USB to SATA adapter, you should be able to use Sanitize overwrite which cannot be interrupted by anything. It continues even after a power cycle.
openSeaChest_Erase -d <handle> --sanitize overwrite --confirm this-will...
Windows has blocked the sanitize commands since Windows 8 on SATA adapters, but Windows 11 does mention not blocking it on NVMe data drives....I have not tested to see if it is allowed on SATA now too. This block only exists in normal Windows. If you booted to the recovery environment (PE) these commands are not blocked and many other background services are turned off so other long operations may not be interrupted.
from toolbin.
Thank you for the extra info on the win11 possible issue. Great to know booting to the Win recovery might help if I need to do other kind of long operations (e.g. the long SMART)
And thanks for the alternate solution, I'm already doing the --overwrite
and it seems to be working (already passed the original "stop" LBA)
from toolbin.
I'm closing this as I have updated this repo to the latest versions of the tools that include examples that I pushed earlier.
The examples in openSeaChest also carry over to closed SeaChest 😄
Please feel free to reopen this issue if there is more we need to do on this issue.
from toolbin.
Related Issues (20)
- SeaChest should warn the user that setSectorSize on USB External Hard is unsupported and could brick the drive HOT 3
- Not an NVMe device, Skipping HOT 12
- SeaChest_Lite_120_11923_64.exe: unknown option -- showSupportedSectorSizes HOT 2
- broken HDD drive after changing to 4kn HOT 22
- SeaChest_NVMe Reporting incorrect data for XPG Spectrix HOT 7
- FormatUnit has no effect HOT 6
- FormatUnit fails HOT 13
- seagateQuickFormat expected run time HOT 10
- please make it visible that --confirm this-will-erase-data does not really erase data HOT 4
- SeaChest_Lite does not "see" any Exos ST16000NM001G connected to an Adaptec 71605 or 71605E. HOT 4
- Please add "--json" option to output as json for ease of parsing output HOT 1
- SeaChest-lite SetSectorSize does nothing HOT 6
- Format unit failing with Format Unit Not Supported HOT 1
- Failed to set sector size! HOT 1
- Firmware update failing - Firmware Download Failed - Download Microcode returning: ABORTED
- Seagate FireCuda 530 - Error: IDD is only supported on Seagate Drives. HOT 2
- format error - SeaChest_Release_3.5.2_03-29-2023__15-05-29.usbBootMaker HOT 5
- openSeaChest binaries don't run HOT 5
- Cannot change logical sector size of SATA-connected Seagate: "Setting sector size not supported on this device" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toolbin.