No Disk Space on 1TB NVME

I have successfully updated the firmware for VisionFive2 and am running the 202306 version off of a 1TB NVME drive. The first thing I did was try to get the packages and dependencies using:

wget https://github.com/starfive-tech/Debian/releases/download/v0.7.1-engineering-release-wayland/install_package_and_dependencies.sh

chmod +x install_package_and_dependencies.sh

./install_package_and_dependencies.sh

However, 2 hours later I received “Unrecoverable fatal error: no space left on device” When I ran fdisk -l, the system does recognize I am using a 1TB drive. However when running df -h it says I am at 100% utilization and that the drive is only 2.8GB large. Can someone please tell me what I can do?

I can’t believe I posted this when it’s obvious, I didn’t add the other unallocated space into the primary partition

4 Likes

First you need to extend the partition using the parted tool Extend Partition on SD Card or eMMC

Then you need to run sudo resize2fs /dev/mmcblk1p4 to resize the file system.

Then reboot and you should all be good.