Friday 4 January 2019

unknown filesystem type 'lvm2_member'

Sometimes we have face this issue when mounting another existing Linux HDD or linux LVM. 

When we trying to mount the partition  it should be activated otherwise it will show the unknown filesystem type. for this we need to do 2 simple commands only. Run the following commands and check.

modprobe dm-mod

modprob utility is used to add loadable modules to kernel. this command load the necessary modules

vgchange -ay

to activate the volume

now scan the LVM

lvscan

you can use this command before starting modprobe also to check which are active and inactive.

Now mount the filesystem

mount /dev/volgrp/lgvol /mnt

Permanent hostname setup for RHEL7

Step 1 Set the host name on NMTUI tool like following nmtui set host name   then save and exit Step 2 add the following l...