LVM: The Powerful Tool for Managing Storage on Linux Systems
Last updated
Last updated
It is highly recommended to use a new or fresh disk condition to avoid any errors, for this setup, I'm using Hetzner.
Please order a cloud server, auction server, or dedicated server.
You can use this link to get a discount on setting up a cloud server.
Click install OS with rescue system
After you've completed your order, please SSH into the server using the command :
Run this command for the OS installation. You are free to choose the OS that suits your needs.
If the server has multiple drives, you can use the variables SWRAID
and SWRAIDLEVEL
to create different software RAID levels. Any software RAID levels are always applied to all drives. (That means drives marked with DRIVE, as discussed above.) drives. If you don't want software RAID on a particular drive, you'll need to remove it accordingly.
The script can create software RAID with levels 0, 1, 5, 6 or 10
The variable HOSTNAME
sets the corresponding host name in the system.
Go to the bottom and execute a command similar to the following.
Go to the logical volume section and execute the command below.
After completing the steps, perform a server reboot, and your Logical Volume Management (LVM) setup should be successfully created.
Result :