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

Creating the btrfs filesystem

To begin with, we will create a btrfs filesystem on the /dev/sdd complete disk. We do not need to partition the disk first, saving us time from the outset. This is shown in the following command line:

# mkfs.btrfs /dev/sdd

With the filesystem created, we can take the time to become familiar with the integrity check tool:

# btrfsck /dev/sdd

The following screenshot shows the output from my system:

Creating the btrfs filesystem

To verify that the btrfs filesystem is in operation, we will create a directory and mount it therein. We will also copy some data and display the usage information for the disk:

# mkdir -p /data/simple
# mount /dev/sdd /data/simple ...
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