Dear systemd developers, I encountered a very weird issue, i.e. the /dev or /tmp disappears when program is running. The client system is nfsroot (diskless), running on the Debian Sid with Linux kernel 4.1.0-2-amd64. The PXE/NFS server is a Debian Live system running NFS server by unfs3 [1], its mounting status is attached as "server-table.txt", and the client's initial mounting status is attached as "client-table.txt". You can see /dev/ is mounted as devtmpfs. This is quite normal. When a system deployment program (clonezilla [2]) is run in the diskless client machine, suddenly the /dev/ is gone, as shown in the attached file "client-table-dev-missing.txt". You can see "/dev/" is missing. To narrow down the issue, I have switched to sysvinit, but still use systemd-udevd on this Debian Sid system.
I am sure systemd-udevd is running: (live)root@debian-192-168-7-1:~# ps -ef |grep udev |grep -v grep root 1190 1 0 11:31 ? 00:00:01 /lib/systemd/systemd-udevd --daemon and its version is 225: # /lib/systemd/systemd-udevd --version 225 However, the /dev still disappears. On different virtual machines, sometimes it's /tmp (mounted with tmpfs) which disappears. Could you please shed some light so that I can avoid this issue? We have been working on solving this problem more than a week, but still can not make it. If you need more info, please let me know. Thank you very much. Steven. [1] http://unfs3.sourceforge.net [2] http://clonnezilla.org -- 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
root@debian:~# df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 100392 560 99832 1% /run /dev/sr0 566684 566684 0 100% /lib/live/mount/medium /dev/loop0 525312 525312 0 100% /lib/live/mount/rootfs/filesystem.squashfs tmpfs 501960 0 501960 0% /lib/live/mount/overlay overlay 501960 72420 429540 15% / tmpfs 5120 0 5120 0% /run/lock devtmpfs 10240 0 10240 0% /dev tmpfs 200780 0 200780 0% /run/shm tmpfs 501960 8 501952 1% /tmp cgroup 12 0 12 0% /sys/fs/cgroup cgmfs 100 0 100 0% /run/cgmanager/fs 192.168.120.254:/home/partimag 1856259072 45424640 1716518912 3% /home/partimag root@debian:~# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=100392k,mode=755) /dev/sr0 on /lib/live/mount/medium type iso9660 (ro,noatime) /dev/loop0 on /lib/live/mount/rootfs/filesystem.squashfs type squashfs (ro,noatime) tmpfs on /lib/live/mount/overlay type tmpfs (rw,relatime) overlay on / type overlay (rw,noatime,lowerdir=//filesystem.squashfs/,upperdir=/live/overlay//rw,workdir=/live/overlay//work) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) pstore on /sys/fs/pstore type pstore (rw,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=121938,mode=755) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=200780k) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,size=12k,mode=755) cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755) 192.168.120.254:/home/partimag on /home/partimag type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.120.3,local_lock=none,addr=192.168.120.254) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
(live)root@debian-192-168-7-1:~# df Filesystem 1K-blocks Used Available Use% Mounted on 192.168.7.254:/tftpboot/node_root 502272 72704 429568 15% / devtmpfs 10240 0 10240 0% /dev tmpfs 100392 440 99952 1% /run none 501960 12 501948 1% /root none 501960 5084 496876 2% /etc none 501960 12216 489744 3% /var 192.168.7.254:/usr 502272 72704 429568 15% /usr tmpfs 5120 0 5120 0% /run/lock tmpfs 200780 0 200780 0% /run/shm tmpfs 501960 8 501952 1% /tmp tmpfs 501960 0 501960 0% /media tmpfs 501960 0 501960 0% /mnt 192.168.7.254:/home 502272 72704 429568 15% /home 192.168.7.254:/home/partimag 1856259072 45424640 1716518912 3% /home/partimag (live)root@debian-192-168-7-1:~# mount 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,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=123336,mode=755) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=100392k,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) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) pstore on /sys/fs/pstore type pstore (rw,relatime) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=200780k) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /media type tmpfs (rw,relatime) tmpfs on /mnt type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) 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:/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,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
(live)root@debian-192-168-7-1:~# df Filesystem 1K-blocks Used Available Use% Mounted on 192.168.7.254:/tftpboot/node_root 502272 72704 429568 15% / tmpfs 100392 440 99952 1% /run none 501960 12 501948 1% /root none 501960 5084 496876 2% /etc none 501960 12216 489744 3% /var 192.168.7.254:/usr 502272 72704 429568 15% /usr tmpfs 5120 0 5120 0% /run/lock tmpfs 200780 0 200780 0% /run/shm tmpfs 501960 8 501952 1% /tmp tmpfs 501960 0 501960 0% /media tmpfs 501960 0 501960 0% /mnt 192.168.7.254:/home 502272 72704 429568 15% /home 192.168.7.254:/home/partimag 1856259072 45424640 1716518912 3% /home/partimag (live)root@debian-192-168-7-1:~# mount 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,nosuid,nodev,noexec,relatime) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=100392k,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) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) pstore on /sys/fs/pstore type pstore (rw,relatime) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=200780k) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /media type tmpfs (rw,relatime) tmpfs on /mnt type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) 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:/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,mountaddr=192.168.7.254,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.7.254)
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
