PINE64
Debian image takes all Free Space - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Debian image takes all Free Space (/showthread.php?tid=5792)



Debian image takes all Free Space - croquin - 02-28-2018

I have Debian Stretch Mate Community Build Image [microSD Boot] [0.5.15-136-20171222] flashed to a 256GB SD card and when trying to run sudo apt-et update, i get errors that there is no space left on the device: "Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) "

Running df I see this output:

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Wed Feb 28 13:58:01 2018 from 192.168.111.122

rock64@rock64:~$ df

Filesystem     1K-blocks      Used Available Use% Mounted on

udev             2007908         0   2007908   0% /dev

tmpfs             401960     10472    391488   3% /run

/dev/mmcblk1p7 261901060 261215864         0 100% /

tmpfs            2009784         0   2009784   0% /dev/shm

tmpfs               5120         4      5116   1% /run/lock

tmpfs            2009784         0   2009784   0% /sys/fs/cgroup

/dev/mmcblk1p6    102182     41642     60540  41% /boot/efi

tmpfs             401956         4    401952   1% /run/user/109
tmpfs             401956         0    401956   0% /run/user/1000

I get that /dev/mmcblk1p7 261901060 261215864         0 100% /   shows 100% full but I am not sure if this is to be expected and I wont get to use a card like this for storage as well as the OS. I am a debian noob so if I flashed it wrong with Etcher or if I just need to use a smaller card and use the emmc port or USB3.0 for data storage tats fine. Just wanted to see what was to be expected. 




RE: Debian image takes all Free Space - xalius - 02-28-2018

What brand/type of card is your 256GB? Also can you post the output of 

Code:
sudo fdisk -l /dev/mmcblk1



RE: Debian image takes all Free Space - dkryder - 02-28-2018

in my opinion you would certainly be having less risk if you would usie 32GB or 16GB. by less risk i mean sd cards are relatively easy to damage just by normal day to day usage and those 256GB cards are expensive and at least for me would be taking too much risk with day to day single board computer usage. if you actually need that much room look into booting from flash to a usb hard disk.