Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fuss:btrfs [2017/01/31 12:21] – created officefuss:btrfs [2022/04/19 08:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Force SSD Optimizations on Format ======
 +
 +Some devices are improperly detected on Linux as being rotational (ie: hard-drive with spinning disks) when, in fact, the device is an SSD (flash type) device. ''mkfs.btrfs'' checks:
 +<code>
 +/sys/block/DEVICE/queue/rotational
 +</code>
 +
 +where ''DEVICE'' is a block device (''sda'', ''sdb'', etc...) and if the contents of that file is ''1'', then ''mkfs.btrfs'' considers that the device is rotational and disables SSD features.
 +
 +In case ''mkfs.btrfs'' disables SSD features but you are certain that the device is an SSD, you can simply:
 +<code bash>
 +echo 0 >/sys/block/DEVICE/queue/rotational
 +</code>
 +
 +where ''DEVICE'' is the block device, in order to make the kernel treat the device as a non-spinning disk.
 +
 +After that, you can issue ''mkfs.btrfs'' with your favourite options and ''mkfs.btrfs'' will detect the device as an SSD.
 +
  

fuss/btrfs.txt · Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.