Mediascanner ties up SD cards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is from the ubuntu-phone list.
Hi,
I digged into this, esp. into why the mounted microSD was busy; there is
a process running with the name 'mediascan' and as the SD contained some
100.000 files (map tiles of OpsenStreetMap), this would run hours, I think:
phablet@
mediascan 2077 phablet 13r DIR 179,97 32768 4906 /media/
gdbus 2077 2091 phablet 13r DIR 179,97 32768 4906 /media/
gmain 2077 2323 phablet 13r DIR 179,97 32768 4906 /media/
when you kill this, it comes up again, but when you fire
up the 'umount' right away after the kill, you are lucky:
phablet@
mediascan 7302 phablet 9r DIR 179,97 32768 4900 /media/
gdbus 7302 7304 phablet 9r DIR 179,97 32768 4900 /media/
phablet@
phablet@
phablet@
phablet@
Now I could reformat the card with the SD card app:
SD Card Management --> Format (2 times, 1st error)
it gets mounted and has some initial dirs created by the
SD Card app:
phablet@
/dev/mmcblk1 on /media/
phablet@
total 20
drwxr-xr-x 2 phablet phablet 4096 Apr 4 10:40 Documents
drwxr-xr-x 2 phablet phablet 4096 Apr 4 10:40 Downloads
drwxr-xr-x 2 phablet phablet 4096 Apr 4 10:40 Music
drwxr-xr-x 2 phablet phablet 4096 Apr 4 10:40 Pictures
drwxr-xr-x 2 phablet phablet 4096 Apr 4 10:40 Videos
SD Card Management --> Unmount works too:
phablet@
phablet@
re-inserting the microSD now gives no errors and the card is
mounted:
$ mount | fgrep vfat
/dev/mmcblk1 on /media/
phablet@
/media/
/media/
/media/
/media/
/media/
/media/
phablet@
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk1 7.5G 24K 7.5G 1% /media/
Last question remains: What does the 'mediascan' exactly und what
will it do when I restore the 100.000 files again? Is there a way
to trimm 'mediascan' that it should ignore some dirs?
Thanks
matthias
--
Matthias Apitz, ✉ <email address hidden>, ⌂ http://
--
Mailing list: https:/
Post to : <email address hidden>
Unsubscribe : https:/
More help : https:/