<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VG activation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139897#M155017</link>
    <description>There are some errors...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you must create, manually, the directory /dev/vgNAME and the group file under it, with an appropritate minor number .&lt;BR /&gt;&lt;BR /&gt;SAM will do this for you, nonethesame...&lt;BR /&gt;&lt;BR /&gt;When you create e vg, the creation data is written on each the disk and in the /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;The normal activation is a flag in memory, AFAIK,  while the cluster flag is on disk.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Dec 2003 10:06:33 GMT</pubDate>
    <dc:creator>Massimo Bianchi</dc:creator>
    <dc:date>2003-12-09T10:06:33Z</dc:date>
    <item>
      <title>VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139894#M155014</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When a VG is created, the following are done&lt;BR /&gt;&lt;BR /&gt;       - The directory is created below /dev for the VG&lt;BR /&gt;       - /etc/lvmtab file is modified to include the VG info with PV's&lt;BR /&gt;&lt;BR /&gt;Is there anything else done during VG creation?&lt;BR /&gt;What is actually happening during the VG activation and how system knows the specified VG is activated or not?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John Jayaseelan</description>
      <pubDate>Tue, 09 Dec 2003 10:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139894#M155014</guid>
      <dc:creator>John Jayaseelan</dc:creator>
      <dc:date>2003-12-09T10:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139895#M155015</link>
      <description>Actually, the directory is not created in the /dev directory.  You have to create it yourself.  You then have to "mknod group c 64 0x01000 (or some unique number)" in that directory.&lt;BR /&gt; &lt;BR /&gt;/etc/lvmpvg might be updated if you are using physical volume groups.&lt;BR /&gt; &lt;BR /&gt;I have no idea exactly what happens in activation but my guess is a kernel table is updated to reflect that the volume group is active on this machine and that this fact is also written to every physical volume in the volume group.&lt;BR /&gt; &lt;BR /&gt;Just a guess mind.</description>
      <pubDate>Tue, 09 Dec 2003 10:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139895#M155015</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-09T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139896#M155016</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;To have the volume groups activated, check the&lt;BR /&gt;/etc/lvmrc file for the parameter AUTO_VG_ACTIVATE.&lt;BR /&gt;&lt;BR /&gt;Setting AUTO_VG_ACTIVATE to 1 the volume groups will be activated.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 09 Dec 2003 10:05:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139896#M155016</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-12-09T10:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139897#M155017</link>
      <description>There are some errors...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you must create, manually, the directory /dev/vgNAME and the group file under it, with an appropritate minor number .&lt;BR /&gt;&lt;BR /&gt;SAM will do this for you, nonethesame...&lt;BR /&gt;&lt;BR /&gt;When you create e vg, the creation data is written on each the disk and in the /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;The normal activation is a flag in memory, AFAIK,  while the cluster flag is on disk.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2003 10:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139897#M155017</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-12-09T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139898#M155018</link>
      <description>Actually John,&lt;BR /&gt;&lt;BR /&gt;   When you want to create a VG, you have to create the subdirectory under /dev and you also have to create the group node file prior to doing the vgcreate command. &lt;BR /&gt;&lt;BR /&gt;   Once you have done the vgcreate command, you have included one disk in your VG and this one disk is tagged with the VGID.  It is also activated at that time.  &lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2003 10:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139898#M155018</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-12-09T10:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139899#M155019</link>
      <description>There is another important thing will happen on the disks. There will be a portion called VGRA (volume group reserved area) on the disks which will have all information about that VG (LV details, PV details, VG information etc). When you activate the VG, the system makes that VG (and the PVs) available (to use)for the system. The system can read the VGRA area of each disk and find out the details about a particular VG</description>
      <pubDate>Tue, 09 Dec 2003 10:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139899#M155019</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-09T10:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139900#M155020</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Is not 'vgcreate' should create the directories and group files?&lt;BR /&gt;&lt;BR /&gt;Please tell what is happening in the system during VG activation, Is there any files are changed so that system knows the particular VG is active or not?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 09 Dec 2003 10:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139900#M155020</guid>
      <dc:creator>John Jayaseelan</dc:creator>
      <dc:date>2003-12-09T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139901#M155021</link>
      <description>VG gets created after you added disks (Physical Volumes) in to a VG  , You have to create special directory with mknod command&lt;BR /&gt;once you create VG you have to create Logical volumes with desired size  and then each logical volumes needed to mount on specific file system depends on HFS or VXFS ( Online JFS)&lt;BR /&gt;&lt;BR /&gt;There are lots of documents available on ITRC and docs.hp.com site.&lt;BR /&gt;&lt;BR /&gt;-USA</description>
      <pubDate>Tue, 09 Dec 2003 10:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139901#M155021</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-12-09T10:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139902#M155022</link>
      <description>John,&lt;BR /&gt; &lt;BR /&gt;I think you get quite a complete picture from the above posts from my incomprehensible rambled guesswork throught to Shiju's extremely complete and interesting post.&lt;BR /&gt; &lt;BR /&gt;Basically, if you are doing a "vgcreate" you must create the /dev and the group file yourself.  It's not just a good idea, it's the law!</description>
      <pubDate>Tue, 09 Dec 2003 10:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139902#M155022</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-09T10:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139903#M155023</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks to all for theLoads of useful info within minutes.&lt;BR /&gt;&lt;BR /&gt;The situation is all the PV's are removed from a deactivated VG physically wihtout 'vgremove' and the directory is removed from /dev. What else needs to be done to complete the VG remove.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 09 Dec 2003 10:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139903#M155023</guid>
      <dc:creator>John Jayaseelan</dc:creator>
      <dc:date>2003-12-09T10:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139904#M155024</link>
      <description>You have to create directory with VGname&lt;BR /&gt;&lt;BR /&gt;like mkdir /dev/vgname and  mknod /dev/vgname/group c 64 0x080000 (this should be a unique number) &lt;BR /&gt;&lt;BR /&gt;vgcreate command creates a volume group&lt;BR /&gt;man vgcreate for more.&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vgname will activate volume group and it gets activated soon you create it&lt;BR /&gt;vgchange -a n /dev/vgname deactivates it.&lt;BR /&gt;When you run vgdisplay /dev//vgname if it does not display anything and errors out then that VG is not activated. &lt;BR /&gt;strings /etc/lvmtab shows the list of VGs,lvols and PVs in the system&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2003 10:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139904#M155024</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-12-09T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139905#M155025</link>
      <description>The general procedure to remove a VG is to remove it with 'vgremove' command, by first removing all LVs in that VG. The physical remove of the disks should come only after that. When you remove the VG with 'vgremove' command (or simple vgexport), it will remove the necessary files and update system with that information. You don't need to update/rmeove any file manually. &lt;BR /&gt;&lt;BR /&gt;Also, during vg creation, if you are creating a VG through SAM, you are right. The configuration files (/dev/vgxx and /etc/lvmtab) will get created or updated by SAM. But if you do 'vgcreate' command manually, you need to do everything by yourself. Read the man pages for more information.</description>
      <pubDate>Tue, 09 Dec 2003 10:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139905#M155025</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-09T10:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139906#M155026</link>
      <description>Hi John, &lt;BR /&gt;&lt;BR /&gt;   though I'm not sure I understand what you meant by the VG remove stuff, but here's the thing. &lt;BR /&gt;&lt;BR /&gt;   In order to completely remove a VG from a system, all you need to do is vgreduce all but one disk in the VG and then issue the vgremove command, and that will take care of removing the /dev/ VG directory.  That's all you need to do to remove a VG from your system.  &lt;BR /&gt;&lt;BR /&gt;   Now to know if your VG is activated, one quick way to do that is do a vgdisplay of your VG, if it returns any info about the VG, that means it is activated.  If it gives you an error message saying it is not activated, then you know it's not activated.</description>
      <pubDate>Tue, 09 Dec 2003 10:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139906#M155026</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-12-09T10:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139907#M155027</link>
      <description>I would recommend you to read this LVM document to get a clear picture of all questions you 've asked (TKB #KBRC00010637):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066580919" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066580919&lt;/A&gt;</description>
      <pubDate>Tue, 09 Dec 2003 10:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139907#M155027</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-09T10:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139908#M155028</link>
      <description>Shiju,&lt;BR /&gt;&lt;BR /&gt;Getting 'could not login' for the link.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 09 Dec 2003 10:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139908#M155028</guid>
      <dc:creator>John Jayaseelan</dc:creator>
      <dc:date>2003-12-09T10:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: VG activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139909#M155029</link>
      <description>That's becuase you have a 'BR' login (may Europe, not from US). That's the reason why the TKB (technical knowledge base) number has been provided. All you need is select "maintenance and support for hp products" from your left side bar and lolok for Knowledge base. Once you get these, select "search by document ID" and give this number.</description>
      <pubDate>Tue, 09 Dec 2003 10:41:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-activation/m-p/3139909#M155029</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-09T10:41:16Z</dc:date>
    </item>
  </channel>
</rss>

