Skip to Content
Learning RHEL Networking
book

Learning RHEL Networking

by Andrew Mallett
June 2015
Intermediate to advanced
216 pages
4h 48m
English
Packt Publishing
Content preview from Learning RHEL Networking

Optimizing btrfs for solid state drives

When creating a btrfs filesystem on multiple SSDs, using the single -m option will ensure that the metadata is not duplicated. On an SSD, duplicating metadata is thought of as a waste of space and has an overhead that can lessen the life of the disk, as shown in the following code:

# mkfs.btrfs -m single /dev/sdb

The second way is to use the ssd mount option. This option will set a few performance options:

  • Allows large metadata clusters
  • Allows more sequential data allocation
  • Disables leaf writing to match key and block order in the b-tree database
  • Commits b-tree log fragments without batching multiple processes
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781785287831