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
9 More Discussions You Might Find Interesting
1. Solaris
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
2. UNIX for Dummies Questions & Answers
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
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
7. UNIX for Dummies Questions & Answers
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
8. Solaris
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
9. Solaris
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
LEARN ABOUT SUSE
suninstall
suninstall(1M) System Administration Commands suninstall(1M)
NAME
suninstall - install the Solaris operating system
SYNOPSIS
suninstall
DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of
suninstall. suninstall is symbolically linked to install-solaris.
suninstall is a forms-based and graphical subsystem for installing the operating system.
suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal-
lation Guide: Basic Installations for more details.
suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa-
tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements.
USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5)
Solaris 10 Installation Guide: Basic Installations
NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus.
SunOS 5.10 9 Sep 2004 suninstall(1M)