cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete tape drives at OS level in Linux

Hi All,

 

I would like to delete some faulty tape drives at OS level on Linux media server as we are not using those for backups.

 

Thanks

Tags (1)
4 Replies

Re: How to delete tape drives at OS level in Linux

hi

look at such commands mt, dd

with mt you can position tape with dd you can erase it... 

============EDITED=============

I am sorry I misread you query... you want to remove tape drive - not erase a tape :catwink: sorry disregard my reply

Re: How to delete tape drives at OS level in Linux

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 'rescan-scsi-bus.sh '
No idea if it works on all Linux's.

Re: How to delete tape drives at OS level in Linux

You need to scan the FC & SCSI subsystem in order to get rid of "ghost" devices

See : https://www.2daygeek.com/scan-detect-luns-scsi-disks-on-redhat-centos-oracle-linux/

Alternative: reboot the systems.

Re: How to delete tape drives at OS level in Linux

My thought is... you must first unzone those drives from SAN and then rescan HBA on Linux server with command “rescan-scsi-bus.sh” once this is done you can delete it from NBU console