Operating System - HP-UX
1754321 Members
3087 Online
108813 Solutions
New Discussion

Re: (HPUX 11.31 LVM Mirror) VG에 PV가 많을때는 어떻게 mirror를 하면 되나요?

 
SOLVED
Go to solution
zero1022
Occasional Contributor

(HPUX 11.31 LVM Mirror) VG에 PV가 많을때는 어떻게 mirror를 하면 되나요?

보통 VG에 디스크가 하나일 경우엔

VG에 새로운 디스크를 추가하고

lvextend -m 1 /dev/vg01/lvol1 /dev/disk/disk3(새로운 디스크)

이렇게 미러를 거는데

 

만약 vg01에 디스크가 100GB 10개이고

vg01에 새로운 디스크 500GB 2개를 추가하고 mirror 하고 싶다면

lvextend -m 1 /dev/vg01/lvol1 

이렇게만 명령어 사용하면 500GB 2개에 mirror 될까요??

 

LVM mirror를 이용해서 데이터 이관을 하기 위한 작업 입니다.

Google Translated: 

(HPUX 11.31 LVM Mirror) How do I mirror when there are many PVs in the VG?
Usually, if there is only one disk in the VG,

Add a new disk to the VG and

lvextend -m 1 /dev/vg01/lvol1 /dev/disk/disk3 (new disk)

I hang a mirror like this.

 

If vg01 has 10 disks of 100GB each,

If you want to add two new 500GB disks to vg01 and mirror them

lvextend -m 1 /dev/vg01/lvol1

If I just use this command, will it be mirrored on two 500GB drives?

 

This is a task to transfer data using LVM mirror.

3 REPLIES 3
shiva_jr
HPE Pro
Solution

Re: (HPUX 11.31 LVM Mirror) VG에 PV가 많을때는 어떻게 mirror를 하면 되나요?

Hi @zero1022 ,
   Post1 and Post2 may help you.
Regards,
Shiva_JR

I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo

zero1022
Occasional Contributor

Re: (HPUX 11.31 LVM Mirror) VG에 PV가 많을때는 어떻게 mirror를 하면 되나요?

thank you
I solved it through the link you provided.

Sunitha_Mod
Moderator

Re: (HPUX 11.31 LVM Mirror) VG에 PV가 많을때는 어떻게 mirror를 하면 되나요?

Hello @zero1022,

That's Awesome! 

We are extremely glad to know the problem has been resolved and we appreciate you for keeping us posted. 

Thanks,
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo