Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning RHEL Networking
  • Table Of Contents Toc
Learning RHEL Networking

Learning RHEL Networking

By : Andrew Mallett
4.3 (4)
close
close
Learning RHEL Networking

Learning RHEL Networking

4.3 (4)
By: Andrew Mallett

Overview of this book

This book is ideal for administrators who need to learn the networking abilities of Red Hat Enterprise Linux 7. You may not be a Linux administrator already, but you will need to be able to test files in Linux and navigate the filesystem.
Table of Contents (13 chapters)
close
close
12
Index

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:

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
# find /usr/share/doc -name '*.pdf' -exec cp {} /data/simple \;
# btrfs filesystem show /dev/sdd

The output from the final command is shown in the following screenshot. We can see that we have 5.96 MiB of file space used:

The additional space used (which shows as 138.38MiB) includes typical metadata related to any filesystem, but additionally...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning RHEL Networking
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon