maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Partly corrupted mmcblk0p1 (https://talk.maemo.org/showthread.php?t=100550)

peterleinchen 2018-11-14 05:48

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by endsormeans (Post 1550637)
...
You used more words in your answer than me.
:p
:D

ORLY?
D*#n :D

peterleinchen 2018-11-14 05:54

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by sirvival (Post 1550638)
...
I have to repair the sqlite message database once a month btw. Otherwise SMS I write do not appear.

sqlite3 /home/user/.rtcom-eventlogger/el-v1.db VACUUM;
...

That indeed leads me to another assumption:
please open x-term and do
Code:

df -h
and resp.
Code:

df -i
Could it be that you have lot of applications and/or personal data on the rootfs or home partition.
As not showing up of SMS was a symptom of full rootfs!

sirvival 2018-11-14 06:08

Re: Partly corrupted mmcblk0p1
 
Don't think so

df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.9M 141.0M 82.7M 63% /
ubi0:rootfs 227.9M 141.0M 82.7M 63% /
tmpfs 1.0M 112.0k 912.0k 11% /tmp
tmpfs 256.0k 88.0k 168.0k 34% /var/run
none 10.0M 84.0k 9.9M 1% /dev
tmpfs 64.0M 4.0k 64.0M 0% /dev/shm
/dev/mmcblk0p2 2.0G 606.4M 1.3G 32% /home
/home/opt 2.0G 606.4M 1.3G 32% /opt
/opt/pymaemo/usr/lib/python2.5
2.0G 606.4M 1.3G 32% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2.0G 606.4M 1.3G 32% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2.0G 606.4M 1.3G 32% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2.0G 606.4M 1.3G 32% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2.0G 606.4M 1.3G 32% /usr/lib/python-support
/dev/mmcblk0p1 27.0G 122.3M 26.9G 0% /home/user/MyDocs
/dev/mmcblk1p1 3.7G 2.4G 1.3G 66% /media/mmc1

df -i says invalid option
Testdisk found some unrecoverable sectors a the end off the LBA

pichlo 2018-11-14 06:21

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by endsormeans (Post 1550637)
Yes ...I would love to correct you peter...

You used more words in your answer than me.
:p
:D

And that is completely, absolutely and in all other ways inconceivable! :eek:

@sirvival, I suspect you are on the right track and your eMMC is on its last leg. Sorry, but I do not know about any on-device tools for marking bad sectors. When you come home, you can use Boot menu to export your partitions and do the magic on the big PC.

peterleinchen 2018-11-14 06:39

Re: Partly corrupted mmcblk0p1
 
Okay...

but at least eMMC is full up to the roof
Quote:

/dev/mmcblk0p1 27.0G 122.3M 26.9G 0% /home/user/MyDocs
/
So clearing up some space would be first step, move big chunks to the SD card.

df -igittigiit is the option not mysreading/typing df -laberlaber :)

pichlo 2018-11-14 08:06

Re: Partly corrupted mmcblk0p1
 
Quote:

Originally Posted by peterleinchen (Post 1550643)
but at least eMMC is full up to the roof

Might be, might be not. It may be an illusion caused by the corruption.

But I agree, copy (not move, as moving involves deleting i.e. writing which may exacerbate the problem) stuff you want to salvage somewhere else and then just reformat the partition (tap and hold in File Manager until the option pops up). It is by far the easiest and most reliable method. As a bonus, it should also find and mark bad sectors ;)

sirvival 2018-11-14 13:25

Re: Partly corrupted mmcblk0p1
 
strange:

Nokia-N900:/home/user# du -hs
du: ./MyDocs/.maps: Input/output error
395.4M .
.maps is where marble stores the maps

Edit:
ls- la does not show the .maps folder

Hmm marble did corruped some folders on my previous N900. Solution was to rename the .maps folder. I was never able to delete anything because the filenames were strange with all kind of characters.
Maybe marble did something similar again but this time flooding myDocs till it broke.

sirvival 2018-11-14 16:17

Re: Partly corrupted mmcblk0p1it
 
Quote:

Originally Posted by peterleinchen (Post 1550643)
Okay...

but at least eMMC is full up to the roof

So clearing up some space would be first step, move big chunks to the SD card.

df -igittigiit is the option not mysreading/typing df -laberlaber :)

I checked again. If I read it corretly I only use 122mb. So I don't think its maxed

Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p1 27.0G 122.3M 26.9G 0% /home/user/MyDocs


peterleinchen 2018-11-14 17:24

Re: Partly corrupted mmcblk0p1
 
And again I stand corrected. Must have been too early ;)

Bit only 122 MB used with some maps installed?
Sounds also strange. Especially as du already claimed 359MB found???

So as this is vFat and fsck is safe to be used on device you may try automatic fixing.
Or maybe better go with pichlo's approach...

sirvival 2018-11-14 18:12

Re: Partly corrupted mmcblk0p1
 
I deleted all the maps as a try to fix the problem. Not sure why the folder is still present (du -hs error) and at the same time is not listed with ls -la

I have to wait till I get home since fsck does not run on the N900.

edit:
so format means I tap the n900 symbol an hold?
This will delete everyting in /home/user? Or at what level?


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

vBulletin® Version 3.8.8