I am trying to unzip a tar file using tar xvzf ZAP_2.7.0_Linux.tar.gz
here is the file. What could be the problem?
-rw-r--r-- 1 root root 32165888 Mar 6 12:06 ZAP_2.7.0_Linux.tar.gz
-rwxrwxrwx 1 root root 0 Mar 6 12:47 ZAP_2_7_0_unix.sh
When I try this [root@localhost ~]# tar xvzf ZAP_2.7.0_Linux.tar.gz
I am getting the following error.
tar: ZAP_2.7.0/plugin/diff-beta-8.zap: Cannot open: No space left on device
ZAP_2.7.0/plugin/directorylistv1-release-3.zap
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Looks like I have enough disk space. Am I reading something incorrectly here? Sorry if its a basic question. Why is root showing 'Use%' as 100%?
[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 6981632 6981080 552 100% /
devtmpfs 1426928 0 1426928 0% /dev
tmpfs 1442256 84 1442172 1% /dev/shm
tmpfs 1442256 8892 1433364 1% /run
tmpfs 1442256 0 1442256 0% /sys/fs/cgroup
/dev/sda1 508588 160004 348584 32% /boot
tmpfs 288452 16 288436 1% /run/user/42
tmpfs 288452 0 288452 0% /run/user/0
[root@localhost ~]#
What could be the problem?
[root@localhost ~]# df /dev/sda
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1426928 0 1426928 0% /dev
/
partition and I'm assuming that it is in a directory on this partition that you try to write the extracted archive. That is the problem.