Solution to mount: unknown file system type LVM2_ error
You may encounter the mount: unknown file system type LVM2_ error during the mounting process on your Ubuntu server. You can follow the steps below to resolve the error.
Using the command below, we can see that sda5 is lvm.
root@ubuntu :~# fdisk -l /dev/sda
root@ubuntu :~# lvmdiskscan
Then we scan the logical volume.
root@ubuntu:~# lvscan
inactive '/dev/186-vg/root' [28.76 GiB] inherit
inactive '/dev/186-vg/swap_1' [1.00 GiB] inherit
Since it will not be activated when the system boots, we activate the lvm volume using the following command.
root@ubuntu:~# vgchange -ay
2 logical volume(s) in volume group "186-vg" now active
Finally, we perform the mounting process according to lvm mount. You can use the command below.
root@ubuntu:~# mount /dev/186-vg/root /mnt/recover
After following the steps, the process was completed successfully.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
313 2
-
How to Grant Windows Administrator Privileges?
229 0
-
How to install Webmin on Ubuntu?
882 2
-
Linux SSH Terminal Commands and Explanations
797 3
-
CentOS Stream 10 Update Commands
856 1
-
CentOS Stream 9 Update Commands
1248 2
-
CentOS Stream 8 Update Commands
675 0
-
What is FreeBSD?
857 2
-
Out: 452 4.3.1 Insufficient system storage
768 2
-
Turning Off Automatic Updates in Windows Operating Systems
879 0