Ubuntu no space after installation 看全部


Hello everyone.
I got Orange Pi Plus2e, installed Ubuntu on sd card, everything works fine, but it's out of space for some reason.
I did everything according to this page:
http://www.orangepi.org/Docs/SDc ... l#Ubuntu.28Linux.29
i was using ubuntu to create OS on sd card, downloaded Ubuntu Image from Google Drive
OrangePi_plus2e_ubuntu_xenial_server_linux3.4.113_v1.0.img.tar.gz
and now my root folder in ubuntu has 98% usage. But my SD card is 32 GB.

result of df -h

  1. Filesystem      Size  Used Avail Use% Mounted on
  2. /dev/root       1.2G  1.1G   32M  98% /
  3. devtmpfs        880M     0  880M   0% /dev
  4. tmpfs          1008M     0 1008M   0% /dev/shm
  5. tmpfs          1008M   17M  991M   2% /run
  6. tmpfs           5.0M  4.0K  5.0M   1% /run/lock
  7. tmpfs          1008M     0 1008M   0% /sys/fs/cgroup
  8. /dev/mmcblk0p1   50M  4.6M   46M  10% /boot
  9. tmpfs           202M     0  202M   0% /run/user/0



result of sudo fdisk -l

  1. Disk /dev/mmcblk0: 29.5 GiB, 31691112448 bytes, 61896704 sectors
  2. Units: sectors of 1 * 512 = 512 bytes
  3. Sector size (logical/physical): 512 bytes / 512 bytes
  4. I/O size (minimum/optimal): 512 bytes / 512 bytes
  5. Disklabel type: dos
  6. Disk identifier: 0x7286c418

  7. Device         Boot  Start     End Sectors  Size Id Type
  8. /dev/mmcblk0p1       40960  143359  102400   50M  c W95 FAT32 (LBA)
  9. /dev/mmcblk0p2      143360 2650111 2506752  1.2G 83 Linux


  10. Disk /dev/mmcblk1: 14.6 GiB, 15634268160 bytes, 30535680 sectors
  11. Units: sectors of 1 * 512 = 512 bytes
  12. Sector size (logical/physical): 512 bytes / 512 bytes
  13. I/O size (minimum/optimal): 512 bytes / 512 bytes
  14. Disklabel type: dos
  15. Disk identifier: 0x00000000

  16. Device         Boot Start      End  Sectors  Size Id Type
  17. /dev/mmcblk1p1       2048 30535679 30533632 14.6G 83 Linux


  18. Disk /dev/mmcblk1boot1: 4 MiB, 4194304 bytes, 8192 sectors
  19. Units: sectors of 1 * 512 = 512 bytes
  20. Sector size (logical/physical): 512 bytes / 512 bytes
  21. I/O size (minimum/optimal): 512 bytes / 512 bytes


  22. Disk /dev/mmcblk1boot0: 4 MiB, 4194304 bytes, 8192 sectors
  23. Units: sectors of 1 * 512 = 512 bytes
  24. Sector size (logical/physical): 512 bytes / 512 bytes
  25. I/O size (minimum/optimal): 512 bytes / 512 bytes


  26. Disk /dev/zram0: 251.8 MiB, 264032256 bytes, 64461 sectors
  27. Units: sectors of 1 * 4096 = 4096 bytes
  28. Sector size (logical/physical): 4096 bytes / 4096 bytes
  29. I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  30. Disk /dev/zram1: 251.8 MiB, 264032256 bytes, 64461 sectors
  31. Units: sectors of 1 * 4096 = 4096 bytes
  32. Sector size (logical/physical): 4096 bytes / 4096 bytes
  33. I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  34. Disk /dev/zram2: 251.8 MiB, 264032256 bytes, 64461 sectors
  35. Units: sectors of 1 * 4096 = 4096 bytes
  36. Sector size (logical/physical): 4096 bytes / 4096 bytes
  37. I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  38. Disk /dev/zram3: 251.8 MiB, 264032256 bytes, 64461 sectors
  39. Units: sectors of 1 * 4096 = 4096 bytes
  40. Sector size (logical/physical): 4096 bytes / 4096 bytes
  41. I/O size (minimum/optimal): 4096 bytes / 4096 bytes


As you can see /dev/mmcblk0 is 29.5 GB, but /dev/mmcblk0p2 is only 1.2 GB for some reason. Is there a way to make /dev/mmcblk0p2 to be 29 GB so I can use all space in Ubuntu?
Your system is totally outdated, it use Kernel 3.4.113.
Try to write one of these images, works much better.

https://www.armbian.com/orange-pi-plus-2e/
(Kernel 5.4.x)

Facing the issue of no space on an Ubuntu system after installation can be frustrating. To resolve this problem, consider optimizing your disk space by removing unnecessary files, clearing caches, and monitoring system logs. This ensures that your system operates smoothly, allowing you to focus on tasks like managing betting affiliate programs without storage-related interruptions.
If your disk Uno Online is consistently running out of space and you have the option, consider adding more storage to your system, either by installing a larger hard drive or expanding with additional storage devices.

1234.. 7NextPage