On 9/9/2015 PM 02:11, Lennart Poettering wrote:
On Wed, 09.09.15 10:50, Steven Shiau ([email protected]) wrote:


On 9/8/2015 PM 10:05, Lennart Poettering wrote:
On Tue, 08.09.15 20:45, Steven Shiau ([email protected]) wrote:

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.

What makes you think this is a systemd issue, and not a clonezilla issue?

Lennart

BTW, attached please find the systemd-udevd debug info. I killed the
original systemd-udevd then ran it again with --debug.
You can find the problem occurred about in line 4859.
Hope this helps.
If you need more info, please let me know.
Any comments would be highly appreciated.
Thanks.

Well, you see that "bcache-probe" is invoked right before things go
bad? Whatever that is, maybe that's the problem? Have you tried
turning that rules file off?
Thanks. Yes, a few hours ago I disabled it by removing bcache-tools, and the issue still remains. So I tried a little further, by removing /lib/udev/rules.d/60-persistent-storage.rules, and this issue is gone. I need to do more tests, but so far I have tested 3 times and all diskless/systemless clients I have tested look OK, no /dev/ missing issue. Any new rules in /lib/udev/rules.d/60-persistent-storage.rules could cause this problem on a nfsroot client?
Appreciate.

Steven.

Lennart


--
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
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to