Took over a few Oracle Linux VMs from another team and found this weird situation. The /scratch is mounted on a logical volume according to them, but seems that the system is having some error and the corresponding LV is actually missing.
# df -h | grep scratch /dev/mapper/vg01-lv_scratch 98G 696M 92G 1% /scratch
lvs doesn't show this
vg01-lv_scratch while it's supposed to, compared to some normal status hosts.
lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lv_root vg00 -wi-ao---- 51.00g lv_swap vg00 -wi-ao---- 8.00g
The folder itself works fine right now, but when we tried to reboot one of the VM, and it'll fail to find
/dev/mapper/vg01-lv_scratch to mount.
I'm curious how it can end up like this? If the LV is missing, shouldn't the mounted file-system stop working as well? If it's still working fine, where exactly it is mounted at and where can we find the data? Or fix this situation?