1833827 Members
2055 Online
110063 Solutions
New Discussion

vg in readonly mode

 
SOLVED
Go to solution
Tvs
Regular Advisor

vg in readonly mode

hi all.

Iam new to lvm.can you pls help me to find out when we are activating the vg in read only mode .(vgchange -ar ). and in which scenario.

thanks in advance
4 REPLIES 4
Pedro Cirne
Esteemed Contributor
Solution

Re: vg in readonly mode

Hi,

You only use read-only for maintenance purposes, I rarelly used it.

Enjoy :)

Pedro
melvyn burnard
Honored Contributor

Re: vg in readonly mode

vgdisplay should tell you how it is activated.

And the normal use for read-only mode is testing, or doing backups where you want no changes made while backing up.

This is not ofetn used in normal practice.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Raj D.
Honored Contributor

Re: vg in readonly mode

Tvs ,

vgchange -ar , will activate the volume group in readonly mode and the vg and all the associated Physical volume becomes read only , and can be used for testing purpose , and backup , or when need no write operation. And practically we use rarely.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Tvs
Regular Advisor

Re: vg in readonly mode

Thanks a lot