After tar.gz
'ing a 25 GB folder, I copied the file from my local machine to a remote server via scp.
Once the file was transferred, I failed to extract the tar.gz due to:
$ tar -zxvf dump.tar.gz
myFolder/
myFolder/myFile1
tar: myFolder/myFile: Wrote only 9728 of 10240 bytes
myFolder/myFile2
tar: myFolder/myFile2: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
Then, I ran df -h
to see that the disk is "100%" full:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_00-lv_root
16G 15G 28M 100% /
tmpfs 7.9G 136K 7.9G 1% /dev/shm
/dev/sda1 485M 131M 329M 29% /boot
/dev/mapper/vg_00-lv_opt
7.3G 152M 6.8G 3% /opt
/dev/mapper/vg_01-lv_u01
148G 6.4G 134G 5% /u01
Can I specify scp
to write to the dev/mapper/vg_01-lv_u01
disk drive since it has enough space? How can I solve this issue?