我插入了 LTO6 磁带
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
Run Code Online (Sandbox Code Playgroud)
但是当备份达到 2.27TB(磁带压缩为 6TB)时,由于磁带未压缩而出现错误退出
2,27TiB 8:39:36 [75,6MiB/s] [ <=> ]
pv: write failed: Spazio esaurito sul device
error writing output file
Run Code Online (Sandbox Code Playgroud)
我在 slackware 14.2 上使用 tar 进行备份
tar cMpf - -X /etc/file.exclude /| openssl enc -e -aes256 -salt -pass file:filepass |(pv -p --timer --rate --bytes > /dev/st0)
Run Code Online (Sandbox Code Playgroud)
Joh*_*ald 17
在您的情况下,是文件级加密阻止了压缩。
加密尝试使数据流看起来尽可能多的随机“噪音”。压缩试图增加数据“密度”,这与限制进一步压缩的效果类似。
压缩假设它可以工作。tar 文件通常无法压缩(它们已经压缩了),所以是的,您最终可能无法获得“平均压缩率”。纯文本文件可能压缩得更多。压缩目标是估计值。
归档时间: |
|
查看次数: |
1820 次 |
最近记录: |