NEWBIE 9: Logical Volume Manager

From: Brian Lucas (BLucas@accela.com)
Date: Mon Jun 16 2003 - 12:06:25 EDT


I'm using a Sun Solaris 4500 with a StorEdge 5200 box running Solaris 9.
I'm using Sun's logical volume manager to arrange the 22 disks in a 0+1
array for different volumes u01, u02, u03. The disks are arranged as
follows:

 

/u01

Mirror d1

Submirror d11 (RAID 0)

Submirror d12 (RAID 0)

 

/u02

Mirror d2

Submirror d21 (RAID 0)

Submirror d22 (RAID 0)

 

/u03

Mirror d3

Submirror d31 (RAID 0)

Submirror d32 (RAID 0)

 

I ran metastat and noticed that all volumes have disks that have the State
of "Last Erred" or "Maintenance." The disks themselves are new and I'm not
sure how to clear the errors. Earlier, I ran metadetach on a submirror and
then rebuilt the mirror and the message of "Maintenance" went away but that
seems awfully round-about. What is the easiest, recommended way to clear
these errors. I've included the output for /u02's metastat as a reference.

 

# metastat d2

d2: Mirror

    Submirror 0: d21

      State: Needs maintenance

    Submirror 1: d22

      State: Needs maintenance

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 141435392 blocks

 

d21: Submirror of d2

    State: Needs maintenance

    Invoke: metareplace d2 c3t3d0s2 <new device>

    Size: 141435392 blocks

    Stripe 0: (interlace: 32 blocks)

        Device Start Block Dbase State Reloc Hot Spare

        c3t3d0s2 9424 Yes Maintenance Yes

        c3t4d0s2 9424 Yes Maintenance Yes

        c3t5d0s2 9424 Yes Maintenance Yes

        c3t6d0s2 9424 Yes Maintenance Yes

 

 

d22: Submirror of d2

    State: Needs maintenance

    Invoke: after replacing "Maintenance" components:

                metareplace d2 c0t19d0s2 <new device>

    Size: 141435392 blocks

    Stripe 0: (interlace: 32 blocks)

        Device Start Block Dbase State Reloc Hot Spare

        c0t19d0s2 9424 No Last Erred Yes

        c0t20d0s2 9424 No Last Erred Yes

        c0t21d0s2 9424 No Last Erred Yes

        c0t22d0s2 9424 Yes Last Erred Yes

 

 

Device Relocation Information:

Device Reloc Device ID

c3t3d0 Yes id1,ssd@w2000002037ba289e

c3t4d0 Yes id1,ssd@w2000002037605c5d

c3t5d0 Yes id1,ssd@w2000002037467108

c3t6d0 Yes id1,ssd@w20000020375b1ae5

c0t19d0 Yes id1,ssd@w2000002037ae67f7

c0t20d0 Yes id1,ssd@w2000002037ae940f

c0t21d0 Yes id1,ssd@w2000002037ae6909

c0t22d0 Yes id1,ssd@w20000020376e7e31

 

 

Brian Lucas, MCSE, OCP
IT Engineer

Accela, Inc.
9662 South 700 East
Sandy
UT, 84070

Tel: 801 495 9300
Fax: 801 495 9301

http://www.accela.com/ <http://www.accela.com/>
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:35 EDT