Assume the Primary Administrator role, or become superuser.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Use the metastat command to view the status of the RAID-1 volume and associated submirrors.
# metastat mirror-name |
or
metastat -a |
Use the metasync volume command to resume the resynchronization process.
# metasync volume |
The following example illustrates how to resume the resynchronization process on a volume that is part of the disk set blue. Notice that the submirrors are in the “Resync cancelled” state before running the metasync command. Once the metasync command is issued, the resynchronization process resumes.
# metastat -a blue/d10: Mirror Submirror 0: blue/d1 State: Resync cancelled Submirror 1: blue/d2 State: Okay Resync cancelled: 3 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 10485760 blocks (5.0 GB) blue/d1: Submirror of blue/d10 State: Resync cancelled Invoke: metasync blue/d10 Size: 10485760 blocks (5.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare /dev/dsk/c3t50020F230000FA57d0s0 0 No Okay Yes blue/d2: Submirror of blue/d10 State: Okay Size: 10485760 blocks (5.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare /dev/dsk/c3t50020F230000FA57d0s1 0 No Okay Yes Device Relocation Information: Device Reloc Device ID /dev/dsk/c3t50020F230000FA57d0 Yes id1,ssd@n60020f200000fa574033661f000c641 4 # metasync -s blue d10 # metastat -a blue/d10: Mirror Submirror 0: blue/d1 State: Resyncing Submirror 1: blue/d2 State: Okay Resync in progress: 3 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 10485760 blocks (5.0 GB) blue/d1: Submirror of blue/d10 State: Resyncing Size: 10485760 blocks (5.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare /dev/dsk/c3t50020F230000FA57d0s0 0 No Okay Yes blue/d2: Submirror of blue/d10 State: Okay Size: 10485760 blocks (5.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare /dev/dsk/c3t50020F230000FA57d0s1 0 No Okay Yes Device Relocation Information: Device Reloc Device ID /dev/dsk/c3t50020F230000FA57d0 Yes id1,ssd@n60020f200000fa574033661f000c641 4 |