home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
- From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
- Newsgroups: comp.unix.aix
- Subject: Re: LVM Question. How to get Vg_Id from VG Name ?
- Keywords: lvm_queryvg, lvm_varyoffvg, lvm_varyonvg
- Message-ID: <1992Aug26.200321.23405@mintaka.lcs.mit.edu>
- Date: 26 Aug 92 20:03:21 GMT
- References: <Aug.25.17.11.23.1992.17815@gauss.rutgers.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: /etc/organization
- Lines: 18
-
-
- In article <Aug.25.17.11.23.1992.17815@gauss.rutgers.edu>
- manmetha@gauss.rutgers.edu (Rajesh Malhotra) writes:
- >
- > I am sure there has to be a way to query the Vg_id using the volume
- > group name (guess lvaryoffvg uses it).
-
- You can use `getlvodm' to convert the vg name to an id:
-
- getlvodm -v vg_name
-
- For example, to unlock an improperly "locked" vg, you can do:
-
- putlvodm -K `getlvodm -v vg_name`
-
- --
- \ Charles Hannum, mycroft@ai.mit.edu
- /\ White heterosexual atheist male (WHAM) pride!
-