Disable trim, ,if quick format takes long time

If your storage and OS support trim, quick format can takes long time.

Furtermore, you can disable trim before format and activate it later.

For Windows:

Disable trim command:

fsutil behavior set disabledeletenotify 1

To enable again:

fsutil behavior set disabledeletenotify 0

Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior

For Linux:

If you try format it with XFS, you can use -K option with mkfs.xfs, for example:

mkfs.xfs -f -K -L disk_label /dev/mapper/mpatha1

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.