Closed TulioLazarini closed 3 years ago
I tried to find any hint at https://www.ibm.com/docs/en/spectrum-archive-sde/2.4.3.0?topic=systems-generic-messages, but the informational messages are not listed there.
Tape device is append only device. So tape device doesn't append any data when a medium have a defect which causes permanent write error (write perm). In other words, tape drive couldn't write any data after a defected position.
It indicates there is no chance to recover the tape on LTFS because LTFS tries to append the newest index at the end of final data when the medium has a defect to cause a write perm. So LTFS tries to write the latest index on the other partition when the drive reports a wrote perm (because of the medium reason).
In this case, drive should report a write perm (because of the medium reason) and LTFS wrote the latest index on the index partition successfully and make it read only. It looks LTFS works as designed.
If you believe the medium healthy, you can reuse the medium in the procedure below.
mkltfs -d [device] -f
Thanks for the clarification @piste-jp-ibm. The media is brand new, so I'll try to use it one more time and see what happens, now that I've cleaned the drive.
Hello everyone,
I was writing some data on a LTO8 cartridge, and during the job an error 6 happened (write error). I suspended the copy job, unmounted the cartridge, and a clean request came to the display. I performed a clean cycle, and when I reinserted the cartridge and tried to mount it again, I've got the following error:
I saw the two lines below: 19d25d LTFS11333I A cartridge with write-perm error is detected on DP. Seek the newest index (IP Gen = 53, VCR = 197) (DP Gen = 52, VCR = 175) (VCR = 197). 19d25d LTFS14019I Medium is write protected. Mounting read-only.
The write error marked the cartrdge, somehow, as 'write-perm' error and now it only mount as read-only. I have tried to run ltfsck on it, to no avail:
I have noticed the following lines, but I don't know how to proceed: LTFS16111I The recovery process is skipped because of a locked cartridge (4). LTFS11333I A cartridge with write-perm error is detected on DP. Seek the newest index (IP Gen = 53, VCR = 197) (DP Gen = 52, VCR = 175) (VCR = 197).
Any help would be greatly appreciated. Thanks!