Details
-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
Lustre 2.5.2, Lustre 2.4.3
-
None
-
3
-
15524
Description
Lustre 2.5.2
Some tools have problems reading the import proc file in the mdc and osc directories. For example, "less" detects binary data in this file, and I've noticed a couple different YAML parsers have failed to parse the file. It turns out there is a sequence of NULs in the middle of the file which might be causing the issues:
$ hexdump -C /proc/fs/lustre/osc/lustre-OST0001-osc-ffff88001b4abc00/import ... 000003d0 68 74 3a 20 30 0a 20 20 20 20 20 20 20 75 6e 72 |ht: 0. unr| 000003e0 65 67 69 73 74 65 72 69 6e 67 3a 20 30 0a 20 20 |egistering: 0. | 000003f0 20 20 20 20 20 74 69 6d 65 6f 75 74 73 3a 20 30 | timeouts: 0| 00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000004b0 00 00 00 00 00 00 00 00 00 00 00 0a 20 20 20 20 |............ | 000004c0 20 20 20 61 76 67 5f 77 61 69 74 74 69 6d 65 3a | avg_waittime:| 000004d0 20 34 36 35 20 75 73 65 63 0a 20 20 20 20 73 65 | 465 usec. se| 000004e0 72 76 69 63 65 5f 65 73 74 69 6d 61 74 65 73 3a |rvice_estimates:| ...