JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Volume Manager Administration Guide
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)

18.  Disk Sets (Overview)

19.  Disk Sets (Tasks)

Disk Sets (Task Map)

Creating Disk Sets

How to Create a Disk Set

Expanding Disk Sets

How to Add Disks to a Disk Set

How to Add Another Host to a Disk Set

How to Create Solaris Volume Manager Components in a Disk Set

Maintaining Disk Sets

How to Check the Status of a Disk Set

How to Delete Disks From a Disk Set

How to Take a Disk Set

How to Release a Disk Set

How to Delete a Host or Disk Set

Importing Disk Sets

How to Print a Report on Disk Sets Available for Import

How to Import a Disk Set From One System to Another System

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

Importing Disk Sets

importing a disk set

The metaimport command allows you to import disk sets from one system to another.

How to Print a Report on Disk Sets Available for Import

  1. Become superuser.
  2. Obtain a report on disk sets available for import.
    # metaimport -r -v
    -r

    Provides a report of the unconfigured disk sets available for import on the system.

    -v

    Provides detailed information about the state database (metadb) replica location and status on the disks of unconfigured disk sets available for import on the system.

Example 19-13 Reporting on Disk Sets Available for Import

The following examples show how to print a report on disk sets available for import. The output from the metaimport command distinguishes between regular disk sets and replicated disk sets.

# metaimport -r
# metaimport -r
Drives in regular diskset including disk c1t2d0:
   c1t2d0
   c1t3d0
 More info:
   metaimport -r -v c1t2d0 
Import:   metaimport -s <newsetname> c1t2d0 
 Drives in replicated diskset including disk c1t4d0:
   c1t4d0
   c1t5d0
 More info:
   metaimport -r -v c1t4d0 
Import:   metaimport -s <newsetname> c1t4d0
# metaimport -r -v c1t2d0
Import: metaimport -s <newsetname> c1t2d0
Last update: Mon Dec 29 14:13:35 2003
Device       offset       length replica flags
c1t2d0           16         8192      a        u     
c1t3d0           16         8192      a        u     

How to Import a Disk Set From One System to Another System

  1. Become superuser.
  2. Verify that a disk set is available for import.
    # metaimport -r -v
  3. Import an available disk set.
    # metaimport -s diskset-name disk-name
    - s diskset-name

    Specifies the name of the disk set being created.

    disk-name

    Identifies a disk (c#t#d#) containing a state database replica from the disk set being imported.

  4. Verify that the disk set has been imported.
    # metaset -s diskset-name

Example 19-14 Importing a Disk Set

The following example shows how to import a disk set.

# metaimport -s red c1t2d0
Drives in diskset including disk c1t2d0:
  c1t2d0
  c1t3d0
  c1t8d0
More info:
  metaimport -r -v c1t2d0
# metaset -s red


Set name = red, Set number = 1

Host                Owner
  host1            Yes

Drive    Dbase

c1t2d0   Yes  

c1t3d0   Yes  

c1t8d0   Yes