Reply
Thread Tools
Posts: 9 | Thanked: 0 times | Joined on Jun 2013
#1
Hi guys,
Yesterday i was downloading a file from my laptop to n900 using winscp . but suddenly my phone restarted in between transfer.

now i have a file with extension ".filepart" which now i cant remove.
i followed the steps with reference to
the thread
http://talk.maemo.org/showthread.php?t=46309&page=5
but in between when i try to unmount MyDocs its showing
"can't umount device is busy ".

please help .
Thanks & Regards
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#2
Often when something like that happens, it's because there is I/O activity on the partition you are trying to unmount. Make sure nothing is running and check with listing the open files.

Code:
sudo lsof | grep <write_partition_here>
If anything is open, kill it and try again.
Good luck!
 

The Following User Says Thank You to anthonie For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#3
Have you tried deleting the file as root?
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on Jun 2013
#4
Originally Posted by anthonie View Post
Often when something like that happens, it's because there is I/O activity on the partition you are trying to unmount. Make sure nothing is running and check with listing the open files.

Code:
sudo lsof | grep <write_partition_here>
If anything is open, kill it and try again.
Good luck!
Hi Anthonie
thankx for the reply.
what kind of probable apps can create the lock?
do i need to close the widget?
i havnt created any partition just the standard
dev/mmcblk0p1 27.0G

and can i use the htop app to kill task?
and if yes then wats the things i shud look for?


thankx again

Last edited by DKeY; 2013-06-27 at 13:52.
 
Posts: 9 | Thanked: 0 times | Joined on Jun 2013
#5
Originally Posted by pichlo View Post
Have you tried deleting the file as root?
Hi Pichlo'
yes i have root access.
i also tried to remove it via file box but it jst hangs the device.
 
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#6
just do this


HTML Code:
umount /dev/mmcblk0p1
fsck -a /dev/mmcblk0p1
mount /dev/mmcblk0p1
HTML Code:
rm -rf  xxxx
xxxx ( file name and path )


or you can connection between the mobile and computer and make scan then delete the file easy
 

The Following 2 Users Say Thank You to amr.fayz For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on Jun 2013
#7
Originally Posted by amr.fayz View Post
just do this


HTML Code:
umount /dev/mmcblk0p1
fsck -a /dev/mmcblk0p1
mount /dev/mmcblk0p1
HTML Code:
rm -rf  xxxx
xxxx ( file name and path )


or you can connection between the mobile and computer and make scan then delete the file easy

Thankyou
that did the job.
but i still didnt get it why i wasnt able to unmount the partition previously.
 
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#8
Originally Posted by DKeY View Post
what kind of probable apps can create the lock?
Tracker, most likely.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:05.