Should I run the syncvg after replacing a disk drive?
 
*
Welcome, Guest. Please login or register. January 07, 2009, 09:04:53 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Should I run the syncvg after replacing a disk drive?  (Read 1538 times)
0 Members and 1 Guest are viewing this topic.
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #4 on: January 25, 2007, 04:31:36 PM »

Actually, since AIX 5.1 or 5.2 the dumplv (even as hd6) also gets mirrored correctly during a panic. To be sure which version that is I'll need to go look at old release documents.

Before this your comments were quite valid, as AIX only tried to coredump to one of the copies, not both.
Logged
OdO
Jr. Member
**
Posts: 5


« Reply #3 on: January 25, 2007, 12:36:53 PM »

Hello,

it is preferable not to mirror the dumplv, and create a other dumplv00 on hdisk1, and set a secondary dump space. ( in your situation , if hdisk0 failed and for any reason the serveur crash you  can't  take the dump ) .

Delete copy of dumplv:
# rmlvcopy dumplv 1 hdisk1

Create dumplv00 on hdisk1:
# mklv -y dumplv00 -t sysdump rootvg 16 hdisk1
 
Set sysdump:
# sysdumpdev -P -p /dev/dumplv
# sysdumpdev -P -s /dev/dumplv00

Vérification:
# sysdumpdev -l

primary              /dev/dumplv
secondary           /dev/dumplv00
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    TRUE
dump compression     ON

Good root (66).  ^^
Logged
JazzyG
New Member
*
Posts: 3


« Reply #2 on: January 23, 2007, 05:39:09 PM »

Michael,

 Thanks for your timely response!

JazzyG Smiley
Logged
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #1 on: January 23, 2007, 05:03:43 PM »

Well, the only command I am missing after you extended the rootvg back to 2 disks is:

mirrorvg rootvg hdisk1

and then you can run bosboot -ad hdisk1 to recreate the extra info needed for AIX to actually boot from hd1 (makes some changes in the physical boot block, not to be confused with hd5 (boot partition).

re: you specific question. No, it is not necessary to run syncvg before a reboot, but it is handy. AIX, when it varyon's a volumn group (any volumn group) it will (attempt) to syncvg all stale partitions before activating the volumn group.
Logged
JazzyG
New Member
*
Posts: 3


« on: January 23, 2007, 01:13:30 PM »

I recently replaced a disk drive on my 6F1. We are currently run AIX 5.3 SP 5. these are the commands I entered:

# unmirrorvg rootvg                               
# reducevg rootvg hdisk1                       
# rmdev -l hdisk1 -d                               
 Replace the disk

# cfgmgr -v                                           
# lspv                                                   
# extendvg rootvg hdisk1     
# bootlist -m normal -o
hdisk0 blv=hd5
hdisk1 blv=hd5
cd0
rmt0

# Shutdown -Fr

The system came back up sucessfully with no problems, but we I run the lsvg -l rootvg command this what I received:

rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     64    128   2    open/syncd    N/A
hd8                 jfslog     1     2     2    open/syncd    N/A
hd4                 jfs        11    22    2    open/syncd    /
hd2                 jfs        214   428   2    open/syncd    /usr
hd9var              jfs        4     8     2    open/syncd    /var
hd3                 jfs        6     12    2    open/syncd    /tmp
hd1                 jfs        3     6     2    open/syncd    /home
lv00                jfs        4     8     2    closed/syncd  /usr/welcome_arcad
e
lv01                jfs        2     4     2    closed/syncd  /usr/welcome
0516-1147 : Warning - logical volume dumplv may be partially mirrored.
dumplv              sysdump    16    10    2    open/syncd    N/A
lvpd                jfs        2     4     2    open/syncd    /var/pd
lvpsf               jfs        26    52    2    open/syncd    /var/psf
lv02                jfs        40    80    2    open/syncd    /usr/sys/inst.imag
es
hd10opt             jfs        5     10    2    open/syncd    /opt

Should I have run the "syncvg rootvg" command prior to rebooting?

Thanks in advance,

JazzyG



                   
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.827 seconds with 19 queries.




eXTReMe Tracker

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