couple of questions concerning mirroring
 
*
Welcome, Guest. Please login or register. January 08, 2009, 11:03:15 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: couple of questions concerning mirroring  (Read 709 times)
0 Members and 1 Guest are viewing this topic.
lord taki
New Member
*
Posts: 2


« Reply #2 on: November 28, 2007, 02:49:31 PM »

Thank you for the help.
It worked perfectly.
« Last Edit: November 29, 2007, 04:25:05 PM by Michael » Logged
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #1 on: November 28, 2007, 02:26:15 PM »

An easy step:


# mklvcopy lvoracle 2 [hdiskX]
## Usage: /usr/sbin/syncvg [-i] [-f] [-H] [-P NumParalleLPs] {-l|-p|-v} Name
# syncvg -l lvoracle


To make a new partition with two copies (i.e. mirrored) to start with - and perhaps as jfs2 rather than the default  jfs (for mklv) - the following commands

# mklv -c 2 -y lvMyNewLV -t jfs2 vgOther 4G # makes a 4G partition in vgOther
# crfs -v jfs2 -d lvMyNewLV -m /myNewFS [-A yes] # autotmount yes or no (default)
# mount /myNewFS
« Last Edit: November 28, 2007, 02:30:20 PM by Michael » Logged
lord taki
New Member
*
Posts: 2


« on: November 28, 2007, 09:42:11 AM »

Hello,

I have a couple of questions concerning the mirroring process with AIX. I'm still investigating but I think this place is the best to ask so...

I followed this procedure to mirror the rootvg:
http://www.ibm.com/developerworks/aix/library/au-aixsolaris/index.html#list12

After a while I created a new file system /oracle. And I guess it is not automatically mirrored (my understanding of the column PVs).

lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     16    32    2    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       1     2     2    open/syncd    /
hd2                 jfs2       24    48    2    open/syncd    /usr
hd9var              jfs2       8     16    2    open/syncd    /var
hd3                 jfs2       12    24    2    open/syncd    /tmp
hd1                 jfs2       160   320   2    open/syncd    /home
hd10opt             jfs2       20    40    2    open/syncd    /opt
fwdump              jfs2       1     2     2    open/syncd    /var/adm/ras/platform
lvoracle            jfs2       20    20    1    open/syncd    /oracle

lspv -l hdisk0
hdisk0:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd8                   1     1     00..00..01..00..00    N/A
hd6                   16    16    14..02..00..00..00    N/A
hd2                   24    24    00..14..06..04..00    /usr
hd4                   1     1     00..00..01..00..00    /
hd3                   12    12    00..11..01..00..00    /tmp
hd9var                8     8     00..07..01..00..00    /var
hd10opt               20    20    00..12..01..07..00    /opt
hd1                   160   160   00..62..98..00..00    /home
hd5                   1     1     01..00..00..00..00    N/A
fwdump                1     1     00..01..00..00..00    /var/adm/ras/platform

lspv -l hdisk1
hdisk1:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd8                   1     1     00..00..01..00..00    N/A
hd6                   16    16    00..16..00..00..00    N/A
hd2                   24    24    00..04..20..00..00    /usr
hd4                   1     1     00..00..01..00..00    /
hd3                   12    12    00..00..12..00..00    /tmp
hd9var                8     8     00..00..08..00..00    /var
hd10opt               20    20    00..20..00..00..00    /opt
hd1                   160   160   00..00..67..93..00    /home
hd5                   1     1     01..00..00..00..00    N/A
lvoracle              20    20    00..20..00..00..00    /oracle
fwdump                1     1     00..01..00..00..00    /var/adm/ras/platform


How can I mirror /oracle? With syncvg?
How can you check mirror health too?

Than you for your help.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.732 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET