Jon*_*ein 4 linux tape dd archiving lto
该/data文件夹保存在磁带上
dar -R /data/ -c - | mbuffer -R 110M -P 90 -m 1G | dd of=/dev/nst0 bs=256k\nRun Code Online (Sandbox Code Playgroud)\n\n我如何测试、列出并提取它?
\n\n我尝试了以下方法来测试存档,但没有运气:
\n\n# mt -f /dev/nst0 status\nSCSI 2 tape drive:\nFile number=0, block number=0, partition=0.\nTape block size 0 bytes. Density code 0x58 (no translation).\nSoft error count since last status=0\nGeneral status bits on (41010000):\n BOT ONLINE IM_REP_EN\n\n# dd if=/dev/nst0 bs=256k | dar -t -\ndd: error reading \xe2\x80\x98/dev/nst0\xe2\x80\x99: Cannot allocate memory\n0+0 records in\n0+0 records out\n0 bytes (0 B) copied, 0.00344152 s, 0.0 kB/s\nOpening a pair of pipes to read the archive, expecting dar_slave at the other ends...\n\xef\xbf\xbdFinal memory cleanup...\nFATAL error, aborting operation\nCorrupted data read on pipe\nRun Code Online (Sandbox Code Playgroud)\n
小智 5
-0对于顺序读取:
dd if=/dev/nst0 bs=256k | dar -0 -t -
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
868 次 |
| 最近记录: |