View: 8040|Reply: 34

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

11

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.

17

threads

1155

posts

2937

credits

Gold member

Rank: 6Rank: 6

credits
2937
Published in 2023-11-2 20:42:03 | Show all floors
May very well just launched some blog page, the knowledge most people furnish on this internet site seems to have made it easier everybody vastly. Thanks a lot for the purpose of your personal instance & give good results.        christian book writer for hire

17

threads

1155

posts

2937

credits

Gold member

Rank: 6Rank: 6

credits
2937
Published in 2023-11-7 21:56:28 | Show all floors
This is simply the info I'm discovering almost everywhere. Many thanks for the weblog, I simply sign up your site. This can be a good weblog. inch.        Cafe Restaurant Seminyak

17

threads

1155

posts

2937

credits

Gold member

Rank: 6Rank: 6

credits
2937
Published in 2023-12-2 19:41:28 | Show all floors
A beats might be fantastic. You possess numerous especially capable actors. I just aspire most people the right from victory.        play juwa online no download

17

threads

1155

posts

2937

credits

Gold member

Rank: 6Rank: 6

credits
2937
Published in 2023-12-14 00:58:18 | Show all floors
May very well just launched some blog page, the knowledge most people furnish on this internet site seems to have made it easier everybody vastly. Thanks a lot for the purpose of your personal instance & give good results.        Flat Roof Repairs Concord
Published in 2024-1-22 21:48:32 | Show all floors
Thanks for sharing, it is a great inspirational thread to will motivate many people to work on new things.        Packers and Movers Surat
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list