View Single Post
Maruzko's Avatar
Posts: 145 | Thanked: 44 times | Joined on Jun 2010 @ Sydney
#49
Originally Posted by nuke View Post
Hi gaffa

I had the same issue, with transmission, after it crashed the
/home/user/MyDocs folder became readonly, and I could not
delete the torrents and or save any pictures.


This is what I did :


1) From xterm I signed in as root and remounted the filesystem in
/home/user/MyDocs as read and write.

Code:
     mount -o remount,rw  /home/user/MyDocs
2) I deleted the torrents

Code:
    rm -rf  /home/user/MyDocs/Downloads/files.torrent*
3)Checked what device was mounted /home/user/MyDocs under

Code:
   Nokia-N900-42-11:~# df -h

   /dev/mmcblk0p1   27.0G  1.3G 25.7G  5% /home/user/MyDocs
4) And runed fsck.vfat to clear filesystem inconsistencies on the
device reported /dev/mmcblk0p1

a) I unmounted filesystem first *****that is very important

Code:
Nokia-N900-42-11:~# umount /home/user/MyDocs/
b) Then fsck.vfat /dev/mmcblk0p1
Code:
Nokia-N900-42-11:~# fsck.vfat /dev/mmcblk0p1
dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN
alleged total clusters: 442377
4424
8848
13272
17696
checked clusters: 21510
/dev/mmcblk0p1: 1797 files, 21510/442377 clusters
Nokia-N900-42-11:~#
I had to run fsck.vfat a few times until it came up clear v

5) I rebooted the n900 and all was OK.
Excellent thanx, this worked for me after a transmission crash too.