Hi, I want to know, is there any way I can find out whether my physical volume is activate or deactivate? For example, I have activate my physical volume group say vg_lvm through "vgchange" command. # vgchange -a Y vg_lvm Now, how I will know that "vg_lvm" is activate? Is there any way to query or is any config file changes by executing above command? So that I can look for that file or any sorts of command available? Below I have shown the output of vgdisplay command. How to find out from that my vol group is active / deactive? [root@mtasw317 ~]# vgdisplay -A --- Volume group --- VG Name vg_lvm System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 0 Max PV 0 Cur PV 2 Act PV 2 VG Size 1.12 GB PE Size 4.00 MB Total PE 288 Alloc PE / Size 25 / 100.00 MB Free PE / Size 263 / 1.03 GB VG UUID ci9mLc-JuVk-pUBV-gtYd-T9F2-LxsC-uLXGcb The Opearating System I am using is RHEL 4. Please help me in finding the solutions. Regards, Saroj
Thanks for your reply. Even for a deactivated volume group, vgdisplay also shows the same attribute. I have deactivated thru command: vgchange -a n vg_lvm and execute the vgdisplay command and it displays the same results like vol group activate. IS there is any other way to find out? Regards, Saroj