null characters at the end of the file on hard reboot of VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

we have observed that there are null characters written into the open files when hard rebooting a VM. Is tis a known issue?
Our VM is using ceph (0.94.10) storage.
we have a script like this:
while sleep 1; do date >> somefile ; done

if we hard reset the VM while the above line is running we end up with NULL characters in the file :

00000000  54 68 75 20 41 70 72 20  20 36 20 31 34 3a 33 37  |Thu Apr  6 14:37|
00000010  3a 33 33 20 43 45 53 54  20 32 30 31 37 0a 54 68  |:33 CEST 2017.Th|
00000020  75 20 41 70 72 20 20 36  20 31 34 3a 33 37 3a 33  |u Apr  6 14:37:3|
00000030  34 20 43 45 53 54 20 32  30 31 37 0a 54 68 75 20  |4 CEST 2017.Thu |
00000040  41 70 72 20 20 36 20 31  34 3a 33 37 3a 33 35 20  |Apr  6 14:37:35 |
00000050  43 45 53 54 20 32 30 31  37 0a 54 68 75 20 41 70  |CEST 2017.Thu Ap|
00000060  72 20 20 36 20 31 34 3a  33 37 3a 33 36 20 43 45  |r  6 14:37:36 CE|
00000070  53 54 20 32 30 31 37 0a  54 68 75 20 41 70 72 20  |ST 2017.Thu Apr |
00000080  20 36 20 31 34 3a 33 37  3a 33 39 20 43 45 53 54  | 6 14:37:39 CEST|
00000090  20 32 30 31 37 0a 54 68  75 20 41 70 72 20 20 36  | 2017.Thu Apr  6|
000000a0  20 31 34 3a 33 37 3a 34  30 20 43 45 53 54 20 32  | 14:37:40 CEST 2|
000000b0  30 31 37 0a 54 68 75 20  41 70 72 20 20 36 20 31  |017.Thu Apr  6 1|
000000c0  34 3a 33 37 3a 34 31 20  43 45 53 54 20 32 30 31  |4:37:41 CEST 201|
000000d0  37 0a 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |7...............|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

We've observed the same in the syslog file also.

Any thoughts about it?

kind regards,
Laszlo
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux