The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
why need to mirror disk if we had backups ? Exposure UNIX for Dummies Questions & Answers 4 04-17-2008 09:12 AM
zfs mirror disk simquest SUN Solaris 1 08-06-2007 03:52 PM
How to remove alternate boot disk (vg00) in mirror jeelans HP-UX 2 10-12-2006 02:17 AM
Mirror data disk???? ccTester SUN Solaris 7 08-26-2006 11:57 AM
HP UX Disk Mirror cobdeng HP-UX 1 01-04-2005 10:04 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-24-2007
Yac Yac is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 11
How to remove disk from mirror?

Hello,
I've got 2 system disks (hdisk0 and hdisk1) in the mirror (RAID1) on AIX 5.3. Since the hdisk1 makes some troubles, we want to replace it with the new one. How can I disable this hdisk1 disk and prepare the mirror to use the new physical disk? As far as I know, I must remove disk from the volume group, but what more to do?

TIA,
Yac.
  #2 (permalink)  
Old 09-24-2007
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
use

#smitty vg

->unmirror a volume group

choose rootvg and hdisk1 to remove

then


Code:
reducevg rootvg hdisk1

or smitty vg

-> Set Characteristics of a Volume Group -> Remove a Physical Volume from a Volume Group
  #3 (permalink)  
Old 09-24-2007
Yac Yac is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 11
Quote:
Originally Posted by funksen View Post

Code:
reducevg rootvg hdisk1
Thank you! In meantime I have read somewhere that the reducevg command can fail when there are not mirrored areas on both disks, for example when sysdump area is not mirrored. I have seen that our sysdump area is unfortunately not mirrored on hdisk1, so I think the reducevg command will fail. Should I first create a secondary dump device on hdisk1? But it probably will not work since hdisk1 is out of order.. What to do in this case?

Yac.
  #4 (permalink)  
Old 09-24-2007
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
if the volume is not mirrored on hdisk1, it remains on hdisk0 - so wheres the problem?

check lspv -l hdisk1 to make sure

reducevg fails if there is still a lv on the disk, but it will not continue to remove, so you can try without risk

if you just want to replace the disk:

migratepv hdisk1 newdisk


then do
bootlist -m normal -o hdisk0 newdisk
(extend the command with other boot-devices you use, such as cdrom)

bosboot -a

make sure the new disk is bigger or equal to hdisk1

migratepv will not work, if hdisk1 is unreadable somewhere
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0