Root partition only mounts with 4.6G of space (instead of ~50Gb)

Greg BOWMAN
Greg BOWMAN New Member Posts: 2
[moved from General Discussion UP Board]

Hi - I just received my 4Gb/60Gb up-board. I updated the bios and installed Ubilinux 4 for the first time - all very straight forward. However, I noticed I ran out of space as soon as I started loading data into the root partition. I see that is because I only have available 4.6Gb in the root partition (instead of > 50Gb).

Running lsblk I can see the full drive space for mmcblk0p2:
root@ubilinux:/var/log# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0 58.3G  0 disk 
├─mmcblk0p1  179:1    0  512M  0 part /boot/efi
└─mmcblk0p2  179:2    0 57.8G  0 part /
mmcblk0boot0 179:256  0    4M  1 disk 
mmcblk0boot1 179:512  0    4M  1 disk 
mmcblk0rpmb  179:768  0    4M  0 disk 

But then I can see /dev/mmcblk0p2 is not mounted correctly and I am out of space:
root@ubilinux:/var/log# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.7G     0  1.7G   0% /dev
tmpfs           336M   14M  323M   5% /run
/dev/mmcblk0p2  4.6G  4.1G  187M  96% /
tmpfs           1.7G   45M  1.6G   3% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.7G     0  1.7G   0% /sys/fs/cgroup
/dev/mmcblk0p1  511M  256K  511M   1% /boot/efi
tmpfs           336M  8.0K  336M   1% /run/user/1000
root@ubilinux:/var/log# 

I don't know if my fstab is of use:
root@ubilinux:/var/log# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/mmcblk0p2 during installation
LABEL=root      /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/mmcblk0p1 during installation
UUID=A9CE-4035  /boot/efi       vfat    umask=0077      0       1
root@ubilinux:/var/log#

I just can't seem to figure out the issue - anyone got any ideas ?

Thanks!

Comments

  • Greg BOWMAN
    Greg BOWMAN New Member Posts: 2
    edited October 2017
    FIXED

    I re-installed ubilinux from scratch and now the root partition is 57GB instead of 5GB. I have no idea why the first installation did not finish setting up the partition. I noticed that Ubilinux is first installed into a 5GB partition and then, I presume, towards the end the remaining space is made available to the partition. It sounds like my install did not finish the entire job first time around. When installing I waited until the very end -- the blue light will go off. Et voila - all is good.
Privacy Policy