Loosed files after umount/mount

Artem Bityutskiy dedekind1 at gmail.com
Wed Jun 27 07:00:58 EDT 2012


On Mon, 2012-06-18 at 22:29 +0200, Andreas Friesen wrote:
> Hello,
> 
> I'm experiencing a strange problem with JFFS2 using Linux
> 3.1.5, 3.4 from kernel.org.git on PowerPC. After unmounting and
> remounting the filesystem,
> directory is empty.

So is it 3.4 or 3.1.5?

> $ flash_erase /dev/mtd2
> $ reboot
> $ mount mtd:storage /storage -t jffs2
> $ scp root at server:/tmp/settings/*.xml /storage
If you add "sleep 20" here - does it help?
> $ sync
> $ umount /storage
> $ mount mtd:storage /storage -t jffs2
> $ ls /storage
> ... empty ?????
> 
> Any Hints?

Is it NOR or NAND? My first guess is that the write-buffer is not
synced. Or there are issues with the driver, try to run mtd tests.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120627/a4a9e2cc/attachment-0001.sig>


More information about the linux-mtd mailing list