JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Volume Manager Administration Guide
search filter icon
search icon

Document Information


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)

Soft Partitions (Task Map)

Creating Soft Partitions

How to Create a Soft Partition

Maintaining Soft Partitions

How to Check the Status of a Soft Partition

How to Expand a Soft Partition

How to Remove a Soft Partition

14.  RAID-5 Volumes (Overview)

15.  RAID-5 Volumes (Tasks)

16.  Hot Spare Pools (Overview)

17.  Hot Spare Pools (Tasks)

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


Maintaining Soft Partitions

Maintaining soft partitions is no different from maintaining other logical volumes.

How to Check the Status of a Soft Partition

Before You Begin

Read the Configuration Guidelines for Soft Partitions.

Example 13-3 Checking the Status of a Soft Partition

In the following example, the status of soft partition d1 is checked. This soft partition includes two extents and is built on the RAID-1 volume d100.

# metastat d1
d1: soft partition 
    component:  d100 
    state: OKAY 
    size:  42674285 blocks 
             Extent              Start Block                Block Count 
             0                          10234                   40674285 
             1                       89377263                    2000000 
d100: Mirror 
    Submirror 0: d10 
    State: OKAY 
    Read option: roundrobin (default) 
    Write option: parallel (default) 
    Size: 426742857 blocks 

d10: Submirror of d100 
    State:  OKAY 
    Hot spare pool: hsp002 
    Size: 426742857 blocks 
    Stripe 0: (interlace: 32 blocks) 
        Device              Start Block  Dbase State        Hot Spare 
        c3t3d0s0                  0             No    Okay 

How to Expand a Soft Partition

When no other logical volumes have been built on a soft partition, you can add space to the soft partition. Free space is located and used to extend the partition. Existing data is not moved.

Note - If a soft partition has been used to create another volume (for example, if it is a component of a RAID-0 volume), the soft partition cannot be expanded. In most cases, the same objective (providing more space for the device that contains the soft partition) can be achieved by concatenating other volumes onto the containing device. See Expanding Storage Capacity for more information.

Before You Begin

Read the Configuration Guidelines for Soft Partitions.

Example 13-4 Expanding a Soft Partition

The following example shows how to attach space to a soft partition. The file system is then expanded using the growfs command while the soft partition is online and mounted.

# mount /dev/md/dsk/d20 /home2
# metattach d20 10g
# growfs -M /home2 /dev/md/rdsk/d20

For more information on the growfs command, see Expanding a File System Using the growfs Command.

How to Remove a Soft Partition

Before You Begin

Read the Configuration Guidelines for Soft Partitions.

Example 13-5 Removing a Soft Partition

This example shows how to delete all soft partitions on c1t4d2s0.

# metaclear -p c1t4d2s0