home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.aix:9154 bit.listserv.aix-l:1404
- Path: sparky!uunet!sun-barr!rutgers!igor.rutgers.edu!gauss.rutgers.edu!manmetha
- From: manmetha@gauss.rutgers.edu (Rajesh Malhotra)
- Newsgroups: comp.unix.aix,bit.listserv.aix-l
- Subject: Another LVM question. -- varyonvg in 'C'
- Keywords: vg_major, pv_id -- where do I find these?
- Message-ID: <Aug.27.15.44.06.1992.26167@gauss.rutgers.edu>
- Date: 27 Aug 92 19:44:07 GMT
- Followup-To: comp.unix.aix
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 27
-
-
- Fellow Aixers,
-
- Another LVM question. I am trying to implement
-
- varyonvg <vgname>
-
- in 'C' and am having a hard time doing it. I thought the function
- lvm_varyonvg would do it for me. I guess it would, but for that I need
- vg_major, pv_id. I have no idea where to get these from. Has anyone in
- netland implemented the lvm commands in 'C' (other than the use of
- system :-). If so, I would appreciate some input on this matter.
-
- The commands I specifically need to implement are varyonvg, varyoffvg,
- exportvg and importvg.
-
- Any and all responses/ideas appreciated.
-
- Raj.
- --
- ===============================================================================
- __ __ .
- / __/ / Raj Malhotra.
- / ( /_ / voice : (908)613 4313.
- __/ email : manmetha@gauss.rutgers.edu
-
- ===============================================================================
-