I would like to delete some faulty tape drives at OS level on Linux media server as we are not using those for backups.
look at such commands mt, dd
with mt you can position tape with dd you can erase it...
I am sorry I misread you query... you want to remove tape drive - not erase a tape :catwink: sorry disregard my reply
I would personally search a Linux site for the specific Linux 'flavour' and version.
I have in the past seen a command being used like '
No idea if it works on all Linux's.
You need to scan the FC & SCSI subsystem in order to get rid of "ghost" devices
Alternative: reboot the systems.