Friday 20 September 2019

kernel: svc: failed to register nfsaclv2 RPC service (errno 111)

When I restart the NFS service I got the following error like the image below




So I resolved the issue by the following steps.

Step 1

Checked the rpcbind status with the following command

service rpcbind status





I got the error like rpcbind dead but pid file exists

so I just restart the rpcbind service with the following command

service rpcbind start


Step 2

Checked the rpcinfo with following command

rpcinfo -p



then I just restart the nfs service with the following command 

service nfs restart




 That's all.
 



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...