SVM RAID5: Can an app access raw partitions?


 
Thread Tools Search this Thread
Operating Systems Solaris SVM RAID5: Can an app access raw partitions?
# 1  
Old 10-30-2015
SVM RAID5: Can an app access raw partitions?

I am using Solaris 9 (Sparc based) with Sybase and a proprietary DB application that works with Sybase. In the past we have not used SVM or any RAID config. The DBs were configured such that each DB had its own partition.

Now I would like to setup a new machine with the DBs on a RAID5 config using SVM. This will be my first time using RAID5 or SVM.

I think that my proprietary app references raw partitions because its installer asks what raw partition each of the DBs resides on.

So my questions are:
1) Can each DB still be on its own raw partition (such as something like c0t0d0s3) with RAID5? Or does RAID5 inherently preclude this?
2) Can an application still reference raw partitions with RAID5? Maybe my app will accept soft partitions, I'm not sure. But first, I would like to understand if I am approaching this issue correctly.

I've read some things that imply this is not possible, that a file system or soft partitions have to be used. But I haven't found anything that sufficiently explains everything so that I can understand what the issues and problems are. I'm thinking that lots of people must use Sybase DBs with RAID5, so there must be an explanation that I'm just missing.

I've also read posts on various forums where it was said that I shouldn't even consider using Solaris 9 SVM RAID5, but no one ever explained why they had that opinion. I would be interested in any comments on that.
# 2  
Old 10-31-2015
1. Use a metadevice (/dev/md..) created on top of your disks(cXtXdX) with Solaris SVM in your database setup as raw volume.
2. Application (in this case database) will reference a raid 5 protected raw metadevice as any other raw disk present in system.

Be sure to read about limitations and cavecats :
Creating RAID-5 Volumes - Solaris Volume Manager Administration Guide

As for RAID-5, i would not recommend it unless for very small databases and/or read intensive database.
Otherwise (large writes, OLTP) use mirror (RAID-1 with SVM) instead for much better performance.

Hope that helps
Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

2. SuSE

Raid5

Hi all, I am currently using opensuse 12.1, We have Raid 5 array of 8 disks. A friend of mine accidently removed a drive & place it back and also added a new disk to it(making it 9 disks). now the output of mdadm --detail is as shown below si64:/dev # mdadm --detail /dev/md3 /dev/md3:... (1 Reply)
Discussion started by: patilrajashekar
1 Replies

3. Solaris

SVM Soft partitions in a metaset- how to migrate ?

Hi Friends, I need your assistance, could someone assist.... Scenario:- Solaris 10, with zones and mounted file systems, using SAN. SVM with metasets on it configured soft partitions on the meta device. These soft partitions are mounted and file systems are being accessed. We are now trying... (6 Replies)
Discussion started by: unahb1
6 Replies

4. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

5. Filesystems, Disks and Memory

Problem setting up raw partitions on SUSE v8.0 using LVM on Oracle 8.1.7.URGENT!!!!!!

Hi all! Working on Oracle v8.1.7.0.0 with OS  as Suse v8.0 Linux. I had created LVM,linked raw devices to LVM as below: # for binding raw devices raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m raw /dev/raw/raw3... (2 Replies)
Discussion started by: Amitstora
2 Replies

6. SCO

Raid5 Failure

Forgive me, I do not know much about RAID so I'm going to be as detailed as possible. This morning, our server's alarm was going. I found that one of our drives have failed. (we have 3) It is an Adaptec ATA RAID 2400A controller I'm purchasing a new SCSI drive today. My questions: ... (2 Replies)
Discussion started by: gseyforth
2 Replies

7. Filesystems, Disks and Memory

raw partitions

i want to know, how do i to create a rwa partttions in unixware 7 wit raid 5 best regards felix arteaga (1 Reply)
Discussion started by: farteaga
1 Replies

8. UNIX for Dummies Questions & Answers

App for internet access on unix terminals

I am trying to find out what I should install to provide internet access and browsing possibilities on multiple unix terminals. Can anybody help? TNXS (5 Replies)
Discussion started by: Jigger
5 Replies
Login or Register to Ask a Question