<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Unmap</id>
	<title>Unmap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Unmap"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Unmap&amp;action=history"/>
	<updated>2026-04-28T20:20:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Unmap&amp;diff=5043&amp;oldid=prev</id>
		<title>Kenneth at 16:27, 28 January 2019</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Unmap&amp;diff=5043&amp;oldid=prev"/>
		<updated>2019-01-28T16:27:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;unmap / trim / discard / deallocate&lt;br /&gt;
&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TRIM, which is not an acronym, is available for SSDs that support the Serial ATA (SATA) interface. UNMAP is the comparable Small Computer System Interface (SCSI) command for use with SAS SSDs. The DEALLOCATE operation provides a similar capability in the nonvolatile memory express (NVMe) command set for Peripheral Component Interconnect Express SSDs.&amp;quot; [https://searchstorage.techtarget.com/definition/TRIM]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;NAND flash-based SSDs read and write data in units known as pages, and in a typical SSD, 128 pages constitute a single data block. But, before any data can be written or programmed to the SSD, an entire block of data that is no longer needed must be erased. An internal SSD housekeeping operation known as garbage collection helps to streamline the process.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
Trim (computing) - Wikipedia - https://en.wikipedia.org/wiki/Trim_(computing)&lt;br /&gt;
&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
   DSM Deallocation is the NVMe implementation of TRIM, or SCSI UNMAP in the&lt;br /&gt;
   NVMe spec. With this change, the driver reports TRIM capability by returning&lt;br /&gt;
   required values in INQUIRY B0, READ CAPACITY 16, and MODE SENSE Control Page&lt;br /&gt;
   responses, accepts SCSI UNMAP commands, and translates SCSI UNMAP to DSM&lt;br /&gt;
   Deallocation NVM command to the device.&lt;br /&gt;
&lt;br /&gt;
[http://www.adeisse.fr/ftp$/NVMe/doc/release_note_nvme_1.0e.0.30-1vmw.550.0.0.1391871.txt]&lt;br /&gt;
&lt;br /&gt;
== NVME ==&lt;br /&gt;
&lt;br /&gt;
There is a Dataset Management Deallocate command (UNMAP) in nvme-cli:&lt;br /&gt;
 sudo nvme dsm /dev/nvme0n1 -d -s 0x1bf0ea00 -b 0xff&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>