Вы находитесь на странице: 1из 2

1. cp /kernel/drv/st.conf /kernel/drv/st.conf.`date +%m%d%y_%H%M%S` 2. mv /kernel/drv/sg.conf /kernel/drv/sg.conf.`date +%m%d%y_%H%M%S` 3. 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 ../sg.build all -mt 15 -ml 4 # cat st.conf >> /kernel/drv/st.conf # rem_drv sg # ./sg.install # /usr/openv/volmgr/bin/sgscan all conf -v

luxadm probe | tail -4

Вам также может понравиться