Reply
Thread Tools
Posts: 74 | Thanked: 16 times | Joined on Jan 2010 @ Ireland
#1
Hi

I was copying movie to my n900 in storage mode under ubuntu. The process got stuck on 100%. I didn't have time so I just unpluged the cable (I know, it's wrong).

Now I have my movie in the /home/user/MyDocs/.videos/ and I am unable to remove it.

Nokia-N900:/home/user/MyDocs/.videos/MOVIEi# ls -al
drwxrwxrwx 2 user root 65536 Aug 2 19:41 .
drwxrwxrwx 7 user root 65536 Aug 2 19:41 ..
-rw-r--r-- 1 user root 1472604198 Aug 2 19:42 MOVIE.avi

Nokia-N900:/home/user/MyDocs/.videos/MOVIE# rm -rf MOVIE.avi
rm: cannot remove 'MOVIE.avi': Read-only file system

of course it's not readonly fs

rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
/dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k)
/home/opt on /opt type none (bind)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf 8,uid=29999,shortname=mixed,dmask=000,fmask=0133,r odir)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir)

1) any suggestions what to do?
2) It's nopt the first time it happened to me in Ubuntu. Anyone else have a problem with copying files?

Thanks
 
Posts: 356 | Thanked: 231 times | Joined on Oct 2007
#2
Happens quite often on N800 (different system but problem the same). The only sure way is to remove card and insert again to force remount.

With internal card you may need to restart device. Windowish solution but faster than playing with command line.
 
Posts: 74 | Thanked: 16 times | Joined on Jan 2010 @ Ireland
#3
vvaz: Wow, thats a quick replay! The only problem is that .video is not on the external card. It's internal partition.
 
Posts: 74 | Thanked: 16 times | Joined on Jan 2010 @ Ireland
#4
UPS! Now when I plug in the usb kayble and go in the storage mode I get:

Memory is read-only until fixed.
Try fixing memory with PC after plugging in USB cable. Create data backup first to save existing memory contents.


?!?!

EDIT: Ok, found in anothe thread

Code:
sudo gainroot
umount /home/user/MyDocs
fsck -a /home/user/MyDocs

Last edited by bull81; 2010-08-02 at 18:50.
 

The Following User Says Thank You to bull81 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 00:36.