RAID in Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris RAID in Solaris 9
# 1  
Old 07-28-2004
RAID in Solaris 9

All,

Is there a way to RAID the disks in Solaris 9? Solaris 8 provided DiskSuite for mirroring disk drives. Is there a GUI for DiskSuite in Solaris 9?

Thanks,

Mike
# 2  
Old 07-28-2004
See the info on Sunsolve
and Solaris Management Console (metatool was incorporated/replaced into it)
# 3  
Old 08-08-2004
In Solaris 9 the Solaris Volume Manager is your tool for Software RAID.

An quick howto for mirroring your system disk to the 2. disk.

1.Disk : /dev/dsk/c0t0d0sx

Slices: c0t0d0s0 /
c0t0d0s1 swap
c0t0d0s5 unassigned (128MB)
2. Disk /dev/rdsk/c0t1d0sx

First we must get the PArtition Table from the first disk to the second:

prtvotc -sh /dev/dsk/c0t0d0s0 > /tmp/disk && fmthard -s /tmp/disk /dev/rdsk/c1t0d0s0

Then we create the RAID Databases:

metadb -a -f -c3 c0t0d0s5 c0t1d0s5

Initalize the raid devices (slices)

metainit d10 1 1 c0t0d0s0
metainit d11 1 1 c0t0d0s1

2.disk

metainit d20 1 1 c0t1d0s0
metainit d21 1 1 c0t1d0s1

Create the mirror for the root slices:

metainit d0 -m -f d10
metainit d1 -m -f d11

Run a "metaroot" command

Edit the /etc/vfstab to:

the swap and root slice must be changed to "dev/md/dsk/d0 and for swap /dev/md/dsk/d1 you also have to change the /dev/rdsk path.

run :

dumpadm -f /dev/md/dsk/d1

REBOOT

Attach the second disk to the mirror:

metattach d0 d20
metattach d1 d21

You can view the status of your raid with "metastat"

Run a "metastat | grep done" to see how far your sync is.


Hope this helps

networkfre@k
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

SPARC T4-1/Solaris 11/Add 2 new HDDs in RAID 0 configuration

Hi, Couple of sentences for background: I'm a software developer, whose task was to create a server software for our customer. Software is ready for deployment and customer has a new T4-1 SPARC, but somehow it also became my task also to setup the server. I have managed to get the server is up... (13 Replies)
Discussion started by: julumme
13 Replies

2. Solaris

Solaris 10 Installation - Disks missing, and Raid

Hey everyone. First, let me start by saying I'm primarily focused on linux boxes, and just happened to get pulled into building two T5220's. I'm not super educated on sun boxes. Both T5220's have 8 146GB 15k SAS drives. Inside the service processor, I can run SHOW /SYS/HDD{0-7} and they all come... (2 Replies)
Discussion started by: msarro
2 Replies

3. UNIX for Dummies Questions & Answers

RAID on Solaris Question

Hello folks; I'm trying to install Solaris 10 x86 on SUN X4150 box with 6 disks in it, the question is how can i create a Virtual disk like RAID 0 before i install Solaris. When i boot up i don't see any option to go and create my raid before the installation begin. Thanks in advance for any... (2 Replies)
Discussion started by: Katkota
2 Replies

4. Solaris

Solaris recognize HW Raid ??

Hardware: HP P2000 HP DL380 G7 with Solaris Software: Solaris 10 05/08 I had made a Hardware raid on P2000 and install solaris on G7, The raid card controller is working fine. How can I make the raid works on OS?? "raidclt" is getting nothing :wall::wall: Thanks (11 Replies)
Discussion started by: stanley1024
11 Replies

5. Solaris

Solaris not recognizing RAID 5 disks

I've just installed Sol 10 Update 9 on a Sun 4140 server and have a RAID 1 configuration (2 136 Gb drives) for the OS and have created a RAID 5 array (6 136 GB) drives. When i log into the system I am unable to see the RAID 5 disks at all. I've tried using the devfsadm command but no luck and... (9 Replies)
Discussion started by: goose25
9 Replies

6. Solaris

how to check for hardware layered raid in solaris 10 ?

hi all, will command metastats tell whether there is hardware layered raid ? i intend to do patching and plug out one of the disks in case the one inside encountered issues. (1 Reply)
Discussion started by: Exposure
1 Replies

7. Solaris

Solaris LVM Raid 0+1

Hi, I tried to setup a Riad 0+1 but I found no step by step manual to follow so I tried on my own ;) I'd already configured a mirror for the OS on my Solaris machines so I had an idea where to start. I have 9 drives in the server. 1. I configured the first two as a mirror for the OS. 2. I... (1 Reply)
Discussion started by: RoiDanton
1 Replies

8. UNIX for Dummies Questions & Answers

Raid config on Jumpstart (Solaris 10

Hi there, I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines. Thanks P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies

9. Solaris

raid 5 using solaris 9 LVM

if i want to create a raid 5 device on 3 disks I have, can I make multiple metadevices? all the example i see on the internet make use of the slice 2 placing the entire disk into the raid5 device. what if i make 3 identical slices on each disk, and make 3 raid 5 metadevices? will that work? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
Login or Register to Ask a Question