Article Title: disksuite test tool. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Environment: SUN-U250 + Solaris8
Hard Disk: c0t0d0 (root), c8t0d0, c9t0d0, c10t0d0, c11t0d0, c12t0d0
Objective: To use disksuite for RAID0, RAID1, RAID5, hotspare...
Familiar with Common commands
Process:
1. partitions
Format-select disk-partition-print-modify
20 mb in 7 partitions, used to store State database copies, the remaining 6 partitions
# Create a hot spare pool
# Metahs-a hsp001 c0t9d0s6
# Metaparam-h hsp001 d1 binding
# Metaparam-h hsp001 d2
# Metastat
Unplug c0t0d10s6
# Touch/data1/
Machine? R: an error is reported. The invalid slice is automatically replaced by the heat.
Insert c0t10d0s6
# Netareplace-e d0 c0t10d0s6 repair (in-situ)
# Metastat
# Metainit hsp001 c0t11d0s6 create a hot spare pool
# Metahs-d hsp001 c0t11d0s6
# Metahs-a hsp001 c0t11d0s6 c0t12d0s6 Add a disk to the heat source
# Metaparam-h hsp001 d0 binding
# Metastat
# Unplug c0t0d10s6
# Touch/data1/
Machine? R: an error is reported. The failure of the hard disk is automatically replaced by the heat.
# Metastat
# Metadb-f-d c0t0d10s6
# Metadb-a-c 2 c0t0d10s6
Insert c0t10d0s6
# Metareplace-e d0 c0t10d0s6 repair (in-situ)
# Use c0t11d0s6 to restore c0t10d0s6
# Metastat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service