07-04-2014 02:31 AM
Dear Forum,
I am facing problem with tape drive visibility on netbackup.
Total 8 drive should be visible but only 7 is getting detected on nbu.
On OS and OBP level i m getting it but not in netbackup.
I have tried rebuilding sg, rebooting media server etc.but no luck.
MY ? is : Need to understand -mt & -ml while giving for sg.build
Can you pls. explain or any good doc on this to understand it.
Thanks
Solved! Go to Solution.
07-07-2014 10:10 PM
Hello Martin,
After giving the steps given by you...when i checked the sgscan ...none of the tapes were getting detected on the media server.
07-07-2014 10:13 PM
Hello,
I tried first with sg.build all but with no luck...and then adding the enteries in both the files...but that too didnt helped.
Finally,
I performed the following and was able to get all the 8 drives...
Thanks for all the help and suggestions...as always..
07-08-2014 01:00 AM
If we look at your steps and the steps that I have posted over here, you will agree that if you followed the steps in my post exactly, it would've worked, right?
Your steps:
in some cases the Target can be a WWNthe value between the comma and the : is the Lun
... not necessary to convert Target value if it's a WWN
3) go to driver directorya) cd /usr/openv/volmgr/bin/driveri) all your commands will be run FROM THIS DIRECTORY
Exactly as per my steps:
# cd /usr/openv/volmgr/bin/driver
If steps are run from ANY other folder, the sg.links and sg.conf file is created in the wrong place and sg.install will not use the newly created templates. Older and probably incorrect files in driver folder will still be used.
4) if Target is a WWNa) run the command ../sg.build all (make sure to include the two leading periods)
We new target is wwn from your /dev/rmt listing.
I have therefore not listed -mt and -mt options.
6) remove old sg.conf filea) rm /kernel/drv/sg.conf7) install new driver configuration filesa) ./sg.install (make sure to include the single leading period)8) verify correct sg operation by running scana) /usr/openv/volmgr/bin/scan
My steps:
Install the new sg driver configuration:
# /usr/bin/rm -f /kernel/drv/sg.conf
# /usr/openv/volmgr/bin/driver/sg.install
Check/verify config:
# /usr/openv/volmgr/bin/sgscan
So... you will agree that your steps is just a longer version of mine, right?
I always have my steps in a text file and simply copy & paste.
Especially when target is wwn.
Works every time!
07-08-2014 02:18 AM