← Back to team overview

ubuntu-phone team mailing list archive

Re: Disk usage in emulator

 

On Fri, Apr 10, 2015 at 6:05 PM, Niklas Wenzel <nikwen.developer@xxxxxxxxx> wrote:
As I mentioned, I guess it is because the home directory is on the same partition as the whole root directory.
What does a simple "df -h" give you? That would help verifying that.

phablet@ubuntu-phablet:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/loop0      3.0G  1.7G  1.2G  59% /
udev            246M  4.0K  246M   1% /dev
tmpfs            50M  292K   50M   1% /run
/dev/mmcblk0    4.0G  3.7G   53M  99% /home
/dev/loop1      105M  104M  192K 100% /lib/modules
none            4.0K     0  4.0K   0% /android
tmpfs           249M  4.0K  249M   1% /etc/fstab
none            4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs           249M   44K  249M   1% /tmp
none            5.0M     0  5.0M   0% /run/lock
none            249M   12K  249M   1% /run/shm
none            100M     0  100M   0% /run/user
tmpfs           249M     0  249M   0% /media
tmpfs           249M     0  249M   0% /var/lib/sudo
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs            50M   28K   50M   1% /run/user/32011
tmpfs            50M     0   50M   0% /run/user/0

I've put the output from mount below, in case that's also needed.

Thanks,
Robert

phablet@ubuntu-phablet:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=251816k,nr_inodes=62954,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=50848k,mode=755) /dev/mmcblk0 on /userdata type ext4 (rw,relatime,discard,nodelalloc,data=journal)
/dev/loop0 on / type ext4 (rw,relatime,data=ordered)
/dev/loop1 on /android/system type ext4 (ro,relatime,data=ordered)
none on /android type tmpfs (rw,relatime,size=4k)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,mode=755)
tmpfs on /etc/fstab type tmpfs (rw,nosuid,noexec,relatime,mode=755)
tmpfs on /var/lib/lxc/android/rootfs type tmpfs (rw,relatime)
/dev/loop0 on /lib/udev/rules.d/70-android.rules type ext4 (rw,relatime,data=ordered)
/dev/loop1 on /lib/modules type ext4 (ro,relatime,data=ordered)
/dev/mmcblk0 on /var/lib/ureadahead type ext4 (rw,relatime,discard,nodelalloc,data=journal) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
none on /sys/kernel/security type securityfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
none on /run/shm type tmpfs (rw,nosuid,nodev,relatime)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755) /dev/mmcblk0 on /android/data type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/NetworkManager/system-connections type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /home type ext4 (rw,relatime,discard,nodelalloc,data=journal)
tmpfs on /media type tmpfs (rw,relatime)
/dev/mmcblk0 on /opt/click.ubuntu.com type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/crash type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/AccountsService/users type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/dbus type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/extrausers type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/logrotate type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/NetworkManager type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/ofono type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/PackageKit type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/bluetooth type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/lightdm type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/lightdm-data type ext4 (rw,relatime,discard,nodelalloc,data=journal)
tmpfs on /var/lib/sudo type tmpfs (rw,relatime,mode=700)
/dev/mmcblk0 on /var/lib/system-image type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/upower type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/usermetrics type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/log type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/default/ufw type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/ufw type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /lib/ufw/user6.rules type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /lib/ufw/user.rules type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/apparmor.d/cache type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/cache/apparmor type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/apparmor type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/ssh type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/init/ssh.override type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/writable type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/apport type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /etc/default/apport type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/urfkill type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/misc type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/mmcblk0 on /var/lib/whoopsie type ext4 (rw,relatime,discard,nodelalloc,data=journal)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
udev on /var/lib/lxc/android/rootfs/socket type devtmpfs (rw,relatime,size=251816k,nr_inodes=62954,mode=755) none on /var/lib/lxc/android/rootfs/cache type tmpfs (rw,relatime,size=4k) /dev/mmcblk0 on /var/lib/lxc/android/rootfs/data type ext4 (rw,relatime,discard,nodelalloc,data=journal) /dev/loop1 on /var/lib/lxc/android/rootfs/system type ext4 (ro,relatime,data=ordered) tmpfs on /run/user/32011 type tmpfs (rw,nosuid,nodev,relatime,size=50848k,mode=700,uid=32011,gid=32011) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=50848k,mode=700)





Follow ups

References