On Sat, Mar 18, 2017 at 3:51 AM, Paul Groves
On 17/03/17 10:23, Per Jessen wrote:
Carlos E. R. wrote:
Anyway, the OP mentioned using cleaning tape (twice?), no result.
oh, I missed that.
Hi everyone, thanks for all the responses. So many in fact I will just answer them all in one message.
Yes I tried a universal HP cleaning cartridge and a LTO3 Quantum cleaning cartridge and this made no difference.
The drive Clean LED had not come on.
I have 3 other tape drives on the same SCSI controller and I have no issue with any of them.
Yes I have a terminator on the end of the cable (It came on the cable).
I am backing up using tar -cvWf "/srv/folder1" "/srv/folder2" "/srv/folder3" "/srv/folder4" etc...
I tried a large 200GB ish backup: (just one folder e.g. tar -cvWf "/srv/folder1") and this has worked. It seems to fail when I specify lots of files.
I hope you are still only invoking tar once, not once per file? Try ensuring every invocation of tar writes at least a GB of data. If you are already calling tar with at least a GB of data every time, add a buffer between tar and the actual tape. Something like: tar ... | mbuffer -m 128M -p 90 -o /dev/st0 I don't use mbuffer anymore, so I might have the syntax on that wrong. If you have plenty of ram, increase the 128M parameter. Maybe 512M is better for an LTO-3. I used 128M with a LTO-1.
The only problem here is the folder does not fit on one LTO3 cartridge. This leads me back to two questions I asked earlier in the year which I had no success in resolving.
1. How do I verify tar and split between multiple tapes at the same time when W and m don't work together?
I don't recall ever doing it, so I can't help.
2. How do I turn on hardware compression on a tape drive in linux (what command)?
Asked and answered: http://markmail.org/message/j5tf6ywlsd2dxd4p If you don't understand the answer, ask for clarification, but you control tape drives modes via /etc/stinit.def And you have 4 modes per drive you get to define: /dev/st0 /dev/st0l (zero ell) /dev/st0m /dev/st0a More detail in the earlier answer. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org