1834118 Members
2749 Online
110064 Solutions
New Discussion

Creating /etc/lvmpvg

 
AIMC
Frequent Advisor

Creating /etc/lvmpvg

Hi,

I have a server which i am currently not using physical volume groups on but wish to start for /dev/vg00, can i create the file with the disks currently in vg00 & put them into PVG0 & create another PVG1 with the new disks i want to mirror vg00 to on a running system? I think i can but would prefer to clarify before i start this.

Regards,

Aidan
4 REPLIES 4
freddy_21
Respected Contributor

Re: Creating /etc/lvmpvg

please create file lvmpvg at /etc
and put this script
VG /dev/vg00
PVG PVG0
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
PVG PVG1
/dev/dsk/c3t0d0
/dev/dsk/c3t1d0

PVG0 for primary disk
PVG1 for mirror disk

after you create this you can see at vgdisplay -v command. the output bit different.


thanks
freddy
Marvin Strong
Honored Contributor

Re: Creating /etc/lvmpvg

as stated above you can manually create the /etc/lvmpvg file.

man lvmpvg for more info.
SGUX
Valued Contributor

Re: Creating /etc/lvmpvg

you can create /etc/lvmpvg at anytime you like. For syntax: man lvmpvg

Check with vgdisplay -v when finished editting /etc/lvmpvg
AIMC
Frequent Advisor

Re: Creating /etc/lvmpvg

Thanks all... this worked fine!