I’ve been trying to change the partition of an LTO8 tape in Windows 10 pro using the following API’s code snippet
it compiles without any warnings but didn’t change the partition.
`DWORD partition= 2;
if(SetTapePosition(hTape, TAPE_LOGICAL_BLOCK, partition, 0, 0, FALSE) != NO_ERROR)`
But it doesn’t change the partition. I can use the same function and handle to seek to various blocks within the first (default) partition, so I don’t think that’s the problem.
The tape has been partitioned for sure because i have checked it using SCSI command
i have tried to use the API that microsoft provides but hard luck with that
Sher is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.