cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete tape drives at OS level in Linux

Sharad_Singh7
Level 4

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

4 REPLIES 4

quebek
Moderator
Moderator
   VIP    Certified

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

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

Nicolai
Moderator
Moderator
Partner    VIP   

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.

pats_729
Level 6
Employee
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