«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.
- Physically connect the library and drives to the SAM-QFS server host.
- 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
sgendriver automatically and update driver aliases and any existing/etc/opt/SUNWsamfs/mcfas necessary. - 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 commandsuname -a.root@solaris:~#cat/etc/releaseOracle 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:~# - See if one of the driver aliases in the list below is assigned to the
sgendriver in your version of Solaris. Use the commandgrepscs.*,08/etc/driver_aliases.Depending on the version of Solaris 10, thesgendriver my be assigned any of the following aliases:scsa,08.bfcp"and/orscsa,08.bvhciscsiclass,08
scsiclass,08alias for thesgendriver:root@solaris:~#grepscs.*,08/etc/driver_aliasessgen «scsiclass,08» root@solaris:~# - If the
grepcommand returnssgen"alias", wherealiasis an alias in the list above, stop here.Thesgendriver is installed and assigned to the alias. - If the
grepcommand returnssome-driver"alias", wheresome-driveris some driver other thansgenand wherealiasis one of the aliases listed above, then the alias is already assigned to the other driver. So Create a Path-Oriented Alias for thesgenDriver. - If the command
grepscs.*,08/etc/driver_aliasesdoes not return any output, thesgendriver is not installed. So install it. Use the commandadd_drv-iscsiclass,08sgen.In the example, thegrepcommand does not return anything. So we install thesgendriver:root@solaris:~# grep scs.*,08 /etc/driver_aliases root@solaris:~#add_drv-iscsiclass,08sgen - If the command
add_drv-iscsiclass,08sgenreturns the messageDriver (sgen) is already installed, the driver is already installed but not attached. So attach it now. Use the commandupdate_drv-a-iscsiclass,08 sgen.In the example, theadd_drvcommand 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-iscsiclass,08 sgen - If the command
grepscs.*,08/etc/driver_aliasesshows that the aliasscsiclass,08is assigned to thesgendriver, 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 thesgendriver. - If you are configuring a high-availability file system, see Configuring Storage for High-Availability File Systems.
- Otherwise, go to «Installing SAM-QFS Software».