0

I am using Lxd container for my sd card access in Linux based device. i mounted sd card with following commands

mount /dev/sda1 /mnt/flash/sdcard.

lxc config device add dhaneesh2 sda disk path=/mnt/sda/ source=/mnt/flash/sdcard

after this sd card can access from lxd container

when i try to remove sd card with following commands

lxc config device remove dhaneesh sda

umount /mnt/flash/sdcard

sd card unmount successfully but if i open lxd container terminal i am inside cd /mnt/sda folder then i try to remove container and apply unmount command still i can access sd card /mnt/sda folder also i can read and write data to it

how to solve this issue

2
  • Filesystems that are in use cannot be unmounted normally. That’s probably the problem here.
    – Daniel B
    Commented Jan 12, 2022 at 8:53
  • yes, any solution for this issue or is there any way to find mount pont is in use or busy Commented Jan 12, 2022 at 10:36

0

You must log in to answer this question.

Browse other questions tagged .