0

I have a system without any local storage, that is booting via PXE/TFTP and has an NFS root and some iSCSI targets mounted.

I'm trying to debug a condition when due to some service the network is apparently being reset. Obviously from that moment logs can't be written anymore. I attached Keyboard and screen and tried to run dmesg after the event, but that doesn't produce any output and doesn't even terminate (probably waiting for the rootfs to coem back)

Now that makes debugging the actual issue very difficult. I was wondering if I could directly stream the syslog to the screen, similar to "tail -f /var/log/syslog" but without going through the filesystem and thus avoiding the problems when it goes missing. Any ideas?

Maybe there is also a simpler solution?

PS: what would be a proper tag for such a system with no local storage? thin-client seems a bit off...?

Mofef
  • 21
  • 3
  • Yes, that was indeed helpful. It's not exactly the same question, so not all answers are helpful, especially not the accepted one, but "dmesg -w" proved to be a good solution. Would you call it a duplicate nontheless? Thanks for pointing that out @GeraldSchneider – Mofef Sep 15 '22 at 15:30

0 Answers0