Подробности, и как воспроизводится:
# NAS
[root@storage ~]# cat /etc/exports
/exports/homedirs/common *(rw,no_root_squash,async)
/exports/vps *(rw,no_root_squash,async)
# HN1
[root@c2d ~]# cat /proc/mounts |grep -E '1004'
/vz/private/1004 /vz/root/1004 simfs rw 0 0
/dev/root /vz/root/1004/tmp ext3 rw,data=ordered 0 0
192.168.0.21:/exports/home /vz/root/1004/home nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/fex/exchange /vz/root/1004/fex nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/share/apps /vz/root/1004/opt/apps nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/share/repos /vz/root/1004/repos nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
proc /vz/root/1004/proc proc rw 0 0
sysfs /vz/root/1004/sys sysfs rw 0 0
tmpfs /vz/root/1004/var/run tmpfs rw 0 0
tmpfs /vz/root/1004/var/lock tmpfs rw 0 0
devpts /vz/root/1004/dev/pts devpts rw 0 0
tmpfs /vz/root/1004/dev/shm tmpfs rw 0 0
tmpfs /vz/root/1004/var/run tmpfs rw 0 0
tmpfs /vz/root/1004/var/lock tmpfs rw 0 0
# HN2
[root@services /]# cat /proc/mounts |grep -E '(1008|1030)'
/vz/private/1008 /vz/root/1008 simfs rw 0 0
192.168.0.21:/exports/home /vz/root/1008/home nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/fex/exchange /vz/root/1008/fex nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/share/veda /vz/root/1008/exports/share/veda nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
/proc /vz/root/1008/proc proc rw 0 0
/sys /vz/root/1008/sys sysfs rw 0 0
none /vz/root/1008/dev/pts devpts rw 0 0
/vz/private/1030 /vz/root/1030 simfs rw 0 0
192.168.0.21:/exports/home /vz/root/1030/home nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/fex/exchange /vz/root/1030/fex nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
192.168.0.21:/exports/share/repos /vz/root/1030/repos nfs rw,nosuid,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,pr oto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.21 0 0
proc /vz/root/1030/proc proc rw 0 0
sysfs /vz/root/1030/sys sysfs rw 0 0
tmpfs /vz/root/1030/var/run tmpfs rw 0 0
tmpfs /vz/root/1030/var/lock tmpfs rw 0 0
devpts /vz/root/1030/dev/pts devpts rw 0 0
tmpfs /vz/root/1030/dev/shm tmpfs rw 0 0
tmpfs /vz/root/1030/var/run tmpfs rw 0 0
tmpfs /vz/root/1030/var/lock tmpfs rw 0 0
HN1 VE1004
1. cat > fs-cache_bug.php<<EOF
<?php
phpinfo();
?>
EOF
HN1 VE1004
user@host1004:~/public_html/cache$ cat fs-cache_bug.php
<?php
phpinfo();
?>
HN2 VE1008
[root@samba cache]# cat fs-cache_bug.php
<?php
phpinfo();
?>
HN2 VE1030
root@httpd:/home/user/public_html/cache# cat fs-cache_bug.php
<?php
phpinfo();
?>
HN2 VE1008
[root@samba cache]# echo "<?php echo "1008"; ?>" >> fs-cache_bug.php
[root@samba cache]# cat fs-cache_bug.php
<?php
phpinfo();
?>
<?php echo 1008; ?>
HN2 VE1030
root@httpd:/home/user/public_html/cache# cat fs-cache_bug.php
<?php
phpinfo();
?>
<?php echo 1008; ?>
HN1 VE1004
user@host1004:~/public_html/cache$ cat fs-cache_bug.php
<?php
phpinfo();
?>
PS.
Совсем забыл , везде Centos 5 x86_64/2.6.18-8.1.8.el5.028stab039.1.sa.1
[Updated on: Wed, 15 August 2007 13:27] Report message to a moderator
|