|
|||
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) 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) 16. Hot Spare Pools (Overview) 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 How to Check the Status of a Disk Set How to Delete Disks From a Disk Set How to Delete a Host or Disk Set 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 |
Importing Disk Setsimporting 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
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 Disksets eligible for import: 1) Found replicated diskset containing disks : c1t2d0 c1t3d0 Creation time: Tue May 3 14:27:29 2006 For more information about this set: metaimport -r -v c1t2d0 To import this set: metaimport -s <newsetname> c1t2d0 2) Found replicated diskset containing disks : c1t12d0 c1t9d0 Creation time: Tue May 3 14:30:00 2006 For more information about this set: metaimport -r -v c1t12d0 To import this set: metaimport -s <newsetname> c1t12d0 Number of disksets eligible for import: 2 # metaimport -r -v c1t2d0 Disksets eligible for import: 1) Found regular diskset containing disks: c1t2d0 c1t3d0 Metadatabase information: flags first blk block count a u 16 8192 /dev/dsk/c1t2d0s7 a u 16 8192 /dev/dsk/c1t3d0s7 Metadevice information: Creation time: Tue May 23 13:05:39 2006 Last modified time: Tue May 23 13:05:39 2006 To import this diskset: metaimport -s <newsetname> c1t2d0 The following output of metaimport -r reports the following conditions in the system's disk set configuration.
# metaimport -r Disksets eligible for import: 1) Found partial regular diskset containing disks: c1t2d0 (CONFLICT) c3t50020F230000FA57d0 (UNAVAIL) c3t50020F230000FA57d1 (UNAVAIL) (UNAVAIL) WARNING: This disk is unavailable on this system. Import may corrupt data in the diskset. (CONFLICT) WARNING: This disk has been reused in another diskset or system c onfiguration. Import may corrupt data in the diskset. Creation time: Tue May 23 13:05:39 2006 For more information about this diskset: metaimport -r -v c1t2d0 To import this diskset: metaimport -f -s <newsetname> c1t2d0 2) Found regular diskset containing disks: c1t2d0 (CONFLICT) c1t3d0 c1t4d0 (CONFLICT) WARNING: This disk has been reused in another diskset or system c onfiguration. Import may corrupt data in the diskset. Creation time: Tue May 23 13:04:57 2006 For more information about this diskset: metaimport -r -v c1t3d0 To import this diskset: metaimport -f -s <newsetname> c1t3d0 3) Found replicated diskset containing disks: c3t50020F23000100F7d13 c3t50020F23000100F7d15 c3t50020F23000100F7d14 Creation time: Thu May 25 14:56:13 2006 For more information about this diskset: metaimport -r -v c3t50020F23000100F7d13 To import this diskset: metaimport -s <newsetname> c3t50020F23000100F7d13 Number of disksets eligible for import: 3 Warning: The following disks have been detected in more than one set. Import recommendation based upon set creation time. Proceed with the import with caution. c1t2d0 - must import with set created at : Tue May 23 13:05:39 2006 # Importing a disk set is blocked if the disk set has disk conflicts. The preceding example recommends that c1t2d0 be imported with the set created at 13:05:39 on Tuesday, May 23. If you import a different disk set instead, the following message is displayed: # metaimport -f -s <setname> c1t3d0 Importing regular diskset containing disks: c1t2d0 (CONFLICT) c1t3d0 c1t4d0 (CONFLICT) WARNING: This disk has been reused in another diskset or system configuration. Import may corrupt data in the diskset. Creation time: Tue May 23 13:04:57 2006 Warning: The following disks have been detected in more than one set. Import recommendation based upon set creation time. Proceed with the import with caution. c1t2d0 - must import with set created at : Tue May 23 13:05:39 2006 To import this set, c1t2d0 must be removed from the system # How to Import a Disk Set From One System to Another System
The following example shows how to import a disk set. # metaimport -s red c1t2d0 Drives in diskset including disk c1t2d0: c1t2d0 c1t3d0 c1t8d0 # metaset -s red Set name = red, Set number = 1 Host Owner host1 Yes Drive Dbase c1t2d0 Yes c1t3d0 Yes c1t8d0 Yes |
||
|