-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install Docker-CE on a Fresh Flashed SSD - No Space left on device #6720
Comments
your file system seems to be full, Can you share
|
root@DietRPI:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 700M 666M 0 100% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 1.6G 8.6M 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /tmp
tmpfs 50M 0 50M 0% /var/log
/dev/sda1 127M 35M 93M 28% /boot |
how large is your SSD? Current size seems to be below 1GB. Can you share following?
Are there any kernel error messages?
|
root@DietRPI:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
sda 931.5G 0 disk
├─sda1
│ vfat 128M 0 part /boot c06c5cdf-01 74EC-57EC
└─sda2
ext4 931.4G 0 part / c06c5cdf-02 90a1c2df-598c-4b9b-bdde-5a1afc09bb28 root@DietRPI:~# dmesg -l 0,1,2,3
[ 0.626092] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[ 0.811687] mmc1: Controller never released inhibit bit(s). it is a SSD 1TO Samsung 870 EVO |
hmm strange, @MichaIng any idea how this could happen? |
i used belenaEtcher on Macos Sonoma 14.0 to flash the SSD with the DietPi_RPi-ARMv8-Bookworm.img.xz |
was this a fresh install? Probably the partition did not get extended. If this was a fresh install, can you share logs from |
already first run setup failed. You should have seen the error before already. Did you?
Partition seems to have extended
But somehow it's not the case. 🤔 |
yes i have seen the eeprom install failed maybe it is because i had to update the rpi-eeprom with a SD card of raspeberry OS in order to change the boot priority ? (but long prior) |
This has nothing to do with it. |
The partition has been successfully resized, but the filesystem has not. It is like the script stopped here for unknown reasons, without an error 🤔: https://github.com/MichaIng/DietPi/blob/master/rootfs/var/lib/dietpi/services/fs_partition_resize.sh#L72 However, try to resize it manually: resize2fs "$G_ROOTFS_DEV" |
root@DietRPI:/var/tmp/dietpi# resize2fs "$G_ROOTFS_DEV"
resize2fs 1.47.0 (5-Feb-2023)
Filesystem at /dev/sda2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 117
The filesystem on /dev/sda2 is now 244157622 (4k) blocks long. it seems to have fixed my issue, thank you for your help ! |
well first run did not finished and there might be packages missing now |
Indeed, run |
After more investigation : dpkg: error processing archive /tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb (--unpack):
cannot copy extracted data for './lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin' to '/lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin.dpkg-new': failed to write (No space left on device)
Errors were encountered while processing:
/tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb Turns out updating it using a SD card flashed for it, solved this issue and i can now use the command such as On the other hand, my SSD seemed to be easily corrupted during read / write operations :
What seemed to fix this issue is : |
The issue is not the package. It's the missed extension of your partition. Therefore you don't have enough space to install or update packages. |
Probably UAS, respectively that the SSD does not support it well, was the underlying reason why the filesystem expansion failed, or why even that it did succeed now (as of above comment) it still somehow does not provide this additional space. Not sure about the range of issues UAS can cause if its not supported. Lately issues regarding UAS are rare, but for reference: #3754 |
Details:
Linux DietRPI 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
apt-get -y --allow-change-held-packages install docker-ce
Steps to reproduce:
on a Fresh install of DietPi on the SSD - I run
dietpi-software
to installdocker
anddocker compose
Expected behaviour:
Install process should suceed
Actual behaviour:
Install process fails and the i have a

failed to write (No space left on device
Extra details:
i have this problem only since i update the image to bookworm.
The text was updated successfully, but these errors were encountered: