New System partition space missing


bboy

Members
Jun 8, 2012
19
1
13
#1
Hi

I have a SGS2 and since 3.5.7 I notice that my system partition is missing some disk space. It currently reads:
TOTAL: 2.11GB
APPS(used): 648MB
AVAILABLE: 270MB

I should have 1.46 GB available but since I only have 270mb I am missing 1.19GB of space. Please help

When 1st noticed this on 3.5.7 I did a data/factory reset rebooted and the disk space was fine. as soon as I upgraded to 3.7.26 my available space dropped.
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,726
744
247
#2
Install Terminal Emulator app from Google Play or connect your phone to ADB and type this command:
Code:
df
, then longpress on screen and choose to copy that output. And paste the result here.
 

bboy

Members
Jun 8, 2012
19
1
13
#3
Code:
Filesystem                Size      Used Available Use% Mounted on
tmpfs                  413.0M    48.0K    412.9M  0% /dev
tmpfs                  413.0M        0    413.0M  0% /mnt/asec
tmpfs                  413.0M        0    413.0M  0% /mnt/obb
/dev/block/mmcblk0p9    503.9M    428.2M    75.7M  85% /system
/dev/block/mmcblk0p7    98.4M      4.2M    94.3M  4% /cache
/dev/block/mmcblk0p1    19.7M      8.3M    11.4M  42% /efs
/dev/block/mmcblk0p12
                        503.9M    144.5M    359.4M  29% /preload
/dev/block/mmcblk0p10
                          2.0G      1.5G    458.3M  77% /data
df: /mnt/.lfs: Function not implemented
tmpfs                  413.0M        0    413.0M  0% /mnt/ntfs
/dev/block/vold/259:3
                        11.5G    11.1G    453.9M  96% /storage/sdcard0
As requested @Acid
 

ingbrzy

Xiaomi.eu Multilang leader
Staff member
Feb 11, 2012
8,750
20,224
322
#4
Code:
Filesystem                Size      Used Available Use% Mounted on
tmpfs                  413.0M    48.0K    412.9M  0% /dev
tmpfs                  413.0M        0    413.0M  0% /mnt/asec
tmpfs                  413.0M        0    413.0M  0% /mnt/obb
/dev/block/mmcblk0p9    503.9M    428.2M    75.7M  85% /system
/dev/block/mmcblk0p7    98.4M      4.2M    94.3M  4% /cache
/dev/block/mmcblk0p1    19.7M      8.3M    11.4M  42% /efs
/dev/block/mmcblk0p12
                        503.9M    144.5M    359.4M  29% /preload
/dev/block/mmcblk0p10
                          2.0G      1.5G    458.3M  77% /data
df: /mnt/.lfs: Function not implemented
tmpfs                  413.0M        0    413.0M  0% /mnt/ntfs
/dev/block/vold/259:3
                        11.5G    11.1G    453.9M  96% /storage/sdcard0
As requested @Acid
did you made repartition via ODIN..?
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,726
744
247
#6
The log says that you have still 458M free on /data partition and 1.5G used. I think that reading shows that you have 648 MB in /data/app + other app directories. and not entire /data partition. But SGS2 is weird in partition case... You can try to sum up directories and find out where the system reads that 648 value.

Go to terminal and type:
Code:
cd data
if it says permission denied then type "su" before that (and agree to root access if needed).
Then type:
Code:
du -hs app
or
Code:
busybox du -hs app
if it doesnt recognize du command.
The output will show in MB how much space is used only for installed apps in /data/app
Do the same with app-asec and data. So "du -hs app-asec" and "du -hs data" (its /data/data)

Then sum up those values.
 

bboy

Members
Jun 8, 2012
19
1
13
#9
I have removed the files in lost+found and the sytem space it fine now. Though I know I should be concerned that lost+found was so full, as it could indicate a corrupt disk.
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,726
744
247
#10
Yea.. I think so. The lost+found directory is used by a scanning tool fsck. Its possible in some cases to recover some lost data from that folder. 1G is a lot here and It could be created by a system failure that your device had (I have here only 51M). If you don't think if you lost any data then try to delete it. But lost+found is not a common directory, so its better not to "rm -r lost+found". Instead go to that dir: "cd /data/lost+found" and run "rm -rf *". I think you will need "su" for this. But backup your data to SD before doing that - just to be safe :)
 
Likes: bboy

bboy

Members
Jun 8, 2012
19
1
13
#11
I dont think I was missing any data which I consider important Music/Video/Pics. If I see the system behaving oddly I will have to format and reload MIUI.

I only removed the contents of lost+found.

Thanks @Acid