View: 26675|Reply: 166

Ubuntu no space after installation

[Copy link]

1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2020-8-7 16:38:41 | Show all floors |Read mode

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
Copy code



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
Copy code


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?
Published in 2020-8-8 16:18:20 | Show all floors
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)

1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2020-8-8 02:32:02 | Show all floors

0

threads

9

posts

57

credits

Registered member

Rank: 2

credits
57
Published in 2023-9-1 23:04:02 | Show all floors

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.

0

threads

2

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2023-9-26 13:01:57 | Show all floors
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.

1

threads

258

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2024-2-5 17:22:23 | Show all floors
Thank you for your submit and also fantastic suggestions.. also My partner and i furthermore believe work will be the main aspect of acquiring accomplishment.        상품권 교환
Published in 2024-3-17 04:25:07 | Show all floors
I just like the valuable information you provide on your articles. I’ll bookmark your blog and check again right here regularly. I’m rather certain I’ll learn lots of new stuff right here! Best of luck for the next!        topcer88 slot


Published in 2024-3-18 20:21:57 | Show all floors
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..        unblocked games
Published in 2024-3-19 20:02:22 | Show all floors
Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks        ONLYFANS LEAKS
Published in 2024-3-22 20:55:11 | Show all floors
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work.        lessinvest
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list