restricts PV's in extendlv


 
Thread Tools Search this Thread
Operating Systems AIX restricts PV's in extendlv
# 1  
Old 04-25-2011
restricts PV's in extendlv

I have a datavg with 4 disks (all internal) . I want to mirror these disks so that all primary partitions are on hdisk0 and hdisk1 and all mirror copies are on hdisk 4 and hdisk5

$ lspv
hdisk0 00036daf54d98a4d datavg01 active
hdisk1 00036daf5a19d9f4 datavg01 active
hdisk2 00036daf5463d8ea rootvg active
hdisk3 00036daf67a51383 None
hdisk4 00036daf54d98b0b datavg01 active
hdisk5 00036daf5a19dad8 datavg01 active
hdisk6 00036daf69bfd009 rootvg active


I created a LV and FS with upperbound set as 4 and stripped the LV across hdisk0 and hdisk1

I then, created mklvcopy lvname 2 hdisk4 hdisk5.

This works fine, Now if I have to extend the FS or LV, I am running into issues when i issue the below commands.

extendlv lvname 40 hdisk0 hdisk1

Mirror copies are also spread across hdisk0 and hdisk1.

Can someone let me know how can I prevent mirror copies from using hdisk0 and hdisk1.

I read about mirror pools, but I don't think they would prevent this situation.

Any advise ?
# 2  
Old 04-26-2011
Hi,

why do you insist to have one copy on disks 1/2 and one copy on disk4/5 - it effectively doesnt matter as soon as you have more than 2 disks - if you let AIX determine where to put the copies, it will choose different disks from the original and you can recover no matter which disk gets lost? If you insist on your way than unmirror - drop the unused disks - extend - add the unused disks - remirror.

Regards
zxmaus
# 3  
Old 04-26-2011
The though process for choosing this way of mirroring was

hdisk0 /1 used for primary are on 1 controller, hdisk4/5 are on other controller.
If we loose 1 controller or disk , primary and secondary PP would also be lost.

I am not sure how will this work, if the disk holding both Primary PP and Seconday PP's (although different copy) fails.

Are the PP's moved irrespective of whether it is primary or Secondary?
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. AIX

HACMP extendlv failed

Hi, I had a simple operation to do this morning that resulted in a fail. I had to increase the size a logical volume to add space. I had 2 disk which I discovered and assigned a PVID. Both nodes can see it. So I added it to the volume group, no problem there, my VG shows it have 2030 free... (1 Reply)
Discussion started by: Milthiade
1 Replies
Login or Register to Ask a Question