Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#1
I have a problem whit my N900. It's a great device, but now I'm stuck on a strang problem.

When I was playing around and looking for some nice stuff on my phone, I got an error "userspace full". So I started a terminal. I found out that the /home (/dev/mmcblk0p2) was almost full (99% of 2G)

So i remove almost all apps (including python) and I saved 100Mb.
Back in the terminal, du helped me discovering that I only had 100Mb in /home/opt and 8Mb in the hidden directories in /home/user.
Actualy, du discovers only 108Mb. Then I have 80Mb free space. That all on a partition/disk of 2Gb, That's 1.8Gb lost?

Does someone reconise the problem? And does someone know a solution?

Thanks, Bjokke.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#2
Very odd. Can you give us the output of:
Code:
cd /home
du -hsx *
df -h .
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#3
Thanks for the quick responce, here are the numbers:

Code:
# du -hsx *
16.0k	lost+found
68.8M	opt
20.3M	user

# df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/mmcblk0p2            2.0G      1.8G     61.0M  97% /home

Last edited by bjokke; 2010-01-13 at 16:04.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#4
You could try doing (as root):
Code:
e2fsck -f -n /dev/mmcblk0p2
and see whether that reports any errors with the filesystem (it's read-only so won't make any changes).
 
Posts: 207 | Thanked: 119 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
#5
Originally Posted by Rob1n View Post
You could try doing (as root):
Code:
e2fsck -f -n /dev/mmcblk0p2
and see whether that reports any errors with the filesystem (it's read-only so won't make any changes).
It will not work. /dev/mmcblk0p2 should be unmounted before. It is possible only on early booting steps...
You should reboot. If it will be not helpful vote for this bug: https://bugs.maemo.org/show_bug.cgi?id=7572
Now it is Won't fix but if will be enough votes probably it will be changed!

you can try to add "fsck" to "/etc/event.d/rcS-late" but any error here and you will have to reflush device (like me)
for this case look and vote for this bug: https://bugs.maemo.org/show_bug.cgi?id=7571
 
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#6
This one looks not good...

Code:
Warning!  /dev/mmcblk0p2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (41840, counted=41838).
Fix? no

Free inodes count wrong (126431, counted=126429).
Fix? no


RX-51_2009SE_1.2: ********** WARNING: Filesystem still has errors **********

RX-51_2009SE_1.2: 4641/131072 files (1.9% non-contiguous), 482448/524288 blocks
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#7
Yeah. that's not so good. As mikhmv says, actually repairing it is tricky because you can't easily unmount it. You can try adding:
Code:
/sbin/fsck -f -p /dev/mmcblk0p2
to /etc/event.d/rcS-late (before it mounts /home). This should fail gracefully if it hits any unrecoverable errors, so shouldn't prevent booting.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#8
Oh, and make sure you have taken a backup of the phone, just in case.
 
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#9
A the moment, I'm not brave enough to try something like that.
I'll submit the first bug, but is there somewhere a manual to reflush?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#10
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:34.