A
AC Question
Missing storage space. Different size info from df and du
Hello there,
i have a weird problem.
Take a look at the following output from a adb root shell with busybox installed.
DF
DU
MOUNT
So these two calls show two important information:
df is reporting memory block "/dev/block/mmcblk0p17" as 1.3G in size and 1.2G IN USE! mounted on /data
du is reporting 56M in use for /data
mount is not showing anything else hooked into /data
So where is the missing 1.15G storage space that is IN USE!?
P.S. I am unable to create an account here on the site. So any helpful information can be posted, i will monitor this post for answers.
Hello there,
i have a weird problem.
Take a look at the following output from a adb root shell with busybox installed.
DF
Code:
# busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 179.0M 64.0k 178.9M 0% /dev
tmpfs 179.0M 0 179.0M 0% /mnt/asec
tmpfs 179.0M 0 179.0M 0% /mnt/obb
/dev/block/mmcblk0p15
442.9M 224.5M 218.4M 51% /system
/dev/block/mmcblk0p17
1.3G 1.2G 94.2M 93% /data
/dev/block/mmcblk0p12
4.9M 4.1M 796.0k 84% /persist
/dev/block/mmcblk0p16
98.4M 4.1M 94.4M 4% /cache
/dev/block/mmcblk0p27
4.9M 44.0k 4.6M 1% /efs
/dev/block/vold/179:28
5.0G 2.7G 2.3G 54% /mnt/sdcard
/dev/block/vold/179:33
1.9G 1.1G 751.2M 61% /mnt/sdcard/external_sd
/dev/block/vold/179:33
1.9G 1.1G 751.2M 61% /mnt/secure/asec
/dev/block/dm-0 15.2M 14.1M 1.1M 93% /mnt/asec/com.nullsoft.winamp-1
/dev/block/dm-1 2.0M 592.0k 1.5M 28% /mnt/asec/jackpal.androidterm-1
/dev/block/dm-2 3.1M 2.0M 1.1M 66% /mnt/asec/com.ghisler.android.TotalCommander-2
/dev/block/dm-3 23.3M 21.9M 1.5M 94% /mnt/asec/org.telegram.messenger-1
/dev/block/dm-4 4.1M 2.5M 1.6M 61% /mnt/asec/com.valvesoftware.android.steam.community-2
#
DU
Code:
# busybox du -sh /data/*
56.0k /data/anr
1.4M /data/app
4.0k /data/app-private
68.0k /data/backup
1.7M /data/busybox
31.1M /data/dalvik-cache
20.7M /data/data
4.0k /data/dontpanic
4.0k /data/gps
4.0k /data/gpsone_d
8.0k /data/local
304.0k /data/log
4.0k /data/lost+found
96.0k /data/misc
24.0k /data/property
8.0k /data/radio
8.0k /data/secure
4.0k /data/shared
4.0k /data/situation.txt
4.0k /data/stream_bluetooth.txt
4.0k /data/stream_headset.txt
4.0k /data/stream_speaker.txt
428.0k /data/system
444.0k /data/tombstones
4.0k /data/wifi
4.0k /data/wiper
4.0k /data/wpstiles
# busybox du -sh /data
56.3M /data
#
MOUNT
Code:
# busybox mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p15 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p17 on /data type ext4 (rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered)
/dev/block/mmcblk0p12 on /persist type ext4 (rw,nosuid,nodev,relatime,barrier=0,data=ordered)
/dev/block/mmcblk0p16 on /cache type ext4 (rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered)
/dev/block/mmcblk0p27 on /efs type ext4 (rw,nosuid,nodev,relatime,barrier=0,data=writeback)
/dev/block/vold/179:28 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:33 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:33 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
/dev/block/dm-0 on /mnt/asec/com.nullsoft.winamp-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-1 on /mnt/asec/jackpal.androidterm-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-2 on /mnt/asec/com.ghisler.android.TotalCommander-2 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-3 on /mnt/asec/org.telegram.messenger-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-4 on /mnt/asec/com.valvesoftware.android.steam.community-2 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
So these two calls show two important information:
df is reporting memory block "/dev/block/mmcblk0p17" as 1.3G in size and 1.2G IN USE! mounted on /data
du is reporting 56M in use for /data
mount is not showing anything else hooked into /data
So where is the missing 1.15G storage space that is IN USE!?
P.S. I am unable to create an account here on the site. So any helpful information can be posted, i will monitor this post for answers.
Last edited by a moderator: