unable to access user loging becouse the Home directory is now listing as a saperate drive

Posted on

fstab entryHi all,

I am quite new to Linux and using RHEL 8.5 in my base laptop.
yesterday i was deleting some junk users and the entries in side fstab which were made for samba practicing.
but after a reboot of the OS, I am unable to login my users. it is returning to login screen after password without any error/warning/message. i found that the partition which was listing as /home earlier not it is listing as a drive mounted at /dev/dm-2 when i logged in by root.

the home path of users not getting at its actual page. but how to recover it without loosing data.

there are some screen shots of fstab , passwd output , other locations to understand.

Please help to resolvefstab entrypasswd user shreesh and rohitpasswd user shreesh and rohitOther location mounted lsblk lsiting of the partition

Responses