Re: DiskSuite Mirror "Needs Maintenance"

From: Mr. Johan Andersson (johan_at_solace.mh.se)
Date: 10/27/05


Date: Thu, 27 Oct 2005 10:03:43 +0200


On Wed, 26 Oct 2005 mccmx@hotmail.com wrote:

> I recently had a server crash while restoring some files onto a data
> filesystem (/home1).
>
> /home1 is mirrored via SDS.
>
> After the crash the server wouldn't reboot because of inconsistencies
> in /home1.
>
> In order to get the server to boot up I ran fsck manually on the 2
> individual slices in the /home1 mirror. This did the trick and I was
> able to boot the server. Everything is running OK now, but my metastat
> output now shows:
>
> d34: Mirror
> Submirror 0: d14
> State: Needs maintenance
> Submirror 1: d24
> State: Needs maintenance
> Pass: 1
> Read option: roundrobin (default)
> Write option: parallel (default)
> Size: 62916642 blocks
>
> d14: Submirror of d34
> State: Needs maintenance
> Invoke: metareplace d34 c0t0d0s7 <new device>
> Size: 62916642 blocks
> Stripe 0:
> Device Start Block Dbase State Hot Spare
> c0t0d0s7 0 No Maintenance
>
>
> d24: Submirror of d34
> State: Needs maintenance
> Invoke: after replacing "Maintenance" components:
> metareplace d34 c0t8d0s7 <new device>
> Size: 62916642 blocks
> Stripe 0:
> Device Start Block Dbase State Hot Spare
> c0t8d0s7 0 No Last Erred
>
>
> hsp001: is empty
>
> Any ideas how to fix up SDS...?
>
> Matt

If you know there is no trouble with the disks, as is the case here (most
probably) then just reenable the disks starting with the one that is not
"Last Erred" since thet "Last Erred" on eis most up to date...

i.e.

metareplace -e d34 c0t0d0s7
and when thats synced up
metareplace -e d34 c0t8d0s7

all done

/Johan A



Relevant Pages

  • Re: DC RAID Configuration
    ... we often use six disks on a built-in RAID controller. ... I have heard about how MSFT does their own internal DC's and I have never seen such redundant redundancy in a server spec before or since. ... I would be tempted to create two stripe sets and mirror them. ...
    (microsoft.public.win2000.active_directory)
  • Re: metadevice
    ... > d7: Mirror ... > State: Needs maintenance ... If all disks seem available, i would start with just enabling the disks ... You will probably need to use the force mode to detach it, ...
    (comp.unix.solaris)
  • Re: How to break a mirror?
    ... > d30: Mirror ... > State: Needs maintenance ... disks for enough time to put them in maintainance state. ... then metastat d30 ...
    (comp.unix.solaris)
  • Re: dynamic disk problem?
    ... i according the document to do, is it because my window is xp ... it only support windoww 2000 server, ... i know in WIndows XP you can use 2 disks to ... >one of which has enough unallocated space available to mirror the other ...
    (microsoft.public.windowsxp.general)
  • RE: Basic Disk Mirror Problem
    ... > I have a server that the OS is on a mirror set consisting of two basic SCSI ... This mirror was set up back when the machine was running NT4 Server ... > dynamic disks. ...
    (microsoft.public.win2000.general)