Removal of Logical Volumes
by efe373 from LinuxQuestions.org on (#5EBG6)
Hello everyone,
I got a CentOS 8 computer in my workplace. It has 2 disks, 1 TB HDD and 512 GB SSD. However, these two disks are combined as a logical volume unfortunately... So, I do not have control over my disks. Therefore, I have decided to remove this logical volume, separate these two volumes and use them freely. However, I am very new to Linux systems. How can I do what I wanted? Here is the volumes using lvdisplay command:
Efe


I got a CentOS 8 computer in my workplace. It has 2 disks, 1 TB HDD and 512 GB SSD. However, these two disks are combined as a logical volume unfortunately... So, I do not have control over my disks. Therefore, I have decided to remove this logical volume, separate these two volumes and use them freely. However, I am very new to Linux systems. How can I do what I wanted? Here is the volumes using lvdisplay command:
[root@localhost /]# lvdisplay -v /dev/clThanks for support.
WARNING: Couldn't find device with uuid lE2U0K-Kcay-KVXJ-Luar-h0e7-PaqS-embgAe.
WARNING: VG cl is missing PV lE2U0K-Kcay-KVXJ-Luar-h0e7-PaqS-embgAe (last written to /dev/sda1).
WARNING: Couldn't find all devices for LV cl/home while checking used and assumed devices.
--- Logical volume ---
LV Path /dev/cl/swap
LV Name swap
VG Name cl
LV UUID PpHVit-uTPP-1fdC-5Fxt-DLu3-JneD-3pW1N4
LV Write Access read/write
LV Creation host, time localhost, 2021-01-27 16:04:28 +0300
LV Status available
# open 2
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1
--- Logical volume ---
LV Path /dev/cl/home
LV Name home
VG Name cl
LV UUID A3XLtf-IV5i-1cE9-223B-5j9I-1k3O-s8272C
LV Write Access read/write
LV Creation host, time localhost, 2021-01-27 16:04:28 +0300
LV Status available
# open 1
LV Size <1.30 TiB
Current LE 340594
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:2
--- Logical volume ---
LV Path /dev/cl/root
LV Name root
VG Name cl
LV UUID VWr53b-d2QR-5vFz-WY4g-BFOP-RKaR-8HvBll
LV Write Access read/write
LV Creation host, time localhost, 2021-01-27 16:04:33 +0300
LV Status available
# open 1
LV Size 70.00 GiB
Current LE 17920
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0
Efe