Tar: AdGuardHome: No space left on device

Can someone please tell me, educate me, why I will get this output on a 16GB USB stick on which there is nothing but the package itself that I'm trying to extract:

root@OpenWrt:/mnt# tar xfvz AdGuardHome_linux_armv5.tar.gz

AdGuardHome/

AdGuardHome/LICENSE.txt

AdGuardHome/AdGuardHome

tar: AdGuardHome/AdGuardHome: Wrote only 2048 of 10240 bytes

AdGuardHome/README.md

tar: AdGuardHome/README.md: Wrote only 4096 of 7680 bytes

tar: AdGuardHome/README.md: Cannot utime: No space left on device

tar: AdGuardHome/README.md: Cannot change ownership to uid 2000, gid 2000: No space left on device

tar: AdGuardHome/README.md: Cannot change mode to rw-rw-r--: No space left on device

tar: AdGuardHome: Cannot utime: No space left on device

tar: AdGuardHome: Cannot change ownership to uid 2000, gid 2000: No space left on device

tar: AdGuardHome: Cannot change mode to rwxrwxr-x: No space left on device

tar: Exiting with failure status due to previous errors"

And this is what df -h gives on the stick:
/dev/sda 14.6G 40.0M 13.8G 0% /mnt/sda

Thanks a lot.

This is your current working directory.

That is where the disk is mounted.

So, you need to extract in the proper location that has enough free space:

cd /mnt/sda

Also consider to set up extroot:
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

1 Like

And you, my friend, are a genius! Thanks a lot! Now I can get back to sweating on AdGuardHome. Tips? :slight_smile:

1 Like

Thanks a lot. That's the guide I'm using and now stuck at:
./AdGuardHome: line 1: syntax error: unexpected word (expecting ")")