Eu vejo isso estranho quando nossos antigos contêineres Centos7 em nosso nó OpenVZ de repente pararam de funcionar após a reinicialização do nó.
300 5 running IP.X.X.X vps.domain.com
301 85 running IP.X.X.X test.centos7.com
O CTID 300 era o nosso velho contêiner Centos7 e o 301 é o recém-criado contêiner Centos7 para testar.
node002 # vzctl exec 300 df -hT
Warning: Unknown iptable module: xt_connlimit, skipped
Filesystem Type Size Used Avail Use% Mounted on
/dev/simfs simfs 20G 6.3G 14G 32% /
node002 # vzctl exec 301 df -hT
Warning: Unknown iptable module: xt_connlimit, skipped
Filesystem Type Size Used Avail Use% Mounted on
/dev/simfs simfs 30G 5.2G 25G 18% /
devtmpfs devtmpfs 1.0G 0 1.0G 0% /dev
tmpfs tmpfs 1.0G 0 1.0G 0% /dev/shm
tmpfs tmpfs 1.0G 320K 1.0G 1% /run
tmpfs tmpfs 1.0G 0 1.0G 0% /sys/fs/cgroup
node002 # vzctl exec 300 mount
/vz/private/300 on / type simfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
node002 # vzctl exec 301 mount
/vz/private/301 on / type simfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
mqueue on /dev/mqueue type mqueue (rw,relatime)
node002 # vzctl enter 300
Warning: Unknown iptable module: xt_connlimit, skipped
enter into CT 300 failed
Unable to open pty: No such file or directory
~
node002 # vzctl enter 301
Warning: Unknown iptable module: xt_connlimit, skipped
entered into CT 301
[root@test /]#
como podemos obter este tmpfs, / dev / simfs montado para o antigo Centos7 CTID 300?.