Now I have met strange problem in Linux Centos 7.
I would like to test "recreate the device files for LVM volumes". In this case, you can be system crash and lost devices file for lVM. For that, I deleted any volume group device file under /dev/mapper/ directory. And I wanted to rename lvm directory name under /etc directory in which I want to observe again create this directory or no when I wrote "vgmknodes" commands. In this time It gave me Permission denied that I was in system with root user.
mv /etc/lvm /etc/lvm.old
mv: cannot move ‘/etc/lvm’ to ‘/etc/lvm.old’: Permission denied
What is reason? Why permission denied via root user
Thanks in advance