Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider adding an additional command line argument to skip the "waiting period" when performing formats #178

Open
xxbiohazrdxx opened this issue Mar 16, 2025 · 1 comment

Comments

@xxbiohazrdxx
Copy link

This may be considered something of a footgun, but waiting 15 seconds for a format is extremely annoying when you have a 108 bay chassis filled with disks that need to be fast formatted to 4Kn.

It would be really nice to have a switch to bypass the wait, I'm already typing --confirm this-will-erase-data-and-may-render-the-drive-inoperable so if I blow something up, it's on me.

@vonericsen
Copy link
Contributor

Hi @xxbiohazrdxx,

Are you seeing this delay with each drive you are running? Or just once with the initial warning message that has a countdown?

This operation is not done in parallel within the tools using -d all and 15-45 seconds is approximately how long it takes to convert to 4Kn inside the drive. It's a foreground operation so it is not possible to skip the time the drive is running this. The drive must return a completion status before it can move to the next one.

If you are attempting to parallelize this you could use a script instead. That may have other issues though depending on how the controller handles drives being busy running this command.
For example: Some controllers will allow you to issue another command to another drive while one is busy, others you must wait until the drive is no longer holding the bus busy to start a command on another drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants