Hi,
In some mounths ago i have a lot of problems with my VTL drives, robot drives
and the robots in all my media servers, I don't know why "sgscan tape" not work
for you but, bellow is the procedure SUN sent me to remove and reinstall all
the drives and robots on solaris, for me its work because my problem is about
drive recognition i unconfigure and reconfigure all the drivers.
If you not sure if this is your problem not do this, wait to other person reply
you more specific solution.
#################################################################################
1. Remove the SG driver
# rem_drv sg
2. Stop netbackup
# /usr/openv/netbackup/bin/goodies/netbackup stop
# /usr/openv/netbackup/bin/goodies/bp.kill_all
3. Verify IF netbackup stay stoped
# /usr/openv/netbackup/bin/bpps -a
4. remove the driver controlers (In my case c9 and c14 replace from yours)
# cfgadm -c unconfigure c9
# cfgadm -c unconfigure c14
**If occurred an error you forgot to stop the sg driver srdb 75312**
5. remove the devices on /dev/rmt e /dev/sg
# rm -rf /dev/rmt/*
# rm -rf /dev/sg/*
6. add the controlers
# cfgadm -c configure c9
# cfgadm -c configure c14
7. verify IF the controlers is added OK
# cfgadm -al -o show_FCP_dev
8. add the tape devices
# devfsadm -C -c tape
Refer: http://support.veritas.com/docs/266501
============================================
Document ID: 266501
http://support.veritas.com/docs/266501 E-Mail Colleague IconE-Mail this
document to a colleague
Drives are not being recognized by the OS - Steps to rebuild the /dev/sg/* and
/dev/rmt/* devices on a Solaris Master or Media server
Details:
Here are the basic steps to rebuild the /dev/sg/* and /dev/rmt/* devices on a
Solaris server without rebooting.
1. Create a backup copy of the current st.conf file:
2. Move the existing sg.conf to a backup (this must be a move, otherwise a
later step will fail):
3. Create a backup copy of the current devlink.tab file:
cp /kernel/drv/st.conf /kernel/drv/st.conf.`date +%m%d%y_%H%M%S`
mv /kernel/drv/sg.conf /kernel/drv/sg.conf.`date +%m%d%y_%H%M%S`
cp /etc/devlink.tab /etc/devlink.tab.`date +%m%d%y_%H%M%S`
4. Delete SCSI targets/LUNs from the /kernel/drv/st.conf file:
name="st" class="scsi"
target=0 lun=0;
All of these entries should be removed, otherwise duplicates will be added
later.
5. Delete SCSI targets/LUNs from /etc/devlink.tab. This is typically the
section near the end of the file and the entries are typically of the form:
# begin SCSA Generic devlinks file - creates nodes in /dev/sg
type=ddi_pseudo;name=sg;addr=0,0; sg/c\N0t0l0
type=ddi_pseudo;name=sg;addr=1,0; sg/c\N0t1l0
type=ddi_pseudo;name=sg;addr=2,0; sg/c\N0t2l0
type=ddi_pseudo;name=sg;addr=3,0; sg/c\N0t3l0
type=ddi_pseudo;name=sg;addr=4,0; sg/c\N0t4l0
type=ddi_pseudo;name=sg;addr=5,0; sg/c\N0t5l0
type=ddi_pseudo;name=sg;addr=6,0; sg/c\N0t6l0
type=ddi_pseudo;name=sg;addr=0,1; sg/c\N0t0l1
type=ddi_pseudo;name=sg;addr=1,1; sg/c\N0t1l1
type=ddi_pseudo;name=sg;addr=2,1; sg/c\N0t2l1
type=ddi_pseudo;name=sg;addr=3,1; sg/c\N0t3l1
type=ddi_pseudo;name=sg;addr=4,1; sg/c\N0t4l1
type=ddi_pseudo;name=sg;addr=5,1; sg/c\N0t5l1
type=ddi_pseudo;name=sg;addr=6,1; sg/c\N0t6l1
# end SCSA devlinks
Everything in this section should be removed, inclusive of the beginning and
ending lines.
6. Change to the appropriate directory to run commands:
# cd /usr/openv/volmgr/bin/driver
7. Generate the configuration files (st.conf, sg.conf and sg.links): *Colocar
em -mt e -ml a quantidade total de drives
# ../sg.build all -mt 31 -ml 31
Note: You will need to know what the max_target and max_lun values will need to
be (this is the maximum SCSI Target and LUN value).
8. Append the generated st.conf entries to the OS configuration file:
# cat st.conf >> /kernel/drv/st.conf
9. Use the provided script to re-create the /kernel/drv/sg.conf file, append
the SCSA entries to /etc/devlink.tab and reload the sg driver:
# ./sg.install
10. Now sgscan should see the appropriate devices:
# /usr/openv/volmgr/bin/sgscan all conf -v
=================================================================================================
Atenciosamente,
Luciano Prata
Analista de Backup
Service IT Solutions
(21) 2211-4473
RS-PR-SP-RJ-ARG
www.service.com.br
-----Mensagem original-----
De: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces
AT mailman.eng.auburn DOT edu] Em nome de NBU
Enviada em: quinta-feira, 27 de maio de 2010 04:58
Para: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Assunto: [Veritas-bu] SGSCAN hangs..
Dear Forum,
My setup is 6.5.5 on Solaris 10.
When i run sgscan tape it gives few output and then goes in hang state not
giving any output.
--------------------------------------------------------------------------------
root@P203XMED03 # /opt/openv/volmgr/bin/sgscan tape
#
#WARNING: detected StorEdge Network Foundation connected devices not in
# SG configuration file:
#
# Device World Wide Port Name 21000014c320fcf6
#
# See /usr/openv/volmgr/NetBackup_DeviceConfig_Guide.txt chapter
# "Special configuration for "Sun StorEdge Network Foundation" HBA/Driver"
# for information on how to use sg.build and sg.install to
# configure these devices
#
/dev/sg/c0t0l0: (/dev/rmt/0): "IBM ULTRIUM-TD3"
/dev/sg/c2t0l0: (/dev/rmt/2): "IBM ULTRIUM-TD3"
----------------------------------------------------------------------------------
Any suggestions....
+----------------------------------------------------------------------
|This was sent by qureshiumar AT rediffmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|