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

Managing logical volumes with LVM

Although we can share the entire disk space or disk partitions, it really makes sense to share just the disk space that a client service requires. So, for example, if a web server requires 20 GB of space for web files, we can share just that absolute space, rather than the whole disk that may be terabytes in size. To do so, we will create logical volumes and share these as block devices. To implement LVMs, we create three objects:

  • Physical volumes: This represents the raw disk space as disk partitions. When we use partitions, the partition type should be set to Linux LVM with an ID of 8E using the fdisk partitioning tool.
  • Volume groups: This aggregates physical volumes together so that the disk space can be consumed to logical volumes.
  • Logical volumes: This represents the block device that can be shared. It consumes space that is allocated from volume groups.

On the demonstration RHEL 7.1 system that we will use for this course, I have three disks attached...

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