04-25-2011
35,
0
Join Date: Jun 2010
Last Activity: 21 February 2016, 11:37 AM EST
Posts: 35
Thanks Given: 4
Thanked 0 Times in 0 Posts
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 ?