maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Unable to delete a .filepart (https://talk.maemo.org/showthread.php?t=90571)

DKeY 2013-06-27 07:46

Unable to delete a .filepart
 
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

anthonie 2013-06-27 07:52

Re: Unable to delete a .filepart
 
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!

pichlo 2013-06-27 08:55

Re: Unable to delete a .filepart
 
Have you tried deleting the file as root?

DKeY 2013-06-27 13:47

Re: Unable to delete a .filepart
 
Quote:

Originally Posted by anthonie (Post 1355019)
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

DKeY 2013-06-27 13:49

Re: Unable to delete a .filepart
 
Quote:

Originally Posted by pichlo (Post 1355038)
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.

amr.fayz 2013-06-27 14:00

Re: Unable to delete a .filepart
 
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

DKeY 2013-06-27 14:31

Re: Unable to delete a .filepart
 
Quote:

Originally Posted by amr.fayz (Post 1355125)
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 2013-06-27 14:32

Re: Unable to delete a .filepart
 
Quote:

Originally Posted by DKeY (Post 1355120)
what kind of probable apps can create the lock?

Tracker, most likely.


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

vBulletin® Version 3.8.8