Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning RHEL Networking

You're reading from   Learning RHEL Networking Gain Linux administration skills by learning new networking concepts in Red Hat Enterprise Linux 7

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785287831
Length 216 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing Enterprise Linux 7 FREE CHAPTER 2. Configuring Network Settings 3. Configuring Key Network Services 4. Implementing iSCSI SANs 5. Implementing btrfs 6. File Sharing with NFS 7. Implementing Windows Shares with Samba 4 8. Integrating RHEL 7 into Microsoft Active Directory Domains 9. Deploying the Apache HTTPD Server 10. Securing the System with SELinux 11. Network Security with firewalld Index

Mounting multidisk btrfs volumes from /etc/fstab


If we are mounting the btrfs volumes from the /etc/fstab file, we need to ensure that a btrfs scan is effected before we mount the /data/simple directory. This will locate all the devices that participate within the volume. The initramfs file system can complete this task for us on a later system including RHEL 7. If your existing filesystem was already using btrfs, the scan will be built-in your current initramfs. If btrfs is new to your system, you will need to generate a new initial RAM disk. Make sure that you use the correct initramfs and kernel version for your system when running the following command:

# dracut -v -a btrfs -f /boot/initramfs-$(uname -r) /boot/vmlinuz-$(uname -r)

We can then add an entry into the /etc/fstab file similar to the following:

/dev/sdd  /data/simple  btrfs  defaults  0 0

Creating a RAID1 mirror

The RAID (Redundant Array of Inexpensive Disks) software is also supported by btrfs. The following are the currently...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime