Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Nov 2010 @ Melbourne, Australia
#1
Hi There,

I have a weird issue with my N900.. I did search and found a lot of threads however from what I can tell are about a different issue.

The other day I tried to upload a largeish (10gb) amount of music onto my N900 and to my understanding I had heaps of space left on the main partition (32gb). Ubuntu told me there was not enough space left on the device for this amount of data.. On closer inspection there is something weird happening. When I view the devices properties it says:

Contents: 2,563 items, totalling 5.6 GB

Free Space: 3.9 GB

23.1 GB used

3.9 GB free

This is the same when viewed on the device through settings..

To my understanding this is not a rootfs issue, my root fs is 66% full at one hundred and something mbs. I did have extra repositories setup but have since disabled them.

In the terminal I have gone through and check the folder size of all the main file-system folders, nothing showed anything over 1gb..

I am really confused.

Could anybody shine some light on this for me?

Thanks in advance!!
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#2
Originally Posted by tomw889 View Post
Hi There,

I have a weird issue with my N900.. I did search and found a lot of threads however from what I can tell are about a different issue.

The other day I tried to upload a largeish (10gb) amount of music onto my N900 and to my understanding I had heaps of space left on the main partition (32gb). Ubuntu told me there was not enough space left on the device for this amount of data.. On closer inspection there is something weird happening. When I view the devices properties it says:

Contents: 2,563 items, totalling 5.6 GB

Free Space: 3.9 GB

23.1 GB used

3.9 GB free

This is the same when viewed on the device through settings..

To my understanding this is not a rootfs issue, my root fs is 66% full at one hundred and something mbs. I did have extra repositories setup but have since disabled them.

In the terminal I have gone through and check the folder size of all the main file-system folders, nothing showed anything over 1gb..

I am really confused.

Could anybody shine some light on this for me?

Thanks in advance!!
You could try something like:
Code:
du /home/user/MyDocs | sort -n
To show you the disk usage of all directories under ./MyDocs/, sorted by size (smallest first)...

Maybe that will track down the missing space.
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2010 @ Melbourne, Australia
#3
Hey Jedi

Thanks for that, I gave that a shot and all it showed up at the bottom of the list was existing music folders and maps.

I decided to give deleting all the existing music a shot to see what it would effect and BIG PROBLEM. the contents of the main partition have gone down to 470.7 mbs understandably but the free space has stayed at 3.9GB.... oh crap..

Any Suggestions?
 
Posts: 150 | Thanked: 16 times | Joined on Jun 2010
#4
Format eMMC...
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#5
No, it's all in the hidden folders, most likely.
try "ls -al" in xterm after cding to mydocs.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#6
Originally Posted by tomw889 View Post
Hey Jedi

Thanks for that, I gave that a shot and all it showed up at the bottom of the list was existing music folders and maps.

I decided to give deleting all the existing music a shot to see what it would effect and BIG PROBLEM. the contents of the main partition have gone down to 470.7 mbs understandably but the free space has stayed at 3.9GB.... oh crap..

Any Suggestions?
You can scroll up a bit and see the other files/dirs!

Alternatively you could add "|more" to the end to make it stop at the end of each page, but it might take quite a while to see all the files/dirs (press CTRL-C to stop)...
Code:
du -a | sort -n | more
so instead you could add 'r' to the sort command to reverse it...
Code:
du -a | sort -nr | more
By the way, this will show you 'hidden' files (those starting with a '.')
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2010 @ Melbourne, Australia
#7
Hi again,

Thanks for your help, much appreciated.

Okay so I've tried locating the issue using the suggested methods. unfortunately they point to small files.

What I did do though was take a copy of the stuff i needed such as images and contacts and then "clear device" through the settings top bar menu. This obviously restored most of the factory defaults and rebooted the device. When it was up and running again I checked the memory again and it has now jumped to 9.11GB! weird because this made a difference but not enough...

I have noticed something however, when i run "df" or "df -h" to make it easier to read i notice that there is the normal list other users post and then a series (8) of other individual directories or mounts that each total 2gb therefore totaling 16gb! i think the missing space is here each directory seems to have exactly 219.1mb in it. I am assuming they are all just mirrors of each other?

I cant post screenshots atm because my internet has gone over the limit haha but an example of one would be:

/dev/mmcb1k0p2
Size: 20g Used: 219.1m Available: 1.7g Mount: /home

and another:

/opt/pymaemo/usr/lib/python-support
Size: 20g Used: 219.1m Available: 1.7g Mount: /usr/lib/python-support

what do I do?

Could I delete these directories, or will they effect the system?

Sorry I'm a bit of a newbie. But the good thing is we've located the space.. well partitions taking up the space?

Thanks Again!
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#8
Those are all part of the OptFS, a second 2gb partition on your eMMC - NOT accessable via USB. It's where your programs go.
You should be using "du -h" instead of df -h - du gives you a directory listing, df gives you a listing of disks.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2010 @ Melbourne, Australia
#9
Hi Robbie,

Thanks for the tip. I gave it a shot woth "du -h" and looked through the list. nothing seemed big at all. the biggest files were the ovi maps ones at 400ish mb and there was only one or two.

Then I gave "du -ch" a shot to give it a total at the bottom as yeah all that total comes to is 595.8MB... not the 15 odd GBs im looking for..

Same when I do "du -ach" to show/include hidden files..

Very confusing, any suggestions?

Thanks again!
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#10
Use tar to archive it all with the "pcf" options(google for 'man tar' for full usage, copy it off, re-format, then extract your files again.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:53.