01-17-2014
Quote:
Originally Posted by
rbatte1
There is no need to mirror, sync unmirror.
It is true, you can do it this way and it surely will work. Still, if you use "migratepv" PPs are moved serially - one after the other. Using "mirrorvg" works in parallel (and possibly background, see the "-S" option) which can speed things up, especially when SAN disks are involved.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Guys need some advice on how to check some of the questions below?
i'm running on an open VMS platform... which i am an idiot to...
appreciate if anyone can give some hints or source on how to check on..
a script that is running on cron job... but doesn't run as the login user name..
1. why... (6 Replies)
Discussion started by: 12yearold
6 Replies
2. UNIX for Advanced & Expert Users
Query 1 : How to check if a directory already exists? If doesn't exist then
create a new one.
Query 2 : I want to put following text using a single echo statement into a
log file and also want to retain the formatting of the text. How it
can be... (3 Replies)
Discussion started by: skyineyes
3 Replies
3. AIX
Hello Admins,
When using migratepv is it necessary to use the bosboot command?
coz i did made i migratepv under the rootvg which is /home fs to the other disk...? is there are any problem when we rebooted our system?
Regards,
Winky (3 Replies)
Discussion started by: winky
3 Replies
4. Shell Programming and Scripting
hi guys
Well, i need to have a report generation script or any script which will show me all the content/information of a file when i run that script.
Please help me on this isssue at the earliest.As i am little bit aware of scripting.Thanks in advance!
regards
ash (4 Replies)
Discussion started by: whizkidash
4 Replies
5. Homework & Coursework Questions
Any help on like where to get started on this? I'm just confused.
1. The problem statement, all variables and given/known data:
Enter text here.Queries to satisfy these two report requests (use your CCI database):
Retrieve all rows of active inventory where current on hands is less than... (0 Replies)
Discussion started by: lakers34kb
0 Replies
6. AIX
HI all,
I have changed chldev command for just one hitachi lun and I moved data from EMC to hitachi
extendvg VolumeGroupName hdisk_new
migratepv hdisk_bad hdisk_new
reducevg -d VolumeGroupName hdisk_EMC
that vg has only one EMC_lun
now i have more than one lun in one vg. i want to do... (1 Reply)
Discussion started by: nibiru78
1 Replies
7. AIX
Hi
I need to do the migratepv for the rootvg disks of the vio servers ? The current rootvg disks are on DMX3 storage and the new disks will be given from VMAX. Our setup is dual vio servers with multipathing to the vio clients.
What is the command to do the migratepv for the vio rootvg disks... (5 Replies)
Discussion started by: newtoaixos
5 Replies
8. Programming
can these 3 be combined into 1 query?
createtablea1as
selecta.tps_Res_nb,
b.tkt_prod_cd,
b.tkt_prod_typ_nm,
b.prod_intrnl_ds,
b.tkt_prod_typ_nm AS TKT_ENTL_NM,
casewhen b.tkt_prod_nm isnotnullthen b.tkt_prod_nm
when b.tkt_prod_nm isnulland b.prod_intrnl_ds isnotnullthen... (1 Reply)
Discussion started by: dwr80
1 Replies
9. Debian
Hello,
I am posting the following questions here because I need them answered by people who have actually done a lot of work in GRUB. DO NOT GIVE ME GUESS ANSWERS PLEASE. Feel free to redirect me if this is not the right place to ask these questions.
Can I download GRUB separately from... (6 Replies)
Discussion started by: sreyan32
6 Replies
10. IP Networking
Hey everyone,
I have a question, I've been playing around with tcpdump, and noticed my machine making numerous rdns look ups. They are displayed like:
10.80.80.141.51234 > 10.80.80.1.domain: 9950+ PTR? 223.114.55.65.in-addr.arpa. (44)
My question is, if dns works based on numerical... (0 Replies)
Discussion started by: Lost in Cyberia
0 Replies
LEARN ABOUT OPENSOLARIS
metaparam
metaparam(1M) System Administration Commands metaparam(1M)
NAME
metaparam - modify parameters of metadevices
SYNOPSIS
/usr/sbin/metaparam -h
/usr/sbin/metaparam [-s setname]
[concat/stripe or RAID5 options] concat/stripe RAID
/usr/sbin/metaparam [-s setname] [mirror options] mirror
DESCRIPTION
The metaparam command is used to display or modify current parameters of metadevices.
If just the metadevice is specified as an argument to the metaparam command, the current settings are displayed.
The metaparam command enables most metadevice (volume) parameters to be changed. Only the interlace value cannot be changed by metaparam,
because it is established when the metadevice is created and cannot be changed thereafter.
OPTIONS
Root privileges are required for all of the options.
The following options are supported:
-h
Displays usage message.
-s setname
Specify the name of the diskset on which metaparam works. Using the -s option causes the command to perform its administrative function
within the specified diskset. Without this option, the command performs its function on local metadevices.
CONCAT
/STRIPE OR RAID5 OPTIONS
-hhot_spare_pool | none
Specifies the hot spare pool to be used by a metadevice. If none is specified, the metadevice is disassociated with the hot spare pool
assigned to it. If the metadevice is currently using a hot spare, then metaparam cannot replace the hot spare pool.
concat/stripe |RAID
Specifies the metadevice name of the concatenation, stripe, or concatenation of stripes, or of the RAID5 metadevice.
MIRROR OPTIONS
-r roundrobin | geometric | first
Modifies the read option for a mirror. The -r option must be followed by either roundrobin, geometric, or first. roundrobin, which is
the default action under the metainit command, specifies reading the disks in a round-robin (load balancing) method. geometric allows
for faster performance on sequential reads. first specifies reading only from the first submirror.
-w parallel | serial
Modifies the write option for a mirror. The -w option must be followed by either parallel or serial. parallel, the default action under
the metainit command, specifies that all writes are parallel. serial specifies that all writes are serial.
-p pass_number
A number from 0-to-9 that specifies the order in which a mirror is resynced during reboot. The default is 1. Smaller pass numbers are
resynced first. Equal pass numbers are run concurrently. If 0 is used, the mirror resync is skipped. 0 should only be used for mirrors
mounted as read-only, or as swap.
mirror
Specifies the metadevice name of the mirror.
EXAMPLES
Example 1 Associating Hot Spare Pool with RAID5 Metadevice
This example associates a hot spare pool, user_pool, with a RAID5 metadevice, user_raid.
# metaparam -h user_pool user_raid
Example 2 Changing Read Option to Geometric
This example changes the read option on a mirror d50 from the default of roundrobin to geometric.
# metaparam -r geometric d50
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 |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(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)
SunOS 5.11 26 Mar 2006 metaparam(1M)