I am using a 16GB Micro SD Card on which Raspbian is running. Basically everything is working, however the sd card is acting strange. Whenever I change something or add a new file and reboot the raspberry after, the change is undone. I experienced the same behaviour while using the sd card on my windows. I can create a new file (or change an existing one). After saving the changes and reopening the file, they are still there. But when I unplug the sd card and plug it back in, all the changes are undone again.
Can anyone explain this behaviour to me?