Logical Volumes in Linux
Learn to create logical volumes in Linux CentOS 8. Logical volumes can span across multiple drives. If you run out of space in the physical volume, you can add additional drive and make it a logical drive. To create the logical volumes, the partition must be of type "Linux LVM" i.e. Linux Logical Volume. In MBR partition, the hex code for Linux LVM is 8e and in GPT partition, the hex code for Linux LVM is 8e00. The Linux LVM partition must be converted into physical volume using the command: sudo pvcreate 'partition_name' Next, the volume group must be created and the physical volume should be added in the volume group using the command: sudo vgcreate 'volume_group_name' 'physical_volume' Then, logcial volume is created for that volume group using following command: sudo lvcreate -L 'size' -n 'logical_volume_name' 'volume_group_name' Finally, the file system is defined for the logical volume and then the logical volume is mounted on the system. fdisk for MBR: https://www.youtube.com/watch?v=sh3tLXTpCVw gdisk for GPT: https://www.youtube.com/watch?v=5fncLIKfywk fstab for mount: https://www.youtube.com/watch?v=vSA4tQqJF18 Linux CentOS 8 tutorials: https://www.youtube.com/watch?v=59u_GBLJ1WI&list=PLTGb7Fhy-jx_z9CMD8Vb0uVXYjlWXJirn Facebook: https://www.facebook.com/techvitals/
Download
0 formatsNo download links available.