cancel
Showing results for 
Search instead for 
Did you mean: 

5230 - Command line to scan for new fibrechannel devices

elanmbx
Level 6

So I was informed today by one of my storage admins that they are almost continually adding new LUNs for VMware.  And they are not always quick to pass along the information to the backup team.

So I was wondering - does anyone currently simply automatically run a scan on a regular basis (via cron) on their appliance?  If so... what is the command to do so?  I presume it's some sort of Linux FC scan command.  Or is there a Veritas command to run the scan?

TIA

1 ACCEPTED SOLUTION

Accepted Solutions

PatS729
Level 5

Hi,

Have you tried running "rescan-scsi-bus.sh" ?

To run above command you must have "sg3_utils" package installed on RHEL.

View solution in original post

3 REPLIES 3

D_Flood
Level 6

The commands to scan are built into the menus.  On my 2.6 box it's under Manage / FibreChannel.

As for command line, it's scripts, not a single command.  So it's not that clean.  Also, some of them will cause active backups to fail if executed during a backup...

 

PatS729
Level 5

Hi,

Have you tried running "rescan-scsi-bus.sh" ?

To run above command you must have "sg3_utils" package installed on RHEL.

elanmbx
Level 6

I believe that this is going to be the way to go - I am going to work with my storage team to test this out with a new datastore...