What is LVM in Linux with Example in Hindi | MPrashant


Summary

The video provides a comprehensive overview of Logical Volume Management (LVM), covering its advantages, key commands (such as LVM create, VG create), and practical applications through real-time examples. Viewers learn about creating volume groups, adding new space, extending volumes, and optimizing storage management using LVM commands like mkfs.xfs and fdisk. The tutorial also delves into creating and managing virtual machines, resizing partitions effectively, and maximizing the efficiency of disk spaces and file systems through LVM features.


Introduction to Logical Volume Manager (LVM)

Explains the basics of LVM, including what is LVM, its advantages, and possibilities of using LVM.

Common Steps and Commands

Discusses common steps and commands like LVM create, VG create, and provides a real-time example with two cases.

Included Steps and Features

Details the steps and features included in LVM, such as adding new space, understanding volume groups, and extending the space.

Understanding LVM Disk

Explains the concept of LVM disk, installation, and utilizing LVM for volume grouping and partitioning.

Volume Group Creation

Describes the process of creating a volume group from disks, enabling partitioning within the volume group.

Benefits of LVM

Discusses the advantages of LVM, the case of disk data, and practical possibilities achievable with LVM.

Adding New Space

Explains the steps of adding new space, creating logical volumes, and understanding physical volumes for effective storage management.

Task Execution and Disk Partitioning

Explanation of executing tasks and creating disk partitions using commands such as fdisk and mkfs.xfs.

Creating Physical Volumes and Volume Groups

Creation of physical volumes and volume groups using command lines like create, allocate size, and naming conventions.

Creating Logical Volumes

Detailed steps for creating logical volumes, assigning sizes, and naming conventions for volume groups.

File System Creation and Mounting

Use of commands like mkfs.xfs and mounting file systems using disk identifiers and paths.

Additional Disk Operations

Explanation of extending disk space, creating new partitions, and adjusting file system sizes.

Implementing Disk Changes

Demonstration of adding, extending, and managing disk spaces and file systems using specific commands.

Verification and Optimization

Checking, verifying, and optimizing disk partitions, file systems, and volume groups for effective usage.

Working with Virtual Machines

The process of creating and managing virtual machines, including powering on/off, creating hard drives, selecting space, and configuring partitions.

Creating Partitions

Steps involved in creating partitions, setting up partitions, choosing between primary and logical volumes, creating partitions with specific sizes, and resizing partitions as needed.

Volume Management

Explanation of physical volumes, avoiding the need for volume groups, and extending logical volumes for efficient storage management.

Resizing and Resizing Requirements

The process of resizing partitions, determining the required sizes for resizing, and handling resizing requests effectively.

Logo

Get your own AI Agent Today

Thousands of businesses worldwide are using Chaindesk Generative AI platform.
Don't get left behind - start building your own custom AI chatbot now!