Debian/Ubuntu: Mention blkdiscard
Inspired by PR #387 Co-authored-by: Maurice Zhou <ja@apvc.uk> [The author of PR #387.]
This commit is contained in:
@@ -189,6 +189,11 @@ Step 2: Disk Formatting
|
|||||||
|
|
||||||
wipefs -a $DISK
|
wipefs -a $DISK
|
||||||
|
|
||||||
|
For flash-based storage, if the disk was previously used, you may wish to
|
||||||
|
do a full-disk discard (TRIM/UNMAP), which can improve performance::
|
||||||
|
|
||||||
|
blkdiscard -f $DISK
|
||||||
|
|
||||||
Clear the partition table::
|
Clear the partition table::
|
||||||
|
|
||||||
sgdisk --zap-all $DISK
|
sgdisk --zap-all $DISK
|
||||||
|
|||||||
@@ -203,6 +203,11 @@ Step 2: Disk Formatting
|
|||||||
|
|
||||||
wipefs -a $DISK
|
wipefs -a $DISK
|
||||||
|
|
||||||
|
For flash-based storage, if the disk was previously used, you may wish to
|
||||||
|
do a full-disk discard (TRIM/UNMAP), which can improve performance::
|
||||||
|
|
||||||
|
blkdiscard -f $DISK
|
||||||
|
|
||||||
Clear the partition table::
|
Clear the partition table::
|
||||||
|
|
||||||
sgdisk --zap-all $DISK
|
sgdisk --zap-all $DISK
|
||||||
|
|||||||
Reference in New Issue
Block a user