You are on page 1of 11

Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES

ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CAPGEMINI
CREATE A RAID 5 FILE SYSTEM USING
DISKSUITE ON SOLARIS STD
WORK INSTRUCTION

Account Name: STD

Group Name: Infrastructure Management

Service: MR – Unix

Revision Date: 08/09/2007

Version Number: 1.00

Effective Date: 10/08/2007

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 1 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Contents

1. Introduction 3
1.1 Purpose 3
1.2 Scope 3

2. Instructions 3

3. References 8

4. Document Control 8

APPENDICES 9
Appendix A: Appendix 10

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 2 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 3 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

1. Introduction

1.1 Purpose

The purpose of this document is to mirror a disk using disksuite. Mirroring is one of the techniques of
providing redundancy on filesystem. This procedure would help the administrator with an in hand ready
made doc for mirroring using disk suite / Solaris Volume manager in Solaris 8 and Solaris 9 OS.

1.2 Scope

This work instruction is used to mirror a file system on Solaris OS. Proper knowledge of Hardware i.e.
Disk Number and command line is expected in this work instruction.

2. Instructions

Responsible
Step: Description
Party
1. Assume that we have Sun Blade 150 connected to a Sun StorEDGE D1000 Disk UnixTeam
Array containing twelve 9.1GB / 10000 RPM / UltraSCSI disk drives for a total disk
array capacity of 108GB for Explanation purpose.

In the Sun StorEDGE D1000 Disk Array, the system identifies the drives as follows:

In this example we would be using the disks namely c1t4d0s7, c2t4d0s7, and
c1t5d0s7 for building the Concatenated volume.

2. To Begin with we have to first Partition the disk using the format command as below. Unix
Team
For both the disk I use the same partition size and layout.

By convention, I will use slice 7 for the entire disk for storing the actual data. I will

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 4 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Responsible
Step: Description
Party
also use slice 7 to store the state database replicas for each of the Three disks.

The following is the partition tables from one 2 disks

Once the Partition is created and then verified using the above process, the very
next step for RAID 5 Volume is to create a State Database Replica as below.

3. The Solaris Volume Manager state database is used by Volume Manager to store Unix
configuration and state information about volumes, hot spares, and disk sets. Before Team
creating volumes you will need to create state database replicas. The state database
replicas ensure that the data in the state database is always valid. When the state
database is updated, each state database replica is also updated.

At a bare minimum, Volume Manager requires a minimum of three state database


replicas. If your system looses a state database replica, Volume Manager will
attempt to determine which state database replcas are still valid. Before any of the
state database replicas can be considered valid, Volume Manager requires that a
majority (half + 1) of the state database replicas be available and in agreement
before any of them are considered valid

The Metadb command is used to create a State Database replica as shown below

Where -a - > attach a new State Database replica

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 5 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:23 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Responsible
Step: Description
Party
-f - > Create the Initial State Database Force. This is not required for
Subsequent SDR Creation.

Here we have three slices hence three SDR's totally.

4. Once created Query the State Database Replica using the below command. Unix
Team

5. Once the SDR's are created, we will now proceed with the procedure for creating a Unix
RAID 5 Volume. Team

The following example creates a RAID 5 volume using 3 slices that will be named
/dev/md/rdsk/d3 with the metainit command. Of the twelve disks available in the
D1000 Disk Array, I will be using slices c1t4d0s7, c2t4d0s7, and c1t5d0s7 as
follows:

Let's explain the details of the above example. The RAID5 volume d3 is created with
the -r option from three slices. Because no interlace is specified, d3 uses the
default of 16 Kbytes. The system verifies that the RAID5 volume has been set up,
and begins initializing the volume.

6. Use the metastat command to query your new RAID5 volumes. After running the Unix Team
above command, the volume will go through an initialization state. This may take
several minutes to complete. When using the metastat command, you will be able to
view how far of the initialization is completed. You must wait for the initialization to
finish before you can use the new RAID5 volume. The following screenshot shows
the RAID5 volume during its initialization phase:

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 6 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:24 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Responsible
Step: Description
Party

When the disks within the RAID5 volume are completed with their initialization
phase, this is what it will look like:

7. Now that we have created our RAID5 volume, we can now pretend that the volume is Unix Team
a big partition (slice) on which we can do the usual file system things. Let's now
create a UFS file system using the newfs command. I want to create a UFS file
system with an 8KB block size:

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 7 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:24 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Responsible
Step: Description
Party

8. Finally, we mount the file system on /db3 as follows: Unix Team

9. Now that we have created our RAID5 volume, we can now pretend that the volume is Unix Team
a big partition (slice) on which we can do the usual file system things. Let's now
create a UFS file system using the newfs command. I want to create a UFS file
system with an 8KB block size:

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 8 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:24 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

3. References

Food and Drug Administration 21 CFR 11


Food and Drug Administration 21 CFR 820
Food and Drug Administration 21 CFR 210
Food and Drug Administration 21 CFR 211
Food and Drug Administration 21 CFR 58
Capability Maturity Model Integrated
COSO Internal Control Framework
Information Technology Infrastructure Library (ITIL)

4. Document Control

Revision History:
Version: Date: Author(s): Description:
Mohammed
1.00 08/09/2007 To originate document
Mustaquim

Document Distribution
Version: Name: Group: Responsibility Action/Information:
NA NA NA NA NA

Control of the Work Instruction


SME Approval
Version: Name Title Date Signature
1.00 Mohammed
UNIX Administrator
Mustaquim

QA Review and Approval:


Version: Name: Title Date: Signature:
1.00

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 9 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:24 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

APPENDICES

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 10 of 11
Filename: 472925402.doc
Printed 04/28/2020 3:25:24 PM UNSIGNED PRINTED COPIES
ARE FOR REFERENCE ONLY

COMPANY CONFIDENTIAL

CREATE A RAID 5 FILE SYSTEM USING DISKSUITE ON SOLARIS STD


WORK INSTRUCTION

Appendix A: Appendix

N/A

Proprietary Information. © 2007 Capgemini America, Inc. All Rights Reserved.


Template Version 1.00 11 of 11
Filename: 472925402.doc

You might also like