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

Get Learning RHEL Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.