sgscan showing same tape drive & robot twice in solaris
Created: 08 Aug 2012 | 22 comments
Actually I had to reinstall one of my media server. I installed netbackup successfully & when i tried to configure tape drive, sgscan is showing same tape drive & robot twice in solaris. I tried to unconfigure it using cfgadm & it is giving me Configuration administration not supported.
Discussion Filed Under:
Comments 22 Comments • Jump to latest comment
multipathing enabled? that could do it. we had a setup that way & it worked just fine.
will restore -- where there is a Will there is a way
Please show us output of
ls -l /dev/rmt/*cbn
This will confirm paths to devices.
Multipathing is fine as long as the device wizard is used for configuration.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Solaris multipathing is meant for disk, not tape.
Is your media server Solaris SPARC or x86?
Extract from Device Config Guide
Configuring Solaris 10 x86 for multiple drive paths
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Media server is Solaris SPARC & another thing i noticed is four HBAs online in this server compared to two online in other media servers.
Marianne can you assist me further on this?
Fix your zoning - I suspect you have the drives zoned in twice.
Martin
Can i ignore duplicate one & configure it?
It'll just configure with mutiple paths as long as you use the wizard.
BUT
Clearly this is not how the system was designed, as you have rasied the concern. So you should fix the problem, not ignore it.
It is not difficult to check zoning and unzone drives.
I think you need to sit down and lok at the design documets to see how the drives are meant to be attached, and see what the design document for the zoning says.
Martin
Yes, just use the wizard to config.
I was involved in big customer installation about a year ago with multiple Solaris Sparc media servers.
They had dual paths to the tape drives - /dev/rmt entries as well as sgcan showed 2 paths.
All worked fine using the wizard to config.
With more and more media servers being added to the 'mix' and due to the amount of devices and paths, the GUI wizard started to timeout.
We then opted for command line config where timeout can be specified:
vmoprcmd -h <media-server-name> -timeout 3600 -autoconfig -a
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
In the wizard i just removed the duplicate path for the tape drives & went ahead but the wizard finally get hanged at restarting device manager daemon.
If you don't want multipathing on your tape drives, fix the zoning.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
How to proceed as the wizard has got hanged? Shall i delete the drives & reconfigure...
You could try that.
Is the OS still seeing each drive twice ?
Martin
You removed the paths in the wizard, as clearly, you don't want multiplathing.
In my advice before, I said to remove the zoning if you don't want multiplathing.
What you will end up with, potentially, is drives configured on one path, buth that have an extra' unused path.
Can you images how confusing this will be to the next TSE who looks at this system.
This is the perfect example of how not to do things - it leads to systems in such a mess that future troubleshooting gets very complex, and very very time consuming.
I asked a previous question:
What does you design document/ system documentation show for this system ?
You never gave an answer to this. You need to know what should be there.
Martin
In support of Martin's question:
Does each device actually have 2 fiber ports? Each zoned to different hba?
Or one drive connection zoned to 2 hba's?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
One drive connection zoned to 2 hbas...
Nope. Fix zoning to one hba only.
NBU Device Multipathing is meant for connectivity to dual-port devices.
I can unfortunately not find any documentation with requirements/instructions - just know this from experience.
I have asked a couple of Symantec gurus (including Martin) to help find such documentation.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Thanks Marianne...I need some couple of days to fix this as i am not a SAN admin.
Just received confirmation from Martin that single connection zoned to two hba's is supported.
Martin will hopefully post details of his findings.
So, it seems your config should work, but please, do not select devices manually in the wizard. Just accept all devices that are found and continue with config...
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Not too much to report really, on checking, it seems that it should bepossible to configure a drive, that is connected to a media server via 2 HBAs, thus giving 'dual' paths.
As Marianne suggested, allow the wizard to configure all the paths - it should work ...
Martin
yup, as indicated in my first post.
should work fine presuming there is no trouble with the hardware & san zoning.
will restore -- where there is a Will there is a way
Would you like to reply?
Login or Register to post your comment.