Sponsored Content
Operating Systems Solaris Submirrors swapped after metattach Post 302566873 by vishalaswani on Friday 21st of October 2011 10:56:56 AM
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:
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
metaoffline(1M) 					  System Administration Commands					   metaoffline(1M)

NAME
metaoffline, metaonline - place submirrors offline and online SYNOPSIS
/usr/sbin/metaoffline -h /usr/sbin/metaoffline [-s setname] [-f] mirror submirror /usr/sbin/metaonline -h /usr/sbin/metaonline [-s setname] mirror submirror DESCRIPTION
The metaoffline command prevents Solaris Volume Manager from reading and writing to the submirror that has been taken offline. While the submirror is offline, all writes to the mirror will be kept track of (by region) and will be written when the submirror is brought back online. The metaoffline command can also be used to perform online backups: one submirror is taken offline and backed up while the mirror remains accessible. (However, if this is a two-way mirror, data redundancy is lost while one submirror is offline.) The metaoffline command differs from the metadetach command because it does not sever the logical association between the submirror and the mirror. To completely remove a submirror from a mirror, use the metadetach command. A submirror that has been taken offline will only remain offline until the metaonline command is invoked or the system is rebooted. When the metaonline command is used, reading from and writing to the submirror resumes. A resync is automatically invoked to resync the regions written while the submirror was offline. Writes are directed to the submirror during resync. Reads, however, will come from a dif- ferent submirror. Once the resync operation completes, reads and writes are performed on that submirror. The metaonline command is only effective on a submirror of a mirror that has been taken offline. The metaoffline and metaonline commands can not be used on RAID 1 volumes in application-based recovery (ABR) mode. A submirror that has been taken offline with the metaoffline command can only be mounted as read-only. OPTIONS
Root privileges are required for all of the following options except -h. -f Forces offlining of submirrors that have slices requiring maintenance. -h Displays usage message. -s setname Specifies the name of the diskset on which metaoffline and metaonline will work. Using the -s option will cause the com- mand to perform its administrative function within the specified diskset. Without this option, the command will perform its function on local metadevices. mirror Specifies the metadevice name of the mirror from which the submirror will be either taken offline or put online. submirror Specifies the metadevice name of the submirror to be either taken offline or put online. EXAMPLES
Example 1: Taking a Submirror Offline This example takes one submirror, d9, offline from mirror d10. # metaoffline d10 d9 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdu | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaparam(1M), metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide NOTES
The metaonline and metaoffline commands are not applicable to mirrors in application-based recovery (ABR) mode. SunOS 5.10 12 Apr 2004 metaoffline(1M)
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy