Urgent: File under a partition not retained at the time device restart

For flashing NK.bin image in my device i have created 2 partitions in my nand flash. Those are mounted likea. /bootb. /dataI have copied the NK.bin image to boot partition.My Application Settings file is in data partition.But every time i restarted the device, Settings filewithin data partition automatically deleted.