Veritas-bu

Re: [Veritas-bu] Linux tape discovery / cleanup

2008-03-06 11:13:38
Subject: Re: [Veritas-bu] Linux tape discovery / cleanup
From: "Paul Keating" <pkeating AT bank-banque-canada DOT ca>
To: "Peter DrakeUnderkoffler" <pcd AT xinupro DOT com>
Date: Thu, 6 Mar 2008 10:54:18 -0500
Ah yes....this is about what I found using Google as well, once sorted through 
the 150000000 linux incantations.

Coming from a Solaris background, I'm thinking:

> rm -f /dev/rmt/*
> devfsadm

Looks like I've got more work to do.

-- 


> -----Original Message-----
> From: Peter DrakeUnderkoffler [mailto:pcd AT xinupro DOT com] 
> Sent: March 06, 2008 10:46 AM
> To: Paul Keating
> Cc: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: Re: [Veritas-bu] Linux tape discovery / cleanup
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Lots of data on Google for this.
> 
> 
> You can remove/add scsi devices at different levels.  You can always
> remove (unload) the module for the SCSI/FC driver and reload 
> it as long
> as you take care of all the dependencies.
> 
> You can be far more precise with /proc/scsi/scsi for removing a device
> with:
> 
> echo "scsi remove-single-device #1 #2 #3 #4" > /proc/scsi/scsi
> 
> where:
> 
>  #1 = controller number
>  #2 = channel number
>  #3 = SCSI id
>  #4 = LUN number
> 
> and to add if you know all the particulars:
> 
> echo "scsi add-single-device #1 #2 #3 #4" > /proc/scsi/scsi
> 
> If you are running a 2.6 kernel version of redhat (RHv4 or v5), you
> can also use the /sys/class/scsi_host/host#/ routines.
> 
> There may be needed tasks performed in /etc/modprobe.conf or 
> /etc/modules.conf
> as well as making a new boot image (initrd with the command 
> mkinitrd).  These
> changes do require a reboot.
> 
> Thanks
> Peter
> 
> 
> Peter DrakeUnderkoffler
> Xinupro, LLC
> 617-834-2352
> 
> 
> 
> Paul Keating wrote:
> > Hey Folks.
> >  
> > First foray into enterprise linux using RHEL.
> >  
> > when adding or removing tape devices, can you add new, or cleanup
> > disconencted devices in any sane way?
> > I've been rebooting to see new devices, or if presenting new and
> > disconnecting old, it looks like the old dev files are 
> hanging around in
> > addition to the new ones being created.
> >  
> > ??
> > 
> > 
> ==============================================================
> ======================
> > 
> > La version française suit le texte anglais.
> > 
> > 
> --------------------------------------------------------------
> ----------------------
> > 
> > This email may contain privileged and/or confidential 
> information, and the Bank of
> > Canada does not waive any related rights. Any distribution, 
> use, or copying of this
> > email or the information it contains by other than the 
> intended recipient is
> > unauthorized. If you received this email in error please 
> delete it immediately from
> > your system and notify the sender promptly by email that 
> you have done so. 
> > 
> > 
> --------------------------------------------------------------
> ----------------------
> > 
> > Le présent courriel peut contenir de l'information 
> privilégiée ou confidentielle.
> > La Banque du Canada ne renonce pas aux droits qui s'y 
> rapportent. Toute diffusion,
> > utilisation ou copie de ce courriel ou des renseignements 
> qu'il contient par une
> > personne autre que le ou les destinataires désignés est 
> interdite. Si vous recevez
> > ce courriel par erreur, veuillez le supprimer immédiatement 
> et envoyer sans délai à
> > l'expéditeur un message électronique pour l'aviser que vous 
> avez éliminé de votre
> > ordinateur toute copie du courriel reçu.
> > 
> > 
> > 
> --------------------------------------------------------------
> ----------
> > 
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
> 
> iD8DBQFH0BHIl+lekZRM55oRArlCAJ4wPiU99hi+h4pyAG2yyQz+LJYSVwCg3QEj
> KEyUGHUVDP1GtXBVU40QadI=
> =C5TV
> -----END PGP SIGNATURE-----
> 
====================================================================================

La version française suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential information, and the Bank 
of
Canada does not waive any related rights. Any distribution, use, or copying of 
this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it immediately 
from
your system and notify the sender promptly by email that you have done so. 

------------------------------------------------------------------------------------

Le présent courriel peut contenir de l'information privilégiée ou 
confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute 
diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
personne autre que le ou les destinataires désignés est interdite. Si vous 
recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans 
délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de 
votre
ordinateur toute copie du courriel reçu.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>