JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Volume Manager Administration Guide     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

1.  Getting Started With Solaris Volume Manager

2.  Storage Management Concepts

3.  Solaris Volume Manager Overview

4.  Solaris Volume Manager for Sun Cluster (Overview)

5.  Configuring and Using Solaris Volume Manager (Scenario)

6.  State Database (Overview)

7.  State Database (Tasks)

8.  RAID-0 (Stripe and Concatenation) Volumes (Overview)

9.  RAID-0 (Stripe and Concatenation) Volumes (Tasks)

10.  RAID-1 (Mirror) Volumes (Overview)

11.  RAID-1 (Mirror) Volumes (Tasks)

12.  Soft Partitions (Overview)

13.  Soft Partitions (Tasks)

14.  RAID-5 Volumes (Overview)

15.  RAID-5 Volumes (Tasks)

16.  Hot Spare Pools (Overview)

17.  Hot Spare Pools (Tasks)

Hot Spare Pools (Task Map)

Creating a Hot Spare Pool

How to Create a Hot Spare Pool

How to Add Additional Slices to a Hot Spare Pool

Associating a Hot Spare Pool With Volumes

How to Associate a Hot Spare Pool With a Volume

How to Change the Associated Hot Spare Pool

Maintaining Hot Spare Pools

How to Check the Status of Hot Spares and Hot Spare Pools

How to Replace a Hot Spare in a Hot Spare Pool

How to Delete a Hot Spare From a Hot Spare Pool

How to Enable a Hot Spare

18.  Disk Sets (Overview)

19.  Disk Sets (Tasks)

20.  Maintaining Solaris Volume Manager (Tasks)

21.  Best Practices for Solaris Volume Manager

22.  Top-Down Volume Creation (Overview)

23.  Top-Down Volume Creation (Tasks)

24.  Monitoring and Error Reporting (Tasks)

25.  Troubleshooting Solaris Volume Manager (Tasks)

A.  Important Solaris Volume Manager Files

B.  Solaris Volume Manager Quick Reference

C.  Solaris Volume Manager CIM/WBEM API

Index

Associating a Hot Spare Pool With Volumes

How to Associate a Hot Spare Pool With a Volume

Before You Begin

Check Prerequisites for Creating Solaris Volume Manager Components.

  1. Become superuser.
  2. To associate a hot spare pool with a RAID-5 volume or submirror, use one of the following methods:
    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes and choose a volume. Choose Action⇒Properties. Then, choose the Hot Spare Pool panel. Finally, choose Attach HSP. For more information, see the online help.

    • Use the following form of the metaparam command:

      # metaparam -h hot-spare-pool component
      -h

      Specifies to modify the named hot spare pooll.

      hot-spare-pool

      Specifies the name of the hot spare pool.

      component

      Specifies the name of the submirror or RAID-5 volume to which the hot spare pool is being associated.

      See the metaparam(1M) man page for more information.

Example 17-4 Associating a Hot Spare Pool With Submirrors

In the following example, the -h option associates a hot spare pool, hsp100, with two submirrors, d10 and d11, of mirror, d0. The metastat command shows that the hot spare pool is associated with the submirrors.

# metaparam -h hsp100 d10
# metaparam -h hsp100 d11
# metastat d0
d0: Mirror
    Submirror 0: d10
      State: Okay        
    Submirror 1: d11
      State: Okay        
...
 
d10: Submirror of d0
    State: Okay        
    Hot spare pool: hsp100
...
 
 
d11: Submirror of d0
    State: Okay        
    Hot spare pool: hsp100
...

Example 17-5 Associating a Hot Spare Pool With a RAID-5 Volume

In the following example, the -h option associates a hot spare, hsp001, with a RAID-5 volume,d10. The metastat command shows that the hot spare pool is associated with the RAID-5 volume.

# metaparam -h hsp001 d10
# metastat d10
d10: RAID
    State: Okay        
    Hot spare pool: hsp001
...

How to Change the Associated Hot Spare Pool

Before You Begin

Check Prerequisites for Creating Solaris Volume Manager Components.

  1. Become superuser.
  2. To change a volume's associated hot spare pool, use one of the following methods:
    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node and choose the volume. Choose Action⇒Properties. Then choose the Hot Spare Pool panel. Detach the unwanted hot spare pool and attach the new hot spare pool by following the onscreen instructions. For more information, see the online help.

    • Use the following form of the metaparam command:

      # metaparam -h hot-spare-pool-name RAID5-volume-or-submirror-name
      -h

      Specifies to modify the hot spare pool named.

      hot-spare-pool

      Specifies the name of the new hot spare pool, or the special keyword none to remove hot spare pool associations.

      component

      Specifies the name of the submirror or RAID-5 volume to which the hot spare pool is being attached.

      See the metaparam(1M) man page for more information.

Example 17-6 Changing the Hot Spare Pool Association

In the following example, the hot spare pool, hsp001, is initially associated with a RAID-5 volume,d4. The hot spare pool association for the volume is then changed to hsp002. The metastat command shows the hot spare pool association before and after this change.

# metastat d4
d4: RAID
    State: Okay        
    Hot spare pool: hsp001
...
# metaparam -h hsp002 d4
# metastat d4
d4: RAID
    State: Okay        
    Hot spare pool: hsp002
...

Example 17-7 Removing a Volume's Hot Spare Pool Association

In the following example, the hot spare pool, hsp001, is initially associated with a RAID-5 volume, d4. The hot spare pool association is then changed to none, which indicates that no hot spare pool should be associated with this volume. The metastat command shows the hot spare pool association before and after this change.

# metastat d4
d4: RAID
    State: Okay        
    Hot spare pool: hsp001
...
# metaparam -h none d4
# metastat d4
d4: RAID
    State: Okay        
    Hot spare pool:
...