O'Reilly logo

Learning RHEL Networking by Andrew Mallett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required