Forum
FS becomes readonly - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: FS becomes readonly (/thread-691.html)



FS becomes readonly - kraleksandr - 28th Mar, 2013 03:26 AM

After I tried to remove one folder, my sdcard becomes readonly
Terminal
xbian@xbian ~ $ mount
/dev/mmcblk0p2 on / type ext4 (ro,noatime,data=ordered)
Looks like there is some FS errors. Ok, i've did this
Terminal
sudo shutdown -rF now
It helpt, fs back to normal on next boot. But when I try to remove this folder, it becomes ro again.
Cant understand this...

Ok, fsck, remove, fsck, remove, fsck, remove... Now this folder completely removed.
And another question: red-colored filenames started with ? - what is this (MC filemanager)?


RE: FS becomes readonly - gizag - 1st Apr, 2013 09:16 PM

do a "sudo fsck / " before rebooting and then try again ?

It should fix all filesystem corruption


RE: FS becomes readonly - kraleksandr - 2nd Apr, 2013 02:33 AM

(1st Apr, 2013 09:16 PM)gizag Wrote:  do a "sudo fsck / " before rebooting and then try again ?

It should fix all filesystem corruption
srsly?
Terminal
xbian@xbian ~ $ sudo fsck /
[sudo] password for xbian:
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
/dev/mmcblk0p2 is mounted.
e2fsck: Cannot continue, aborting.