CentOS 6.0을 실행하는 Linux 서버 중 하나의 경우 lsattr / home을 수행하면 다음과 같이 표시됩니다 (루트).
$lsattr /home
lsattr: Inappropriate ioctl for device While reading flags on /home/user
lsattr: Inappropriate ioctl for device While reading flags on /home/user
lsattr: Inappropriate ioctl for device While reading flags on /home/DIR
이제 chattr로 무언가를 변경하려고합니다.
$chattr -R -i /home
chattr: Inappropriate ioctl for device while reading flags on /home
마운트 리턴 :
$mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda3 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
이 문제를 해결하는 방법에 대한 단서가 없습니다. 누군가 도와 줄 수 있습니까?
그거였다. 자동 마운트를 사용하여 / home / DIR에서 LDAP 로그인을위한 홈 디렉토리를 마운트하고 나중에 제거했지만 여전히 / home / DIR을 자동 마운트로 마운트하고있었습니다. 그것은 그것을 고쳤다. 어쨌든 마운트가 자동 마운트 마운트 포인트를 반환하지 않는 이유는 무엇입니까?
—
rchhe
cat /proc/mounts있습니까?