Visit Our UNIX and Linux User Community


Submirrors swapped after metattach


 
Thread Tools Search this Thread
Operating Systems Solaris Submirrors swapped after metattach
# 1  
Old 10-21-2011
Question Submirrors swapped after metattach

We had few mirror disks e.g

d0 had two submirrors
Submirror 0: d2
Submirror 1: d1

I opened mirrors for some activity.
by command

Code:
 metadetach d0 d2

After activity I reattach mirrors with command

Code:
	metattach d0 d2

But after that strangely sumirror position is swaped

d0 had two submirrors
Submirror 0: d1
Submirror 1: d2

I need to know why submirror position has changed?
Will it impact anything?

Attached is metastat output before and after
# 2  
Old 10-21-2011
You detached c0t4d0s0 and attached also same device. So as far as it is pointing to same device, things should be alright. No need to worry
This User Gave Thanks to solaris_1977 For This Post:
# 3  
Old 10-21-2011
Previously d0 had

d2 - 1st submirror
d1 - 2nd submirror

But when you detached d2 from d0, d1 became the 1st submirror.

When you reattached d2 to d0 later, it has to become 2nd submirror since d1 is already 1st.

It won't impact anything since after reattach d2 will be synced with d1.

Hope this helps.

Regards,
Vishal
This User Gave Thanks to vishalaswani For This Post:
# 4  
Old 10-26-2011
Bundle of Thanks Vishal Aswani and solaris_1977.

Previous Thread | Next Thread
Test Your Knowledge in Computers #563
Difficulty: Medium
The comparison operators are only used for comparing numerical data types.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Git diff exclude swapped lines

Hi, I am doing aws security group auditing every day to find the difference. I am using git to find the difference. But some times some security group rules order is changing up and down(swapping lines). So 'git diff' command gives this as a difference which i dont want(i need only new lines... (2 Replies)
Discussion started by: jobycxa
2 Replies

2. Solaris

Can't perform metattach with new disk, need advise.

Hi Guys, I m not ble to perform metattaach with new disk. Getting below Error:- -bash-3.00$ sudo /usr/sbin/metattach d0 d10 metattach: server03: /dev/md/rdsk/d10: No such device or address This is wht my metastat -p shows:- -bash-3.00$ sudo /usr/sbin/metastat -p Password: d4 -m... (4 Replies)
Discussion started by: manalisharmabe
4 Replies

3. Solaris

Verify Hard Drive was swapped

I recently had a vendor hot-swap a faulty hard drive on my system. The fault was determined before there were any noticeable errors with regular operation on the user end. The vendor claims to have replaced the faulty hard drive. Is there a way to verify that the hard drive has been replaced? I... (3 Replies)
Discussion started by: MaindotC
3 Replies

4. Solaris

metadevice submirrors 0 and 1 not consistent

At a new job, I've inherited a handful of Solaris 10 SunFire V240 servers. I noticed that the metadevices are not consistent, in a way that I've not seen before.... internal mirrored disks: metadevice d60 has c1t0d0s6 as submirror 0 (d61) and c1t1d0s6 as submirror 1 (d62) metadevice... (1 Reply)
Discussion started by: Max Power
1 Replies

5. Shell Programming and Scripting

bc, negative values and "total" (whit swapped -)

Hi All, I need to sum numbers, in bash, input is this: 10.00 12.33 14.99 134.00 1211.09 130.01- <--- it is negative, but "-" is at the end.. 901.99 10.34- <--- another negative number... bc -l is giving me error so only solution to my problem would be to swap - to the... (3 Replies)
Discussion started by: columb
3 Replies

6. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

7. UNIX for Dummies Questions & Answers

memory pages swapped out

My unix box always experience high memory pages swapped out. This box has 8GB physical memory and the utilisation is only around 40%. What should be done to lower the memory pages swapped out problem ? Thanks.:) (3 Replies)
Discussion started by: olive
3 Replies

8. Solaris

how to reduce swapped column in "vmstat"

Dear all, I found a big problem with my solaris9 server when user said their application run too slow then I try to check cpu, memory but both of them are normally. One thing that I see form value of vmstat like this kthr memory page disk faults ... (2 Replies)
Discussion started by: unitipon
2 Replies

9. Solaris

Determining processes that have been swapped out

Is there a way to do this in Solaris? For instance, suppose I run the following: $ swap -l swapfile dev swaplo blocks free /dev/md/dsk/d501 85,501 16 16780208 16780208 $ swap -s total: 3377368k bytes allocated + 519416k reserved = 3896784k used, 11011992k available... (1 Reply)
Discussion started by: lyonsd
1 Replies

Featured Tech Videos