问题原文
原帖链接 · elbarna · CC BY-SA 3.0
I have a LTO6 tape inserted
tapeinfo -f /dev/st0
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'ULTRIUM 6 '
Revision: '4142'
Attached Changer API: No
SerialNumber: 'HU1322VW9U'
MinBlock: 1
MaxBlock: 16777215
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x5a
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 3
But when backup reach the 2.27TB(tape compressed is 6TB) exit with error as tape is not compressed
2,27TiB 8:39:36 [75,6MiB/s] [ <=> ]
pv: write failed: Spazio esaurito sul device
error writing output file
I use tar for backup on slackware 14.2
tar cMpf - -X /etc/file.exclude /| openssl enc -e -aes256 -salt -pass file:filepass |(pv -p --timer --rate --bytes > /dev/st0)
已采纳解答
原帖链接 · TomTom · CC BY-SA 3.0
Compression assumes it can work. tar files generally can not be compressed (they already are), so yes, you may end up not getting the "average compression ratio". Pure text files may compress a lot more. Compression targets are estimates.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
