OCI: "mount: /mnt: unknown filesystem type 'LVM2_member'
in Linux
APPLIES TO:
Oracle Cloud Infrastructure
Linux OS - Version Oracle Linux 8.0 and later
SYMPTOMS
When attempting to mount a boot volume backup attached as an additional volume in Oracle Linux 8, the following error occurs:
[opc@<HOSTNAME> ~]$ sudo lvscan
WARNING: Not using device /dev/sdbN for PV 1QLZdu-98jw-a41z-3JjC-2fdH-XXXX-WHnmb1.
WARNING: PV 1QLZdu-98jw-a41z-3JjC-2fdH-XXXX-WHnmb1 prefers device /dev/sdaN because device is used by LV.
ACTIVE '/dev/ocivolume/oled' [10.00 GiB] inherit
ACTIVE '/dev/ocivolume/root' [35.50 GiB] inherit
[opc@<HOSTNAME> ~]$ sudo mount /dev/sdbN /mnt/
mount: /mnt: unknown filesystem type 'LVM2_member'.
CAUSE
The issue arises when attempting to mount a boot volume backup of OL8 that has been attached to an Oracle Linux 8 instance. The LVM system detects duplicate UUIDs and volume group names on /dev/sdbN and /dev/sdaN, resulting in the backup volume being ignored by LVM.
Tagged:
0