The files and directories you've created and lost during reboot were probably created in the ramfs. /tmp/harddisk is the entrypoint of your harddisk. Every file or directory created there is permanent.
To create files/directories in the ramfs which have to survive a reboot, search this forum on post-boot scripts.