Day 16 | 100Days IT Corporate Bootcamp | Linux LVM Realtime Scenarios | Create LV | Extend VG & LV 🔥

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • #engrabhishekroshan
    In this Video I have Explained About Linux Realtime Scenarios of Logical Volume Manager (LVM)
    1.How to create Physical volume (PV)
    2.How to create Volume group (VG)
    3.How to create Logical volume (LV)
    4.How to extend Volume Group (vgextend)
    5.How to extend logical volume (lvextend)
    6.How to update the filesystem (resize2fs)
    Join this channel to get access to perks:
    / @engrabhishekroshan
    Watch Hindi Playlist of Linux 100+ Realtime Scenario based interview Questions and Answers
    अब हिंदी में
    Part 1 • Linux 100 + Realtime S...
    Part 2 • Linux 100 + Realtime S...
    AWS 300 + Realtime Scenario based Interview questions and answers explained in detail
    Part 1 : • AWS 300 + Realtime sce...
    Part 2 : • AWS 300 + Realtime sce...
    Part 3 : • AWS 300 + Realtime Sce...
    Part 4 : • AWS 300 + Realtime Sce...
    Watch English Playlist of Linux 100 + Realtime Scenario Based Interview Questions and Answers Explained in Detail
    Part 1 • Linux 100 + Realtime S... ( In this video I covered 8 Q&A)
    Part 2 • Linux 100 + Realtime S... ( In this video I covered 10 Q&A)
    Part 3 • Linux 100 + Realtime S... ( In this video I covered 10 Q&A)
    Part 4 • Linux 100 + Realtime S... ( In this video I covered 12 Q&A)
    Part 5 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 6 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 7 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 8 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 9 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 10 • Linux 100 + Realtime S... (In this video I covered 12 Q&A)
    Part 11 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
    Part 12 • Linux 100 + Realtime S... (In this video I have covered 10 Q&A)
    Part 13 • Linux 100 + Realtime S... (In This Video I have covered 1 Scenario based Interview Q&A ) Disclaimer: Copying, reproducing, or distributing this video content without permission is forbidden. Uploading, sharing, or using this content for any purpose, whether commercial or non-commercial, without the owner's explicit consent, will result in legal consequences. All rights reserved.

Комментарии • 8

  • @katikarlaswapna4839
    @katikarlaswapna4839 4 месяца назад

    Sir we are waiting for the next video

  • @tkbff7348
    @tkbff7348 4 месяца назад

    thanks for your information 🙌🙌

  • @poonamrode9544
    @poonamrode9544 4 месяца назад

    Also one scenario - I have a lvm which using 2 pv disks ? Hiw can we take a backup of these two disk into single disk through oracle cloud console..I want to take backup and restore it to another instance.

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  4 месяца назад +2

      To backup an LVM using two PV disks into a single disk through the Oracle Cloud console and then restore it to another instance, you can follow these steps:
      1.Create a Snapshot of Each PV Disk:
      Log in to the Oracle Cloud console.
      Navigate to the block volume section.
      Select each PV disk used in the LVM and create a snapshot for each one.
      2.Create a New Block Volume:
      Navigate to the block volume section.
      Create a new block volume with sufficient size to accommodate the data from both PV disks.
      3.Restore Snapshots to the New Block Volume:
      For each snapshot created in step 1, select it and choose the option to restore it to the newly created block volume.
      4. Attach the New Block Volume to the Target Instance:
      Navigate to the compute instance section.
      Identify the instance where you want to restore the backup.
      Attach the new block volume (containing the data from the snapshots) to this instance.
      5.Configure LVM on the Target Instance:
      Once the block volume is attached to the instance, configure LVM on this instance.
      Use commands like pvcreate, vgcreate, lvcreate, etc., to set up the logical volume management.
      6.Restore Data to LVM:
      Mount the logical volumes created in the previous step.
      Copy the data from the attached block volume to the mounted logical volumes.
      7.Verify Data:
      Ensure that the data has been successfully restored and is accessible on the new instance.
      These steps should allow you to backup the LVM using two PV disks into a single disk through the Oracle Cloud console and restore it to another instance effectively. Make sure to adjust the specifics according to your exact setup and requirements.

  • @poonamrode9544
    @poonamrode9544 4 месяца назад

    Hello sir, one query
    What is the best practice to create a lvm -
    A. Pvcreate on /dev/sda
    Or
    B. Partition it and then create pvcreate/dev/sda1
    Please guide.

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  4 месяца назад

      It is totally depends upon your requirement and wherein
      A. if you want to use the complete disk for physical volume (PV)-->add it to VG pool and from VG--> you can create n number of LV but if in case your PV fails than you need request for New PV.
      B. Wherein in this case You no need request for a new PV because you have portioned the /dev/sda1 and you have can still have /dev/sda2 or /dev/sda3.So you can use any of this portioned to change the exiting faulty PV