Configure a Direct-Attached Library mtx solaris

por | 12 abril, 2019

«Para que aparezca changer»

In the example, Solaris is using the scsiclass,08 alias for the sgen driver:

root@solaris:~# grep scs.*,08 /etc/driver_aliases
sgen «scsiclass,08»
root@solaris:~#
If the grep command returns sgen «alias», where alias is an alias in the list above, stop here.

The sgen driver is installed and assigned to the alias.

If the grep command returns some-driver «alias», where some-driver is some driver other than sgen and where alias is one of the aliases listed above, then the alias is already assigned to the other driver. So Create a Path-Oriented Alias for the sgen Driver.

If the command grep scs.*,08 /etc/driver_aliases does not return any output, the sgen driver is not installed. So install it. Use the command add_drv -i scsiclass,08 sgen.

In the example, the grep command does not return anything. So we install the sgen driver:

root@solaris:~# grep scs.*,08 /etc/driver_aliases
root@solaris:~# add_drv -i scsiclass,08 sgen
If the command add_drv -i scsiclass,08 sgen returns the message Driver (sgen) is already installed, the driver is already installed but not attached. So attach it now. Use the command update_drv -a -i scsiclass,08 sgen.

In the example, the add_drv command indicates that the driver is already installed. So we attach the driver:

root@solaris:~# add_drv -i scsiclass,08 sgen
Driver (sgen) is already installed.
root@solaris:~# update_drv -a -i scsiclass,08 sgen
If the command grep scs.*,08 /etc/driver_aliases shows that the alias scsiclass,08 is assigned to the sgen driver, stop here. The driver is properly configured.

root@solaris:~# grep scs.*,08 /etc/driver_aliases
sgen «scsiclass,08»
root@solaris:~#
The library has now been configured using the sgen driver.

By default, Solaris 10 update 6 and later versions of the operating system control robotic media libraries using the generic SCSI driver sgen. So, SAM-QFS Release 5.4 and later uses the default sgen driver in place of the legacy SAM-QFS samst driver.

  1. Physically connect the library and drives to the SAM-QFS server host.
  2. If you are installing SAM-QFS for the first time or upgrading a SAM-QFS configuration on Solaris 11, stop once the hardware has been physically connected.The installation software will use the sgen driver automatically and update driver aliases and any existing /etc/opt/SUNWsamfs/mcf as necessary.
  3. If you are installing SAM-QFS on a Solaris 10 system, log in to the server host as root, and find out which version of Solaris is installed. Use the commands uname -a.root@solaris:~# cat /etc/release Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled 11 August 2010 root@solaris:~#
  4. See if one of the driver aliases in the list below is assigned to the sgen driver in your version of Solaris. Use the command grep scs.*,08/etc/driver_aliases.Depending on the version of Solaris 10, the sgen driver my be assigned any of the following aliases:
    • scsa,08.bfcp" and/or scsa,08.bvhci
    • scsiclass,08
    In the example, Solaris is using the scsiclass,08 alias for the sgen driver:root@solaris:~# grep scs.*,08 /etc/driver_aliases sgen «scsiclass,08» root@solaris:~#
  5. If the grep command returns sgen "alias", where alias is an alias in the list above, stop here.The sgen driver is installed and assigned to the alias.
  6. If the grep command returns some-driver "alias", where some-driver is some driver other than sgen and where alias is one of the aliases listed above, then the alias is already assigned to the other driver. So Create a Path-Oriented Alias for the sgen Driver.
  7. If the command grep scs.*,08 /etc/driver_aliases does not return any output, the sgen driver is not installed. So install it. Use the command add_drv -i scsiclass,08 sgen.In the example, the grep command does not return anything. So we install the sgen driver:root@solaris:~# grep scs.*,08 /etc/driver_aliases root@solaris:~# add_drv -i scsiclass,08 sgen
  8. If the command add_drv -i scsiclass,08 sgen returns the message Driver (sgen) is already installed, the driver is already installed but not attached. So attach it now. Use the command update_drv -a -i scsiclass,08 sgen.In the example, the add_drv command indicates that the driver is already installed. So we attach the driver:root@solaris:~# add_drv -i scsiclass,08 sgen Driver (sgen) is already installed. root@solaris:~# update_drv -a -i scsiclass,08 sgen
  9. If the command grep scs.*,08 /etc/driver_aliases shows that the alias scsiclass,08 is assigned to the sgen driver, stop here. The driver is properly configured.root@solaris:~# grep scs.*,08 /etc/driver_aliases sgen «scsiclass,08» root@solaris:~# The library has now been configured using the sgen driver.
  10. If you are configuring a high-availability file system, see Configuring Storage for High-Availability File Systems.
  11. Otherwise, go to «Installing SAM-QFS Software».