The Sixth Report Of My Challenge | Answered Two Questions

Bilal KhanBilal Khan
3 min read

After the release of the fifth report, I got many answers. Now It's time for the sixth report in which I am going to answer 2 more questions.

I recorded a video about the same topic also that you can watch and it will help you better understand it.

The first question is:

What is Raid setup in Kubernetes?

In Kubernetes, a RAID (Redundant Array of Independent Disks) setup refers to the configuration of a distributed storage system that uses multiple physical disks to provide fault tolerance and performance improvements.

The purpose of a RAID setup is to improve the reliability and availability of data by ensuring that if one disk fails, the data can still be accessed from the remaining disks.

Kubernetes supports several different RAID levels, including RAID 0, RAID 1, RAID 5, and RAID 6. Each level provides different levels of performance and redundancy and is suitable for different use cases.

RAID 0 is the simplest RAID level and provides increased performance by striping data across multiple disks, but offers no redundancy. RAID 1 provides complete redundancy by mirroring data across multiple disks but offers no performance benefits. RAID 5 and RAID 6 offer a combination of performance and redundancy by using parity data to recover from disk failures.

The second question is:

What is LVM setup and what are its components?

LVM (Logical Volume Manager) is a software component in Linux that allows for the creation and management of logical volumes, which are virtual partitions that can increase the number of multiple physical disks.

The purpose of LVM is to provide a more flexible and dynamic way of managing disk space, allowing for easier resizing, adding or removing storage devices, and providing additional redundancy and performance benefits.

The key components of an LVM setup are:

  1. Physical Volumes (PVs): These are the physical disks or partitions that are added to the LVM setup. They are first initialized as physical volumes before being combined into logical volumes.

  2. Volume Groups (VGs): A volume group is a collection of physical volumes that are combined to form a larger pool of storage. The VG provides a single administrative domain, making it easier to manage and allocate disk space.

  3. Logical Volumes (LVs): These are the virtual partitions that are created from the volume group. Logical volumes can be dynamically resized and moved between physical disks, allowing for flexible management of disk space.

  4. LVM metadata: This is the data that describes the LVM setup, including information about the physical volumes, volume groups, and logical volumes. It is stored on each physical volume to ensure redundancy and fault tolerance.

Resources

Next Step

The next step is to solve two more questions that I have added here. You can check them out.

That's it for now. Did you like this blog? Please let me know.

You can Buy Me a Coffee if you want to and please don't forget to follow me on YouTube, Twitter, and LinkedIn also.

Happy Learning!

0
Subscribe to my newsletter

Read articles from Bilal Khan directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Bilal Khan
Bilal Khan

Backend Engineer, & a Go Developer | Open Source Contributor, AWS Community Builder, YouTuber, and Blogger.