When i tried to tar my files with that usual command

tar -cvzf /mnt/externalHDD /home /etc 

got - No space left on device. evidently tar neeeded a temporary file for archive creation. any advice?

  • 1
    Move (or create) /tmp to/on a file-system that has space... – guiverc Aug 16 '19 at 13:34
  • 1
    Backup in smaller segments that will fit the given space. – user535733 Aug 16 '19 at 13:46
  • source disk 250g dest disk 500g mounted on /mnt/externalHDD. – Yurij Aug 16 '19 at 13:52
  • 1
    tar does not create any temporary files during its operation. Are you actually giving /mnt/externalHDD as the output file name? The argument should be an actual file, not just a containing directory (e.g. /mnt/externalHDD/outputfile.tar.gz). – user982883 Aug 22 '19 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.