get_started_with_respeaker icon indicating copy to clipboard operation
get_started_with_respeaker copied to clipboard

/dev/mmcblk0p1 not mounted by fstab

Open jravetch opened this issue 8 years ago • 3 comments

I went through the SD expansion instructions and was able to setup the overlay fs; however, the second FAT partition mentioned in the docs is not mounted.

root@ReSpeaker:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 5.2G 16.8M 4.9G 0% / /dev/root 29.0M 29.0M 0 100% /rom tmpfs 61.7M 1.1M 60.6M 2% /tmp /dev/mmcblk0p2 5.2G 16.8M 4.9G 0% /overlay overlayfs:/overlay 5.2G 16.8M 4.9G 0% / tmpfs 512.0K 0 512.0K 0% /dev

I see the following in the event log:

Wed Jan 25 22:24:13 2017 user.crit mountd[1698] /tmp/run/mountd/mmcblk0p2 has expired... unmounting Wed Jan 25 22:24:13 2017 user.crit mountd[1698] finished unmounting Wed Jan 25 22:24:13 2017 user.crit mountd[1698] /tmp/run/mountd/mmcblk0p1 has expired... unmounting Wed Jan 25 22:24:13 2017 user.crit mountd[1698] finished unmounting

Mountd is automounting both partitions to /Media, but this is not what is showing in your example. Please update your docs.

jravetch avatar Jan 26 '17 05:01 jravetch

Hi, Have you try to mount mmcblk0p1 manually?

jerryyip avatar Feb 05 '17 04:02 jerryyip

Mounting it manually works, but the problem right there is that after some time the mmcblk0p1 partition corrupts itself, which is quite strange.

ghost avatar Mar 31 '17 05:03 ghost

I am facing the similar issue here.

root@ReSpeaker:~# dmesg | grep fsck [ 40.830000] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

jacksun101 avatar Apr 08 '17 03:04 jacksun101