coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 21 guests online

Newest Member

beyondimagem

Hit Counter
9133558 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

mirrorvg - how to mirror a disk in IBM AIX
Description

How to mirror a disk in the rootvg on an IBM AIX server:

Find which disk is in the rootvg already (hdisk0 is in example)

# lspv
hdisk0 0003560f5b38488b rootvg
hdisk1 none None
hdisk2 none None
hdisk3 none None

Add the second disk by entended the rootvg (hdisk1 in this example)

# extendvg rootvg hdisk1
0516-1254 extendvg: Changing the PVID in the ODM.

Mirror the original disk with the new disk

# mirrorvg rootvg hdisk0 hdisk1
0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this
to take effect for rootvg.
0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
bosboot of system to initialize boot records. Then, user must modify
bootlist to include: hdisk0 hdisk1.

Create the new boot image

# bosboot -a

bosboot: Boot image is 7213 512 byte blocks.

Add the second disk to the boot list

# bootlist -m normal hdisk0 hdisk1
Example

extendvg rootvg hdisk1;mirrorvg rootvg hdisk0 hdisk1;bosboot -a; bootlist -m normal hdisk0 hdisk1

Return to search results

Random coolcommands

coolcommand: how to rebuild a raid array when a disk has failed in Linux
Example: raidhotadd /dev/md1 /dev/sdc2
[show me the details]
coolcommand: rrdtool - resize a rrdtool (round robin database) database file
Example: rrdtool resize cpu.rrd 5 SHRINK 15
[show me the details]
coolcommand: mqver - how to determine Websphere MQ version, service level, buildtype and build date
Example: mqver
[show me the details]
coolcommand: rpm - redhat package manager for IBM AIX and Linux
Example: rpm
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum