0% found this document useful (0 votes)
54 views5 pages

Raid Configuration-0,5.1

The document describes different RAID configurations - RAID 0, RAID 5 and RAID 1. RAID 0 involves concatenation to combine disk slices into a larger logical volume. RAID 5 uses stripping with parity across disks. RAID 1 creates a mirror volume to duplicate writes across multiple disks for data redundancy. The steps provided create logical volumes, soft partitions, filesystems and mounting for each RAID type.

Uploaded by

automationqtp123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views5 pages

Raid Configuration-0,5.1

The document describes different RAID configurations - RAID 0, RAID 5 and RAID 1. RAID 0 involves concatenation to combine disk slices into a larger logical volume. RAID 5 uses stripping with parity across disks. RAID 1 creates a mirror volume to duplicate writes across multiple disks for data redundancy. The steps provided create logical volumes, soft partitions, filesystems and mounting for each RAID type.

Uploaded by

automationqtp123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Raid Configuration.

Raid 0
Concatenation
1. Create the Database in raw slice.
# metadb a f <slice logical name>
example:
metadb a f ct1ds!
". Create the logical #olume
# metainit <#olname> <total no od hdd> 1 <slice logical name> $.
%xample:
metainit d & 1 ct1ds 1 ct1ds1 1 ct1ds&
&. Create the soft partition from logigal #olume.
# metainit <#olname> 'p <logigal #olname> <memor( si)e>
example
metainit d1 p d 1gb
metainit d" p d 1gb
Raw dis* path : +de#+md+rs*+<#olname>
,loc* dis* path: +de#+md+ds*+<#olname>
-. Create the file s(stem.
# newfs +de#+md+rds*+<#olname>
example:
# newfs +de#+md+rds*+d1
# newfs +de#+md+rds*+d"
.. /ount the slice
# mount +de#+md+ds*+#olname <mount point>
%xample:
# mount +de#+md+ds*+d1 +0rini
1. 2dd more space to the slice.
3he following steps appl( onl( for mounted slices.
# metattach <#olname> <memor( space>
example:
# metattach d1 .gb
# metattach d" .gb
Run the following command to create the file s(stem for newl( add space. 3his
is not affected old files and space.
# growfs / <mount point> +de#+md+rds*+<olname>
%xample:
#growfs / +srini +de#+md+rds*+d1
Clear the raid from (our hard dis*. 3his is common for all. 4irst un mount the slices
Clear the soft partition.
# metaclear <#olname>
clear the logical #olume
# metaclear < soft #ol name>
clear the database
# metadb d f <slice logical name>
Raid 5
Stripping with parity
1. Create the Database in raw slice.
# metadb a f <slice logical name>
example:
metadb a f ct1ds!
". Create the logical #olume
# metainit <#olname> 'r <slice logical name> $.
%xample:
metainit d r ct1ds 1 ct1ds1 1 ct1ds&
&. Create the soft partition from logigal #olume.
# metainit <#olname> 'p <logigal #olname> <memor( si)e>
example
metainit d1 p d 1gb
metainit d" p d 1gb
Raw dis* path : +de#+md+rs*+<#olname>
,loc* dis* path: +de#+md+ds*+<#olname>
-. Create the file s(stem.
# newfs +de#+md+rds*+<#olname>
example:
# newfs +de#+md+rds*+d1
# newfs +de#+md+rds*+d"
.. /ount the slice
# mount +de#+md+ds*+#olname <mount point>
%xample:
# mount +de#+md+ds*+d1 +0rini
1. 2dd more space to the slice.
3he following steps appl( onl( for mounted slices.
# metattach <#olname> <memor( space>
example:
# metattach d1 .gb
# metattach d" .gb
Run the following command to create the file s(stem for newl( add space. 3his
is not affected old files and space.
# growfs / <mount point> +de#+md+rds*+<olname>
%xample:
#growfs / +srini +de#+md+rds*+d1
Raid 1
Mirror [ 0+1] Concatenation and Mirror.
0tep :1
Create two concatenation 5olume named d1 6 d11.
0tep :"
Create a mirror with d1. 3he mirror #olume name is d1"
# metainit d1" m d1
Create a mirror #olume d1" from d1 first.
Restart the 0(stem.
# init 1
0tep :&
2fter restart the s(stem. 2dding d11 to mirror d1"
# metattach d1" d11
0tep :-
Create a file s(stem with mirror #olume d1"
# newfs +de#+md+rds*+d1"
0tep :.
/ount the mirror slice in an( one of mount point.
# mount +de#+md+ds*+d1" +srini

You might also like