<?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: A twister in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699330#M57522</link>
    <description>vgchange -a y is to make sure that all PVs are good and are recognizable corresponding to the volume group. A step to verify but not mandatory.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Tue, 09 Apr 2002 12:43:48 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-04-09T12:43:48Z</dc:date>
    <item>
      <title>A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699322#M57514</link>
      <description>Ok, I have two L2000's in an SG config, two controllers, connected to two SC10 jbod's..&lt;BR /&gt;&lt;BR /&gt;Both machines can see all drives in both units, with the same device file names.  However, I was able to create a volume group with two drives on one of the node's that are being used in VG's on the 2nd node.&lt;BR /&gt;&lt;BR /&gt;The question is: Why wasn't my pvcreate on one the disk devices halted since they are indicated to be in use, and, why was I subsequently able to create a vg, with the two of these disks in a pvg and create lv's (five) and mount them on filesystems?&lt;BR /&gt;&lt;BR /&gt;I just finished running some dd's on all of the drives in each cabinet, and both systems identify the same devices with the same device names.&lt;BR /&gt;&lt;BR /&gt;The only solution I can think of is, the particular device names I used were not shown to be in an active vg in /etc/lvmtab, but then, what happened to the structures on the disk?  I went to the other system and verified that the file systems were intact.. (i.e. cluster is still up and app is still running)&lt;BR /&gt;&lt;BR /&gt;Mike-</description>
      <pubDate>Mon, 08 Apr 2002 17:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699322#M57514</guid>
      <dc:creator>Michael Elleby III_1</dc:creator>
      <dc:date>2002-04-08T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699323#M57515</link>
      <description>P.S.  The good thing about all this is, I'm working in a development cluster, so I can crash and burn anytime I want...&lt;CHUCKLE&gt;&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/CHUCKLE&gt;</description>
      <pubDate>Mon, 08 Apr 2002 17:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699323#M57515</guid>
      <dc:creator>Michael Elleby III_1</dc:creator>
      <dc:date>2002-04-08T17:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699324#M57516</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;In order not to confuse, let's say system1 has disk1 and disk2 configured into vg01. system2 can see disk1 and disk2. If you use pvcreate -f on disk1 and disk2, it is going to erase the VGID on these disks. If there is no data and if the file systems are mounted on system1, you will not see any errors for sometime. After vg02 up and running on system2 with disk1 and disk2, unmount the filesystems on system1, do a vgchange -a n and vgchange -a y, then it is going to bomb out. Or a reboot of system1 will prove it.&lt;BR /&gt;&lt;BR /&gt;If you have data on system1 on these disks, you are going to lose it. If you just did pvcreate -f on these disks on system1 and didn't write any data into the filesystems, then you can recover these disks on system1 by using vgcfgrestore command. You will need to vgexport the volume groups on system2 before doing this ofcourse. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 08 Apr 2002 18:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699324#M57516</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-08T18:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699325#M57517</link>
      <description>Hi Michael&lt;BR /&gt;&lt;BR /&gt;If you are sure of the disk path tehn use pvcreate -f option to initialise the disk , there may be some resident old lvm information which will not allow you to run pvcreate by itself.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2002 18:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699325#M57517</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-08T18:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699326#M57518</link>
      <description>Sri, I got as far as to get the vg and lv created and mounted on system2, using the device files that were already in use in the VG on system1.&lt;BR /&gt;&lt;BR /&gt;However, I never wrote any data to the filesystems on system2, nor did I deactivate the vg on system1.  What I did do was to unmount fs, lvreduce, lvremove, vgreduce and vgremove on system2 to eliminate this vg.&lt;BR /&gt;&lt;BR /&gt;I went to system1 and did a lvdisplay and it looks ok...&lt;BR /&gt;&lt;BR /&gt;Is the vgcfgrestore I need to do, or is it even necessary?&lt;BR /&gt;&lt;BR /&gt;Mike-</description>
      <pubDate>Mon, 08 Apr 2002 18:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699326#M57518</guid>
      <dc:creator>Michael Elleby III_1</dc:creator>
      <dc:date>2002-04-08T18:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699327#M57519</link>
      <description>hi michael,&lt;BR /&gt;&lt;BR /&gt;but in syslog you can read scsi reset?&lt;BR /&gt;&lt;BR /&gt;when you mount a filesystem on system1 and than you mount a file system on system2, you must wait for some minute?</description>
      <pubDate>Mon, 08 Apr 2002 18:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699327#M57519</guid>
      <dc:creator>Domenico_5</dc:creator>
      <dc:date>2002-04-08T18:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699328#M57520</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;To create the problem, unmount all the filesystems on system1, then do a vgchange -a n and vgchange -a y (if it is part of MC/ServiceGuard then vgchange -a n and vgchange -a e). vgchange -a e|y should fail. Also if you do a vgdisplay, you should see errors like "disk doesn't correspond to volume group" etc., This is exactly what is going to happen when you reboot the system next time or bring up MC/ServiceGuard package. If you have data, you will definitely see read and I/O errors.&lt;BR /&gt;&lt;BR /&gt;Yes. You need to export the volume group on system2 and do a vgcfgrestore on all the disks followed by vgchange -a y.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 08 Apr 2002 18:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699328#M57520</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-08T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699329#M57521</link>
      <description>Sri-&lt;BR /&gt;&lt;BR /&gt;I went ahead and removed the new lv structures that I created and removed the vg/pvg..  Also did a vgcfgrestore on the disks affected.  However, I did it with the vg still activated so there was no need to do a vgchange -a y&lt;BR /&gt;&lt;BR /&gt;Thanx for your help.&lt;BR /&gt;&lt;BR /&gt;Mike-</description>
      <pubDate>Tue, 09 Apr 2002 11:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699329#M57521</guid>
      <dc:creator>Michael Elleby III_1</dc:creator>
      <dc:date>2002-04-09T11:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: A twister</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699330#M57522</link>
      <description>vgchange -a y is to make sure that all PVs are good and are recognizable corresponding to the volume group. A step to verify but not mandatory.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 09 Apr 2002 12:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-twister/m-p/2699330#M57522</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-09T12:43:48Z</dc:date>
    </item>
  </channel>
</rss>

