How to remove disk from mirror?

Thread Tools Search this Thread
Operating Systems AIX How to remove disk from mirror?
# 1  
Old 09-24-2007
How to remove disk from mirror?

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?

# 2  
Old 09-24-2007

#smitty vg

->unmirror a volume group

choose rootvg and hdisk1 to remove


reducevg rootvg hdisk1

or smitty vg

-> Set Characteristics of a Volume Group -> Remove a Physical Volume from a Volume Group
# 3  
Old 09-24-2007
Originally Posted by funksen
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?

# 4  
Old 09-24-2007
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

2. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

3. AIX

replacing mirror disk

Hi Admins, I am new into aix.I was surfing aix pages and reading how to replace failed mirror disks.I read in one of the posts that we have to reboot the server to replace the disk. actually i was a HPUX admin and many times replaced root mirror disk online.Ofcourse it was hot swappable. ... (2 Replies)
Discussion started by: newaix
2 Replies

4. Solaris

Disk Mirror Question

Long time Linux, relatively new to Solaris. Currently I have a Solaris 9 machine which has a mirrored root disk. We will be running some tests on this machine, and when those tests are done we want to restore it to "pre-test" status. What I would like to do is break the mirror, pull the first... (2 Replies)
Discussion started by: brianr
2 Replies

5. Solaris

Mirror the root disk

Hi all I wish to mirror for the root disk, but last time i do, make the server cannot boot up. :p So this time, hope you guys can assist me on it. =) At the last code, is the step i wish to do. Please help to check and correct me if got any wrong. root@leo # format </dev/null Searching for... (17 Replies)
Discussion started by: SmartAntz
17 Replies

6. Filesystems, Disks and Memory

Mirror system disk

I have a SUN 440 running Solaris 8 that is generating funny errors on /dev/dsk/c1t0d0 and I would like to dupe the drive(the non offending drives are removed for this process), swap it with the dupe and reboot. From what I have read, the process seems simple: dd if=/dev/dsk/c1t0d0... (1 Reply)
Discussion started by: hardyj
1 Replies

7. Solaris

Disk failuare in mirror

Hi, I want to know if one disk is failed in mirror in solaris and system is booted from another disk, is it possible to find out from which disk system is booted at command level? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. Solaris

zfs mirror disk

Is it possible to create a Mirror with zfs ?? I'm experimented user with Solstice Disk suite. Or Sun Volume manager or veritas volume manager. But, i would like switch from Disksuite to Zfs. All my mirrored disks. (1 Reply)
Discussion started by: simquest
1 Replies

9. HP-UX

How to remove alternate boot disk (vg00) in mirror

How do we remove mirror (vg00) in itanium system having 11.23 version. (2 Replies)
Discussion started by: jeelans
2 Replies

10. HP-UX

HP UX Disk Mirror

Being somewhat extremely new to Unix, I have just had a system crash One of my Volume Groups has crashed However, this Volume Group is actually mirrored How do I switch to use the mirrored copy? Any assistance greatly appreciated Thanks (1 Reply)
Discussion started by: cobdeng
1 Replies
Login or Register to Ask a Question