home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9297 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  981 b 

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: LVM Question. How to get Vg_Id from VG Name ?
  5. Keywords: lvm_queryvg, lvm_varyoffvg, lvm_varyonvg
  6. Message-ID: <1992Aug26.200321.23405@mintaka.lcs.mit.edu>
  7. Date: 26 Aug 92 20:03:21 GMT
  8. References: <Aug.25.17.11.23.1992.17815@gauss.rutgers.edu>
  9. Sender: news@mintaka.lcs.mit.edu
  10. Organization: /etc/organization
  11. Lines: 18
  12.  
  13.  
  14. In article <Aug.25.17.11.23.1992.17815@gauss.rutgers.edu>
  15. manmetha@gauss.rutgers.edu (Rajesh Malhotra) writes:
  16. >
  17. > I am sure there has to be a way to query the Vg_id using the volume
  18. > group name (guess lvaryoffvg uses it).
  19.  
  20. You can use `getlvodm' to convert the vg name to an id:
  21.  
  22.   getlvodm -v vg_name
  23.  
  24. For example, to unlock an improperly "locked" vg, you can do:
  25.  
  26.   putlvodm -K `getlvodm -v vg_name`
  27.  
  28. -- 
  29.  \   Charles Hannum, mycroft@ai.mit.edu
  30.  /\  White heterosexual atheist male (WHAM) pride!
  31.