tar should use /tmp

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
marcurling
Level 1
Level 1
Posts: 4
Joined: Wed Jul 29, 2020 9:28 am
Contact:

tar should use /tmp

Post by marcurling »

Hello, I'm trying to backup CloneZilla system/disk images to a LTO-5 tape device.
The command used is
time tar -cvf /dev/st0 2022-01-10-18-img_CloneZilla/
the result is [...]
2022-01-10-18-img_CloneZilla/sda2.dd-ptcl-img.zst.aa
tar: /dev/st0: Cannot write: No space left on device
tar: Error is not recoverable: exiting now
real 6m19,938s
user 0m3,454s
sys 0m54,296s
Which can not be true for these reasons :
2022-01-10-18-img_CloneZilla/ is 338GB
LTO5 tape raw/uncompressed capacity is 1.5TB
tape was erased & rewinded before taring

df -h|grep /dev/|grep -v tmpfs|sort
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3,7T 3,5T 183G 96% /media/marc/Seagate Backup Plus Drive
/dev/sdb5 744G 73M 707G 1% /tmp
/dev/sdd2 96M 43M 54M 45% /boot/efi
/dev/sdd5 31G 23G 6,9G 77% /

So I guess tar or the OS is using a temp file/directory which is not /tmp

What do you think/know/counsel ?
Thanks in advance and my best wishes for 2022, Marc.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
marcurling
Level 1
Level 1
Posts: 4
Joined: Wed Jul 29, 2020 9:28 am
Contact:

Re: tar should use /tmp

Post by marcurling »

It seems my tape was bad.
Erasing it solved the problem.
Locked

Return to “Storage”