odd behaviour of app writes to mirrored volumes


 
Thread Tools Search this Thread
Operating Systems Solaris odd behaviour of app writes to mirrored volumes
# 1  
Old 10-29-2009
odd behaviour of app writes to mirrored volumes

Hi,
Normally, I setup my volumes under Solaris (doesnt matter, 8 or 10),
as vxassist -g dg01 -U gen make vol01 500m dg0101, then I do a mirror
vxassist -g dg01 mirror vol01 dg0102.

Which is legal and does work, however, when the primary dg01 array (or simply in this case, the volume) disappears for some reason, the app does not seem to continue to write to the mirror and fails (this is oracle RAC) or if vol01 picks up a bad sector, the mirror write fails on the other side (dg0102).
The arrays are on San switches and are multipathed. Is my mirroring wrong?
# 2  
Old 10-29-2009
post the output of "vxprint -ht" and lets see if all is ok...
# 3  
Old 10-29-2009
Code:
v  vol20        -            ENABLED  ACTIVE   411648   SELECT    -        fsgen
pl vol20-01     vol20        ENABLED  ACTIVE   411648   CONCAT    -        RW
sd dg0101-24    vol20-01     dg0101   72130560 411648   0         SUN35101_0 ENA
pl vol20-02     vol20        ENABLED  ACTIVE   411648   CONCAT    -        RW
sd dg0102-59    vol20-02     dg0102   218931200 411648  0         SUN35100_1 ENA


Last edited by DukeNuke2; 10-29-2009 at 03:58 PM.. Reason: code tags!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 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. Shell Programming and Scripting

Odd Behaviour for Set and IFS variable

Ok, so I'm playing around with delimters and reading files. and I came across this behaviour that I thought was a bit odd, regarding how the set command takes values... If I run this: IFS=$'-' #Assigns the - as the default delimiter for bash set I-love-my-gf-a-lot #uses set to put a bunch of... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

3. Shell Programming and Scripting

Odd behaviour with Expect password update script

Hi there. I've been forced by circumstance to write an expect script to handle password updates on a number of servers. There's a mix of Solaris 8, 9, 10, RedHat and Ubuntu. There's no chance the client will allow us to hook them up to a directory, so we have to make do. This script is mostly... (0 Replies)
Discussion started by: whetu
0 Replies

4. Solaris

OpenBSM not catching all file writes

I have a custom auditing class configured for these events but it doesn't seem to be catching it when I do a "echo hey > test.txt" Any ideas on why that is? ---------- Post updated at 06:04 PM ---------- Previous update was at 05:47 PM ---------- Scratch this topic, it looks like it's because... (0 Replies)
Discussion started by: thmnetwork
0 Replies

5. Solaris

Network writes contantly spiking in throughput

Hey guys First post... and im not exactly a solaris guru but here goes Ive setup a solaris 10 box with a raidz2 set of 6 disks... I have also setup Samba with open shares for some CIFs access... now my issue is that when i transfer large files to it the network performance contantly... (8 Replies)
Discussion started by: silicoon
8 Replies

6. UNIX for Advanced & Expert Users

Does sync(2) block writes until completed?

Gentle readers, I am trying to observe system behavior on our RHEL 5.2 machines. I notice that, it appears to me, based on random iterations of dd if=/dev/zero of=/var/tmp/bigfile bs=1024 count=20000 ...that if the pdflush is flushing buffers at the time of my write, my write will take... (4 Replies)
Discussion started by: mschwage
4 Replies

7. Shell Programming and Scripting

Perl: FH and multiple writes

I found this logging subroutine on the net that I want to use but despite trying many things, I cannot figure out how to get the date in front of the logged text. Ideally what I'm looking for is a line that looks something like this: Wed Aug 20 18:17:29 PDT 2008 - my logging info here. my... (2 Replies)
Discussion started by: gctaylor
2 Replies

8. UNIX for Dummies Questions & Answers

which process writes to file

Some process rewrites a file ( i'm hacked :) Can I somehow monitor which process does that? (2 Replies)
Discussion started by: hachik
2 Replies

9. UNIX for Advanced & Expert Users

Finding volumes with mirrored DRL(Dirty Region Log)

hi, How do I find VxVM volumes which have a mirrored DRL. thanks in advance Prasi (2 Replies)
Discussion started by: prasi_in
2 Replies

10. Shell Programming and Scripting

odd behaviour with quoted input strings

I'm working with a java-based monitoring tool (Solaris/x86) which can be configured to call a shell script when a particular event occurs. The java app sends a set of quoted strings as input to the shell script. The problem I'm running into is that the shell script, when called by the java app,... (0 Replies)
Discussion started by: iron_horse
0 Replies
Login or Register to Ask a Question