Tag: SATA SSD

Best SSD Buying Guide: NVMe, M.2, PCIe, SATA and SAS

What is the best solid state drive on the market? What is the fastest SSD? What is the best buy SSD? We answer these complex questions this buying guide.

Solid state drives (SSDs) are now available in multiple form factors, capacities, speeds, functions and price ranges. Smaller PCIe and M.2. form factors that can move the power of flash closer to the CPU.

 

Source: Best SSD Buying Guide: NVMe, M2, PCIe, SATA and SAS

How to Disable Disk Write Caching in Ubuntu To Prevent Data Loss | UbuntuHandbook

Disk write cache is a feature provided by drive vendors to improve the performance of the disks.
This feature can result in data loss if there are sudden power outages.
It depends on the application to decide whether to enable disk write cache or not.
For SATA SSD drives the following commands can be used to enable and disable write caching.

To know write caching is enabled/disabled
hdparm -W /dev/sda

To enable write cache
hdparm -W 1 /dev/sda

To disable write cache
hdparm -W 0 /dev/sda

where, /dev/sda is example SATA SSD used.

You can get the details of the drive susing lsscsi command.

Source: How to Disable Disk Write Caching in Ubuntu To Prevent Data Loss | UbuntuHandbook