Logical Volume Managers for Linux users

by | Sep 23, 2016

A Logical Volume manager (LVM) for Linux enables to manage disk space in a very flexible way. It allows to add disk space to a logical volume and its filesystem while such filesystem is mounted and active. It provides the ability to collect multiple physical hard drives and partitions in a single volume group that can be divided into logical volumes.

The volume manager also helps reducing the amount of disk space allocated to a logical volume, but with some requirements: the volume can’t be mounted and the size of the filesystem where it is hosted must be reduced first.

In addition, LVM allows to add disk space to a server creating a new group of volumes or adding space to a existing group of volumes expanding a logical volume in that group or creating a new one. To add a new logical volume you should follow these steps:

  1. Install a new hard drive if necessary.
  2. Optional: Create a partition on the hard drive.
  3. Create a physical volume of the full hard drive or a partition on the hard disk.
  4. Assign the new physical volume to an existing volume group or create a new group of volumes.
  5. Create a new logical volume from the space of the group of volumes.
  6. Create a filesystem in the new logical volume.
  7. Add the appropiate entries to mount the filesystem: to /etc/fstab
  8. Mount the filesystem.

For further info and tips on LVM read the original article

SHARE

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent posts

VDI: The most secure environment for hybrid working

Today is Data Privacy Day. The purpose of this date is to raise awareness and promote privacy and data protection best practices. It was initiated by the European Commission, the Council of Europe, and the Data Protection authorities of the European Union’s member states. Their main goal was to drive attention to the importance of privacy, user data protection, and compliance of the General Data Protection Regulation (RGPD). It is a regulation characterized by significant fines for non-compliance since its implementation in 2018.

How to avoid issues with virtual machines

Virtualization comes with a wide range of benefits for organizations. It helps cut IT costs and reduces downtime while increasing efficiency and productivity. It also increases the resiliency of networks, primarily when disasters occur, and promotes more green-friendly operations.

However, using virtual machines also comes with a set of downsides. Information security may get compromised, workloads mixed up, separation duties lost, among other issues. It is vital to know how you can get over these problems, and that’s what this article will discuss.

Let’s get started.

Archives


Stay up to date with all the news from UDS ENTERPRISE through our social networks. Follow us!

Skip to content