Unix Technical Forum

A1000 & Solaris Volume Manager problem with Concat/Stripe

This is a discussion on A1000 & Solaris Volume Manager problem with Concat/Stripe within the Sun Solaris Hardware forums, part of the Solaris Operating System category; --> Hello, I have an A1000 (under Solaris 9). I used RM6 to create an 11 disk RAID5 array - ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 02:31 PM
henrik
 
Posts: n/a
Default A1000 & Solaris Volume Manager problem with Concat/Stripe

Hello,
I have an A1000 (under Solaris 9). I used RM6 to create an 11 disk
RAID5 array - one LUN/logical drive. I then used Solaris Volume
Manager to create a single Concat/Stripe (d4) on the LUN. I then
created multiple soft partitions on top of the Concat/Stripe (d40, d41,
etc). I create my file systems on top of the soft partitions. I wanted
the flexibility to create more file systems and to grow them as need
be. Not sure this was the best way, but now my problem is that suddenly
(after working for a while) my Concat/Stripe says it is "State:
Unavailable" even though all the Soft Partitions on top of the
Concat/Strip say they are "State: OK". I cannot mount the soft
partition (no suprise since the underlying Concat/Stripe is not
available). They thing is, there is nothing wrong (that I can tell)
with the A1000 LUN on top of with the Concat/Strip was placed. Is there
some way to fix or diagnose this better? Can I recover the soft
partitions and or make the Concat/Strip "Available"? I tried playing
with 'metarecover' with no success.

Sincerely,

- Henrik

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 02:31 PM
Darren Dunham
 
Posts: n/a
Default Re: A1000 & Solaris Volume Manager problem with Concat/Stripe

henrik <henrik@stat.tamu.edu> wrote:
> They thing is, there is nothing wrong (that I can tell)
> with the A1000 LUN on top of with the Concat/Strip was placed. Is there
> some way to fix or diagnose this better? Can I recover the soft
> partitions and or make the Concat/Strip "Available"? I tried playing
> with 'metarecover' with no success.


Any errors in the messages file? I might want to do a
'format,analyze,read' on the LUN just to verify that it's okay.

Then I'd capture the output of 'metastat -p'. Next I'd reboot and see
if the metadevice would come up properly when initialized.

If not, I'd be tempted to destroy the devices (metaclear) and recreate
them in the exact same order (helped by the metastat -p output).
Creating concat/stripes, one way mirrors, and soft partitions should not
affect underlying data. Creating raid 5 will zero storage unless you
also use the -k option.

I'd probably want to make sure I had a good backup before doing that.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 02:31 PM
henrik
 
Posts: n/a
Default Re: A1000 & Solaris Volume Manager problem with Concat/Stripe

Thanks for the response. The following command fixed the problem:

metadevadm -u c2t5d0

on restart the Concat/Stripe (created on top of the hardware RAID5 on
the A1000) is OK again. All the underlying soft partitions can be
mounted. What exactly happened to cause the problem in the first place
(i.e. what caused the device ID to change) is a mystery to me and has
me somewhat concerend.

Sincerely,

- Henrik


Darren Dunham wrote:
> henrik <henrik@stat.tamu.edu> wrote:
> > They thing is, there is nothing wrong (that I can tell)
> > with the A1000 LUN on top of with the Concat/Strip was placed. Is there
> > some way to fix or diagnose this better? Can I recover the soft
> > partitions and or make the Concat/Strip "Available"? I tried playing
> > with 'metarecover' with no success.

>
> Any errors in the messages file? I might want to do a
> 'format,analyze,read' on the LUN just to verify that it's okay.
>
> Then I'd capture the output of 'metastat -p'. Next I'd reboot and see
> if the metadevice would come up properly when initialized.
>
> If not, I'd be tempted to destroy the devices (metaclear) and recreate
> them in the exact same order (helped by the metastat -p output).
> Creating concat/stripes, one way mirrors, and soft partitions should not
> affect underlying data. Creating raid 5 will zero storage unless you
> also use the -k option.
>
> I'd probably want to make sure I had a good backup before doing that.
>
> --
> Darren Dunham ddunham@taos.com
> Senior Technical Consultant TAOS http://www.taos.com/
> Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 02:31 PM
Dragan Cvetkovic
 
Posts: n/a
Default Re: A1000 & Solaris Volume Manager problem with Concat/Stripe

"henrik" <henrik@stat.tamu.edu> writes:

> Thanks for the response. The following command fixed the problem:
>
> metadevadm -u c2t5d0
>
> on restart the Concat/Stripe (created on top of the hardware RAID5 on
> the A1000) is OK again. All the underlying soft partitions can be
> mounted. What exactly happened to cause the problem in the first place
> (i.e. what caused the device ID to change) is a mystery to me and has
> me somewhat concerend.


I think we have (had?) a similar problem here (A1000 + Solaris 9) which we
solved (by-passed?) by postponing the mounting of the vfstab entries that
are on A1000 based soft partitions (don't forget to change "mount at boot"
option in /etc/vfstab to no!). There is probably some race between A1000
initialisation and the /etc/vfstab mounting processes.

Bye, Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!
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 06:49 AM.


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