«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
sgen
driver automatically and update driver aliases and any existing/etc/opt/SUNWsamfs/mcf
as 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/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:~# - See if one of the driver aliases in the list below is assigned to the
sgen
driver in your version of Solaris. Use the commandgrep
scs.*,08
/etc/driver_aliases
.Depending on the version of Solaris 10, thesgen
driver my be assigned any of the following aliases:scsa,08.bfcp"
and/orscsa,08.bvhci
scsiclass,08
scsiclass,08
alias for thesgen
driver:root@solaris:~#grep
scs.*,08
/etc/driver_aliases
sgen «scsiclass,08» root@solaris:~# - If the
grep
command returnssgen
"
alias
"
, wherealias
is an alias in the list above, stop here.Thesgen
driver is installed and assigned to the alias. - If the
grep
command returnssome-driver
"
alias
"
, wheresome-driver
is some driver other thansgen
and wherealias
is one of the aliases listed above, then the alias is already assigned to the other driver. So Create a Path-Oriented Alias for thesgen
Driver. - If the command
grep
scs.*,08
/etc/driver_aliases
does not return any output, thesgen
driver is not installed. So install it. Use the commandadd_drv
-i
scsiclass,08
sgen
.In the example, thegrep
command does not return anything. So we install thesgen
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 messageDriver (sgen) is already installed
, the driver is already installed but not attached. So attach it now. Use the commandupdate_drv
-a
-i
scsiclass,08 sgen
.In the example, theadd_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 aliasscsiclass,08
is assigned to thesgen
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 thesgen
driver. - If you are configuring a high-availability file system, see Configuring Storage for High-Availability File Systems.
- Otherwise, go to «Installing SAM-QFS Software».