Installation and recovery of RAID1 and RAID5 under Solaris 8

Source: Internet
Author: User
Tags command line

This document takes the Sun Fire V880 Server (6*73GB Dsik) as an example to explain how to install and maintain Solarsi8 and RAID1 using the command line in RAID5. The contents of this document have been verified by my practice, but for different models for reference only, thank you for your support!

Disk Distribution:

0:c1t0d0

1:c1t1d0

2:c1t2d0

3:c1t3d0

4:c1t4d0

5:c1t5d0

Note: 0,1 do mirror; 2,3,4,5 do RAID5

System disk (C1T0D0) partitions and mirror Disks (C1T1D0):

C1t0d0s0 (D10) D0 c1t1d0s0 (d20)/1024M

C1T0D0S1 (D11) D1 c1t1d0s1 (d21) Swap 8192M

C1T0D0S2 c1t1d0s2 overlap 69999M

C1T0D0S3 (D13) D3 C1T1D0S3 (D23)/usr 4096M

C1T0D0S4 (D14) D4 c1t1d0s4 (d24)/opt 10240M

C1T0D0S5 (D15) d5 c1t1d0s5 (d25)/var 2048M

C1T0D0S6 (D16) d6 c1t1d0s6 (d26)/home free

C1T0D0S7 c1t1d0s7/metadb 30M

After the system is installed, use SOLARSI8 software 2 of 2 to install the disksuite_4.2.1 software, install the path:/cdrom/cdrom0/solaris_8/ea/installer & Choose the default installation.

Log in with the root user and run the following command:

#prtvtoc/DEV/RDSK/C1T0D0S2|FMTHARD–S–/DEV/RDSK/C1T1D0S2

Fmthard:new Volume Table of contents now

The above command adjusts the file partition table of the second hard disk (C1T1D0) to the same as the boot disk.

#umount/metadb

#rm –r/metadb

#vi/etc/vfstab

Comment out or delete the following line, as follows:

#/dev/dsk/c1t0d0s7/dev/rdsk/c1t0d0s7/metadb UFS 1 yes–

First, RAID1

Mirror each partition as follows:

Mr. ① into replicas, which is used inside disksuite.

#metadb –a–f–c 3 C1t0d0s7 c1t1d0s7

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.