Ignore:
Timestamp:
May 10, 2013, 8:54:24 PM (6 years ago)
Author:
bruno
Message:

r5281@localhost: bruno | 2013-05-08 11:56:49 +0200

  • Fix support for OBDR tapes on SCSI cards: in some cases the tape remains in OBDR mode (aka CDROM emulation) preventing the init script to work correctly. It now try to detect these cases, and to reset the SCSI device being of type CDROM (5) and looking like a tape drive as a model. (Not tested yet)
  • Improve in consequence the OBDR specific README
  • Adds support for the obdrmods boot parameter if some additional drivers should be removed
  • adds rev to the minimal list of tools to have as this is now potentially required
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/README.obdr

    r2997 r3119  
    44
    55You need to use the options -o and -t of mondoarchive to activate it.
    6 You may also need an additional software (hpsa_obdr_mode) if using HP ProLiant servers, in order to put th tape drive in the right mode from the command line (also in case of problem after OBDR boot, when the drive doesn't come back alone into tape mode Cf: http://trac.mondorescue.org/ticket/358)
    7 That software is available from http://cciss.sf.net/ and http://trac.mondorescue.org/attachment/ticket/358/hpsa_obdr_mode.c + http://trac.mondorescue.org/attachment/ticket/358/Makefile
     6You may also need an additional software (hpsa_obdr_mode) if using a tape drive attached to the Smart Array controller of a HP ProLiant servers, in order to put the tape drive in the right mode from the command line (also in case of problem after OBDR boot, when the drive doesn't come back alone into tape mode Cf: http://trac.mondorescue.org/ticket/358). That software is available from http://cciss.sf.net/ and http://trac.mondorescue.org/attachment/ticket/358/hpsa_obdr_mode.c + http://trac.mondorescue.org/attachment/ticket/358/Makefile
     7You may also need an additional software (sg_wr_mode) if using a tape drive attached to a SCSI controller of a server, in order to put the tape drive in the sequential mode after OBDR boot, when the drive doesn't come back alone into that mode. That software is available within the sg3_utils package.
    88
    9 Here is an example script showing how to setup the tape based DR correctly completely from the CLI on SLES 10 on a ProLiant server using an internal SAS DAT 160 tape drive:
     9Here is an example script showing how to setup the tape based DR correctly completely from the CLI on SLES 10 on a ProLiant server using an internal SAS DAT 160 tape drive connected to the embedded Smart Array controller:
    1010
    1111# Create some temp dirs for mondoarchive
     
    2323#reboot
    2424
    25 The machine is backed up and then rebooted in the OBDR mode ... without using the button ;-)
     25The machine is backed up and then rebooted in the OBDR mode ... without even using the button ;-)
     26
     27Here is an example script showing how to setup correctly at restore time the tape completely from the CLI on SLES 11 on a ProLiant server using an external SAS Ultrium 4 tape drive connected to a SCSI controller:
     28
     29# Determine which generic SCSI device needs to be used - It may appear as a CD if in OBDR mode (non sequential)
     30sg_map
     31[...]
     32/dev/sg1  /dev/scd1
     33[...]
     34# you may cross check with cat /proc/scsi/scsi
     35#
     36# Inquire in which mode the tape is (CD-rom drive == 0x05, tape drive == 0x01)
     37sg_inq -d /dev/sg1
     38[...]
     39Device_type=5
     40
     41# Reset the device in order to be in Sequential mode again
     42sg_reset -d /dev/sg1
     43
     44# Remove all related drivers and reload them
     45rmmod st
     46rmmod mptsas
     47rmmod mptspi
     48modprobe mptspi
     49modprobe mptsas
     50modprobe st
Note: See TracChangeset for help on using the changeset viewer.