Unix Technical Forum

cfgadm and Hitachi Storage

This is a discussion on cfgadm and Hitachi Storage within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Is there a way to remove individual Hitachi Tagmastore or 9900-based LUNs from Solaris via `cfgadm`? Since the Hitachi ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:35 AM
Thomas H Jones II
 
Posts: n/a
Default cfgadm and Hitachi Storage

Is there a way to remove individual Hitachi Tagmastore or 9900-based LUNs
from Solaris via `cfgadm`? Since the Hitachi arrays present *all* of the
LUNs via a common WWN, it doesn't seem there's a way to give `cfgadm` a
unique target to unconfigure (and can't very well nuke the entire WWN since
other, active LUNs are also on that WWN). Thus, when the SAN administrators
de-zone LUNs from a running system, Solaris "remembers" the devices but
`format` shows them as offline/not available until the next reboot. It
would be aesthetically preferable if they could be completely deleted when
the LUNs are de-zoned from the system (without having to reboot). So, is
there something fun-duh-mental that I'm overlooking, here? I don't recall
having this issue on storage subsystems that present LUNs with unique WWNs.
--

"You can only be -so- accurate with a claw-hammer." --me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:35 AM
Cydrome Leader
 
Posts: n/a
Default Re: cfgadm and Hitachi Storage

In comp.sys.sun.admin Thomas H Jones II <ferric@xanthia.com> wrote:
> Is there a way to remove individual Hitachi Tagmastore or 9900-based LUNs
> from Solaris via `cfgadm`? Since the Hitachi arrays present *all* of the
> LUNs via a common WWN, it doesn't seem there's a way to give `cfgadm` a
> unique target to unconfigure (and can't very well nuke the entire WWN since
> other, active LUNs are also on that WWN). Thus, when the SAN administrators
> de-zone LUNs from a running system, Solaris "remembers" the devices but
> `format` shows them as offline/not available until the next reboot. It
> would be aesthetically preferable if they could be completely deleted when
> the LUNs are de-zoned from the system (without having to reboot). So, is
> there something fun-duh-mental that I'm overlooking, here? I don't recall
> having this issue on storage subsystems that present LUNs with unique WWNs.


are you running devfsadm after cfgadm to remove the disks that aren't
there anymore?

- san/zoning change stuff
- cfgadm -al
- devfsadm -Cv
- run format and look again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:35 AM
Thomas H Jones II
 
Posts: n/a
Default Re: cfgadm and Hitachi Storage

In article <fi7pmu$j9s$4@reader1.panix.com>,
Cydrome Leader <presence@MUNGEpanix.com> wrote:
>are you running devfsadm after cfgadm to remove the disks that aren't
>there anymore?
>
>- san/zoning change stuff
>- cfgadm -al
>- devfsadm -Cv
>- run format and look again.


Yup. Run through the whole gamut. Problem seems to be that, because the
Hitachis aren't presenting the LUNs down unique WWNs, cfgadm isn't properly
'disconnecting' the absent LUN/device after a de-zone. Thus, reruning
`devfsadm -C` doesn't seem to accomplish anything.
--

"You can only be -so- accurate with a claw-hammer." --me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 10:35 AM
lahuman9
 
Posts: n/a
Default Re: cfgadm and Hitachi Storage

On Nov 23, 8:12 pm, fer...@xanthia.com (Thomas H Jones II) wrote:
> In article <fi7pmu$j9...@reader1.panix.com>,
> Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>
> >are you running devfsadm after cfgadm to remove the disks that aren't
> >there anymore?

>
> >- san/zoning change stuff
> >- cfgadm -al
> >- devfsadm -Cv
> >- run format and look again.

>
> Yup. Run through the whole gamut. Problem seems to be that, because the
> Hitachis aren't presenting the LUNs down unique WWNs, cfgadm isn't properly
> 'disconnecting' the absent LUN/device after a de-zone. Thus, reruning
> `devfsadm -C` doesn't seem to accomplish anything.
> --
>
> "You can only be -so- accurate with a claw-hammer." --me


Before depresenting the san disk you need to give each path (or the
single mpxio path) a luxadm -e offline <raw disk device>.

Your servers may or may be at risk of crashing right now that there
are missing luns. You may want to schedule reboots to clear that up.
Alternatively, you may be able to get around if you can present new
luns in such a way that they show up with exactly the same path, and
then offline it as above.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 10:35 AM
Cydrome Leader
 
Posts: n/a
Default Re: cfgadm and Hitachi Storage

In comp.sys.sun.admin Thomas H Jones II <ferric@xanthia.com> wrote:
> In article <fi7pmu$j9s$4@reader1.panix.com>,
> Cydrome Leader <presence@MUNGEpanix.com> wrote:
>>are you running devfsadm after cfgadm to remove the disks that aren't
>>there anymore?
>>
>>- san/zoning change stuff
>>- cfgadm -al
>>- devfsadm -Cv
>>- run format and look again.

>
> Yup. Run through the whole gamut. Problem seems to be that, because the
> Hitachis aren't presenting the LUNs down unique WWNs, cfgadm isn't properly
> 'disconnecting' the absent LUN/device after a de-zone. Thus, reruning
> `devfsadm -C` doesn't seem to accomplish anything.


Interesting. I'll have to add that to list of stupid things solaris does
need a reboot for.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com