Jump to content

Storage Help


Go to solution Solved by Gunjan Gupta,

Recommended Posts

Posted

I have armbian installed on a 128gb sd card but it looks to be partitioned to about 2gb. How would I go about expanding the partition to include the rest of the 126gb?

 

root@orangepizero2:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            422M     0  422M   0% /dev
tmpfs            99M  1.9M   97M   2% /run
/dev/mmcblk0p1  1.9G  1.7G  125M  94% /
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           493M     0  493M   0% /tmp
/dev/zram1       47M  680K   43M   2% /var/log
tmpfs            99M     0   99M   0% /run/user/0
 

Posted
28 minutes ago, Werner said:

Usually the filesystem expands itself across the whole sdcard on first boot...odd.

That was my thought as well, odd.

 

@Jedge  Can you reproduce the problem?  As Werner stated, on first boot the filesystem on the SD card is supposed to be expanded to take up the entire card.  Do you have smaller SD cards you could try, curious if the card size is triggering an issue.

  • Solution
Posted

Actually its quite easy to reproduce and already fixed for next release. The problem is caused by sprdwl_ng module aka uwe5622 wifi driver. For some reasons, It creates problem for cpufreq-dt when its loaded pretty early during boot process like using /etc/modules. This causes cpufreq-dt to crash and any attempt to check information about cpu like running lscpu simply hangs. I remember seeing that resize service also does some checks related to cpu and hangs when cpufreq-dt crashes.

 

If possible, Use images from the nightly/ rolling releases section of the Download page. They will work fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines