The specific operation steps are as follows :

a)         Check out the currently available hard drives :

# lspv

hdisk0          0002d74f0e69d97a                    rootvg

hdisk1          0002d74fea8ad09d                    none

hdisk2          000214dadca3a694                    dbbakvg

hdisk3          0002d74f1e67ac3b                    dbbakvg

In this case ,hdisk0 It is the default hard disk after the system is installed , and hdisk1 The last property is shown as “none”, This means that this hard disk has not been VG Use , It can be used to do rootvg Mirror image .

b)         Check hdisk1 Whether it can be regarded as a result of AIX Supported boot devices :

# bootinfo -B hdisk1

If this command returns the value 1, The selected disk can be AIX guide . Any other value represents hdisk1 No rootvg Candidates for making images .

c)         Expand rootvg To include hdisk1:

# extendvg rootvg hdisk1  ;( If hisk1 Previously by others VG Used to , It can be used -f Parameters #extendvg -f rootvg hdisk1)

d)         Cancel VG Physical volume quota management in ( stay VG As long as there is any PV It works , this VG You can use ):

# chvg -Qn rootvg

After running , Reuse lsvg rootvg see ,QUORUM The value of the item will be 1

e)         Yes rootvg Do the mirror operation

# mirrorvg –c 2 rootvg

The time required for this work is related to rootvg It depends on the size of the space currently used , In practice ,95 GB Size , It was used 2 Hours .

f)         stay rootvg Create boot information on two disks of

# bosboot –ad hdisk0

# bosboot –ad hdisk1

g)         The order in which the device system starts the device

# bootlist–m normal hdisk0 hdisk1 cd0

Here we are ,rootvg The mirror work is done .

rootvg More articles about mirror

  1. aix rootvg Mirror image

    It's just a general production system , Backup is required at the operating system level , And one of the most common ways of operating system backup is to do image (mirror), And in practice , It's often the rootvg This volume group is used for mirroring . see rootvg Whether the mirror method has been used : 1 ...

  2. ( turn )AIX rootvg Image creation and disk replacement

    # prtconf | grep disk # chdev -l hdisk1 -a pv=yes # extendvg rootvg hdisk1 # chvg -Qn rootvg # lsvg ...

  3. ( turn )rootvg Mirror image

    step 1: See if you haven't joined other vg Of the available PV  # lspv  hdisk0          00027c6a0507fe17                    rootvg          ...

  4. ( turn ) test rootvg The official practice of mirroring volume groups

    test rootvg The official practice of mirroring volume groups This document describes testing rootvg Methods of volume group mirroring , This document is only for pSeries The server . because rootvg The volume group contains AIX operating system , In volume group image configuration, it is better than non ...

  5. ( turn )IBM AIX System is rootvg Realize mirror image

    IBM AIX System is rootvg Realize mirror image AIX When the system is installed , No installation image is selected , So after the system is installed , For safety reasons , Decided as rootvg create mirror . Tools / raw material AIX rootvg lspv c ...

  6. ( turn )AIX Next image creation and cancellation , Hard disk replacement problem

    AIX Next image creation and cancellation , Hard disk replacement problem ROOTVG Do the mirror problem : The following commands are all in AIX5.4 On the run through # lspv hdisk0      000a1ddc7f36a2f0      rootvg   ...

  7. IBM The small machine is disassembled and the mirror image is changed

    1. Hard disk alarm information     2. troubleshooting Check the error log #  errpt   -aj   C62E1EB7     see hdisk0 Information about , Find out hdisk0 Belong to rootvg # lspv   see hdi ...

  8. AIX System parameter configuration

    AIX System parameter configuration original Linux operating system author :fanhongjie Time :2008-05-08 22:46:37 540 0 AIX The kernel is a dynamic kernel , The core parameters can be adjusted automatically , So when the system is installed ...

  9. AIX Medium volume group management

      1. Create a volume group Use mkvg Command to create a volume group . mkvg Command parameters -B Create large volume groups , The maximum capacity of this volume group is 128 Two physical volumes and 512 Logic volume -C Create incremental concurrent volume groups -f Force the creation of volume groups -G And -B equally , gen ...

Random recommendation

  1. 【shell】case sentence

    case Only one kind of conditional relationship can be judged , and if Can judge a variety of conditions #!/bin/bash read -p "please input your choice (high/middle/low):&qu ...

  2. How to choose the most ideal Linux Server system ?

    [2013 year 10 month 12 Japan 51CTO Foreign headlines ] Like what? Linux Servers are best for your business ? in short , It needs to give employees the ideal support they need at work . Compared to hundreds of them Linux Desktop system ,Linux The number of server systems is ...

  3. About C51 Internal code,idata,xdata

    In terms of data storage types ,8051 The series has on-film . Off chip program memory , Intraslice . Off chip data memory , On chip program memory is also divided into direct addressing area and indirect addressing type , They correspond to each other code.data.xdata.idata And according to 51 Series of characteristics ...

  4. iOS in GCD Summary of the use of

    http://www.jianshu.com/p/ae786a4cf3b1 This blog is divided into the following modules to introduce GCD Related content of : Multithreading related concepts Comparison of advantages and disadvantages of multithreading programming technology ? GCD Three queue types in Th ...

  5. Java Standard annotation configuration

    eclipse in java File header comment format settings windows->preferences->java->Code Templates->comments->Type-> ...

  6. Programmers must know Python List of pitfalls and defects

    This paper focuses on python trap , To be specific , Refer to CPython, And unless otherwise specified , All the code examples are in python2.7 Running . My personal definition of trap is like this : The code seems to work , But not with you “ Take it for granted “” Of ...

  7. Java Data persistence layer framework MyBatis And API Study seven ( dynamic SQL Detailed explanation )

    about MyBatis In terms of learning , Better go to MyBatis Official documents of :http://www.mybatis.org/mybatis-3/zh/index.html For language learning , Start programming right now , Practice more ...

  8. 【CJOJ P1333】【HNOI2012】 Mine construction

    [HNOI2012] Mine construction Description The coal mining site can be regarded as an undirected graph composed of tunnels connecting coal mining points . To be on the safe side , It is hoped that when an accident occurs at the construction site, all the workers at the coal mining point can have a way out and escape to the rescue exit . So the miner decided to dig in some places ...

  9. The finger of the sword offer 03: Print linked list from end to end

    Title Description Enter a linked list , Return a list value from the end to the end ArrayList. Recursive method /** * public class ListNode { * int val; * ListNode next = ...

  10. Deploy Java Web The project to Heroku

    1. stay Heroku Create a new App 2. After creation, add a pair of MYSQL Support for , Click on find more add-ons 3. So here's what I chose JawsDB Mysql 4. After adding successfully, we can view the database ...