imx8mplus : Observations on automount feature of SD Card

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mplus : Observations on automount feature of SD Card

431件の閲覧回数
ssuresh
Contributor I

Hi NXP Team,

Please find our observations on automount feature of SDCard.

1. Board booted up

2. Inserted SD card1 with fs 'ext4'

3. Automounted to /run/media/mmcblk1p1

4. Removed SD Card1

5. Inserted another SD card2 with fs 'extfat'

6. Failed to mount SD card2 due to unknown filesystem to path /run/media/mmcblk1p1

7. Removed the SD Card2

8. Again inserted the SD card1 with fs 'ext4'

This time if fails to mount the SD Card1.

 

To recover this scenario, two ways

1. Reboot the board

2. Restart the below two services

systemctl status systemd-fsck@dev-mmcblk1p1.service

systemctl start run-media-mmcblk1p1.mount

 

Conclusion:

Once we insert an SD card with unsupported filesystem, next time onwards, it will not automount supported filesystems as well. We need to restart the .service and .mount files.

 

Can you provide us any other solution which will automount in all scenarios without restarting the service?

 

0 件の賞賛
返信
2 返答(返信)

383件の閲覧回数
ssuresh
Contributor I

Thanks NXP for the confirmation.

0 件の賞賛
返信

397件の閲覧回数
brian14
NXP TechSupport
NXP TechSupport

Hi @ssuresh

Thank you for contacting NXP Support.

I can confirm your issue. In this case Linux is trying to mount an unsupported filesystem and this action write erroneous variables on the services that you mentioned.
However, this is an expected behavior, and you could avoid the issue deactivating the automount and verifying the supported filesystem before mount.

I hope this information will be helpful. 

Have a great day!

0 件の賞賛
返信