Я вижу странно, когда наши старые контейнеры Centos7 на нашем узле OpenVZ внезапно перестали работать после перезагрузки узла.
300 5 running IP.X.X.X vps.domain.com
301 85 running IP.X.X.X test.centos7.com
CTID 300 был нашим старым контейнером Centos7, а 301 - новым контейнером Centos7 для тестирования.
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 /]#
Как мы можем получить эти tmpfs, /dev /simfs для старого Centos7 CTID 300?.