[systemd-devel] /dev or /tmp disappears when program is running

Steven Shiau steven at nchc.org.tw
Sat Sep 12 20:34:12 PDT 2015



On 09/09/2015 03:41 PM, Steven Shiau wrote:
> OK, after more tests here, although after removing
> /lib/udev/rules.d/60-persistent-storage.rules, the /dev/ missing issue
> is gone. However, we still encountered sometimes the NFS mounting
> (/usr) or /tmp (tmpfs) is missing in the nfsroot client.
> Do you need me to do more different tests?
> Any comments would be highly appreciated.
> Thanks.
>
> Steven.
I made the live system again with the latest packages on the Debian Sid,
so now systemd has been upgraded to version 226.
The time I have completely switch back to systemd, no more sysvinit with
"systemd-udevd" only.
With the same nfsroot architecture, the initial status of mounting
status in the nfsroot client is attached as "df-ok.txt" and "mount-ok.txt".
I actually did not run any Clonezilla job, just opened iceweasel to
browse youtuble in the nfsroot client.
Then again, the /tmp (tmpfs) is missing. The mounting status is attached
as "df-tmp-missing.txt" and "mount-tmp-missing.txt".
Any more info shall I provide?
Thanks.

Steven.

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C

-------------- next part --------------
Filesystem                                      1K-blocks     Used  Available Use% Mounted on
192.168.7.254:/tftpboot/node_root                  502272   103424     398848  21% /
devtmpfs                                            10240        0      10240   0% /dev
tmpfs                                               97568     4884      92684   6% /run
none                                               243920       12     243908   1% /root
none                                               243920     5568     238352   3% /etc
none                                               243920    12332     231588   6% /var
192.168.7.254:/usr                                 502272   103424     398848  21% /usr
192.168.7.254:/tftpboot/node_root/var/lib/dpkg     502272   103424     398848  21% /var/lib/dpkg
tmpfs                                              243920        0     243920   0% /dev/shm
tmpfs                                                5120        0       5120   0% /run/lock
tmpfs                                              243920        0     243920   0% /sys/fs/cgroup
tmpfs                                              243920        0     243920   0% /mnt
tmpfs                                              243920        4     243916   1% /tmp
tmpfs                                              243920        0     243920   0% /media
192.168.7.254:/opt                                 502272   103424     398848  21% /opt
192.168.7.254:/home                                502272   103424     398848  21% /home
192.168.7.254:/var/spool/mail                      502272   103424     398848  21% /var/spool/mail
192.168.7.254:/home/partimag                   1856259072 50128896 1711814656   3% /home/partimag
tmpfs                                               48784        0      48784   0% /run/user/1001
tmpfs                                               48784        0      48784   0% /run/user/0
-------------- next part --------------
192.168.7.254:/tftpboot/node_root on / type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
none on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=58826,mode=755)
none on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=97568k,mode=755)
none on /root type tmpfs (rw,relatime,mode=700)
none on /etc type tmpfs (rw,relatime,mode=755)
none on /var type tmpfs (rw,relatime,mode=755)
192.168.7.254:/usr on /usr type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/tftpboot/node_root/var/lib/dpkg on /var/lib/dpkg type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
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/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
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,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /media type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
192.168.7.254:/opt on /opt type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/home on /home type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/var/spool/mail on /var/spool/mail type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/home/partimag on /home/partimag type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=,local_lock=all,addr=192.168.7.254)
tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=48784k,mode=700,uid=1001,gid=1002)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=48784k,mode=700)
-------------- next part --------------
Filesystem                                      1K-blocks     Used  Available Use% Mounted on
192.168.7.254:/tftpboot/node_root                  502272   111104     391168  23% /
devtmpfs                                            10240        0      10240   0% /dev
tmpfs                                               97568     4892      92676   6% /run
none                                               243920       12     243908   1% /root
none                                               243920     5568     238352   3% /etc
none                                               243920    12380     231540   6% /var
192.168.7.254:/usr                                 502272   111104     391168  23% /usr
192.168.7.254:/tftpboot/node_root/var/lib/dpkg     502272   111104     391168  23% /var/lib/dpkg
tmpfs                                              243920        0     243920   0% /dev/shm
tmpfs                                                5120        0       5120   0% /run/lock
tmpfs                                              243920        0     243920   0% /sys/fs/cgroup
tmpfs                                              243920        0     243920   0% /mnt
tmpfs                                              243920        0     243920   0% /media
192.168.7.254:/opt                                 502272   111104     391168  23% /opt
192.168.7.254:/home                                502272   111104     391168  23% /home
192.168.7.254:/var/spool/mail                      502272   111104     391168  23% /var/spool/mail
192.168.7.254:/home/partimag                   1856259072 50128896 1711814656   3% /home/partimag
tmpfs                                               48784        4      48780   1% /run/user/1001
tmpfs                                               48784        0      48784   0% /run/user/0
-------------- next part --------------
192.168.7.254:/tftpboot/node_root on / type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
none on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=58826,mode=755)
none on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=97568k,mode=755)
none on /root type tmpfs (rw,relatime,mode=700)
none on /etc type tmpfs (rw,relatime,mode=755)
none on /var type tmpfs (rw,relatime,mode=755)
192.168.7.254:/usr on /usr type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/tftpboot/node_root/var/lib/dpkg on /var/lib/dpkg type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
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/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
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,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
192.168.7.254:/opt on /opt type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/home on /home type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/var/spool/mail on /var/spool/mail type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
192.168.7.254:/home/partimag on /home/partimag type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=,local_lock=all,addr=192.168.7.254)
tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=48784k,mode=700,uid=1001,gid=1002)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=48784k,mode=700)


More information about the systemd-devel mailing list