Hello Ubuntu community.
I am currently following the course "LFS101" from linuxfoundation.org, but I am having trouble replicating the exercise from Lab 10.3 of Chapter 10 showing how to archive and back things up:
For example, the instruction commands are:
student:/tmp> tar cf /tmp/doc.tar /usr/share/doc
student:/tmp> tar zcf /tmp/doc.tar.gz /usr/share/doc
student:/tmp> tar jcf /tmp/doc.tar.bz2 /usr/share/doc
student:/tmp> tar Jcf /tmp/doc.tar.xz /usr/share/doc
student:/tmp> ls -lh /tmp/doc.tar*
-rw-rw-r-- 1 student student 85M Apr 17 10:34 /tmp/doc.tar
-rw-rw-r-- 1 student student 31M Apr 17 10:35 /tmp/doc.tar.bz2
-rw-rw-r-- 1 student student 34M Apr 17 10:34 /tmp/doc.tar.gz
-rw-rw-r-- 1 student student 28M Apr 17 10:36 /tmp/doc.tar.xz
On my Ubuntu 26.04 (server) VM the output of tar cf /tmp/doc.tar /usr/share/doc is:
tar: Removing leading '/' from member names
tar: /tmp/doc.tar: Cannot write: Disk quota exceeded
tar: Error is not recoverable: exiting now
The output of tar zcf /tmp/doc.tar.gz /usr/share/doc is similar but has additional messages:
tar: Removing leading '/' from member names
gzip: stdout: Disk quota exceeded
tar: /tmp/doc.tar.gz: Cannot write: Broken pipe
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The output of tar jcf /tmp/doc.tar.bz2 /usr/share/doc in turn has:
tar: Removing leading '/' from member names
tar: Removing leading '/' from hard link targets
bzip2: I/O or other error, bailing out. Possible reason follows.
bzip2: Disk quota exceeded
Input file = (stdin), output file = (stdout)
tar: /tmp/doc.tar.bz2: Wrote only 8192 out of 10240 bytes
tar: Child returned status 1
tar: Error is not recoverable: exiting now
And finally, the output of tar Jcf /tmp/doc.tar.xz /usr/share/doc is:
tar: Removing leading '/' from member names
tar: Removing leading '/' from hard link targets
xz: (stdout): Write error: Disk quota exceeded
tar: /tmp/doc.tar.xz: Wrote only 8192 out of 10240 bytes
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Could someone help me figure out what this means? Something is failing even though I'm doing the exact thing the course is instructing me to, and I'm confused. Thanks!