Link to home
Start Free TrialLog in
Avatar of bugsuperstar37
bugsuperstar37

asked on

Using RAID on Solaris

How does RAID function on a normal Solaris install. If I used hardware or software RAID on a Solaris box and I was installing from scratch, how would the mount points be created on a RAID 5 setup? Usually, I believe, the mount points are created on a seperate disk.

Also, what would be the best solution if the RAID array failed and I had to do a restore?

I have worked extensively with RAID on NetWare and Windows, but never Solaris.

Thanks in advance.
Avatar of shanechambers
shanechambers

I believe what you are looking for is a meta-device.  You can setup, and administer a RAID configuration by running 'metatool,' found in the SUNWmd package (for Solaris 7, and I think 2.6 as well).

Basically, you would stripe you disks, creating a meta device.  That meta device is what you would then mount.
Avatar of bugsuperstar37

ASKER

Would I have to create multiple meta-devices to mount /usr /opt and of course / ?
First off, I don't typically stripe the root filesystem.  You might want to mirror it, but striping root gets (in my opinion) a little hairy.

I believe what you're asking is "for each filesystem, would I have to create another meta-device?"  If that's the case, yes you would.  A meta-device is basically a big psydo-partition that is composed of several smaller physical partitions (slices), instead of just one.  

Just like a normal partition, once the meta-device is made, you would have to run 'newfs' on the meta-device to make a filesystem out of it.

Does that answer your question, or am I being too general?
That helps, but how would this be done on a new install if it is software RAID?

Also, how would I restore if this system failed? UFSRESTORE if I backed up using UFSDUMP? Would I have to reinstall a system that resembled the one that failed and then restore?
ASKER CERTIFIED SOLUTION
Avatar of shanechambers
shanechambers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You are right, this is great info. Point increased to 100.
Thank you. I greatly appreciate your help.
Hey, glad I could help.

Shane