I am trying to mount an UBIFS partition which read-write enabled. I am using the following commands for that.
$ cat /proc/mtd
$ ubiformat /dev/mtd11
$ ubiattach -m 11 /dev/ubi_ctrl
$ mkdir -p /mnt/NAND1
$ ubimkvol /dev/ubi2 -N NAND1 -s 30000000
$ mount -t ubifs ubi2:NAND1 /mnt/NAND1/
I am able to mount properly and read or write data in that partition. But when i hard power off/on i.e. reset the board, the Partition is gone.
I tried to create a symlink and see if it works but that didn't work as well.
What is the solution for this problem? please let me know.
The board is i.mx6 solo.