<?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: one lun in two vgs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876655#M99809</link>
    <description>Hi Raje,&lt;BR /&gt;&lt;BR /&gt;I thought your problem was solved when I saw rabbit on this.&lt;BR /&gt;&lt;BR /&gt;Do a pvdisplay /dev/dsk/c10t1d5 &lt;BR /&gt;&lt;BR /&gt;and see what lvols are still seen on it. Remove them using lvremove.&lt;BR /&gt;&lt;BR /&gt;Then use vgreduce. This will corrupt the volume headers of the disk. So, nce you reduced it, do &lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg07 /dev/rdsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg07&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: Please do no assign points until your problem is solved</description>
    <pubDate>Thu, 09 Jan 2003 01:29:12 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-01-09T01:29:12Z</dc:date>
    <item>
      <title>one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876650#M99804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have vg06/lvol1 &amp;amp; lvol2 consisting of about 20 luns and vg07/lvol1 consisting of 2 luns of 7 GB each. I have removed lvol2 from vg06 and checked and removed one lun from vg06.&lt;BR /&gt;&lt;BR /&gt;This lun was added to vg07/lvol1.&lt;BR /&gt;&lt;BR /&gt;Now I can see that the same lun appears from primary link in vg07 and from the alternate link in vg06.&lt;BR /&gt;pvdisplay -v shows both of them as current.&lt;BR /&gt;&lt;BR /&gt;This has corrupted my lvol1 in vg06.&lt;BR /&gt;&lt;BR /&gt;What is the best possible method to recover?&lt;BR /&gt;I have free luns available in vg06. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raje.</description>
      <pubDate>Wed, 08 Jan 2003 03:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876650#M99804</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-01-08T03:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876651#M99805</link>
      <description>Hi Raje,&lt;BR /&gt;  You should have vgexported the lun on vg06 before you &lt;BR /&gt;added it to vg07. &lt;BR /&gt;&lt;BR /&gt;Do a vgreduce on vg06 for the lun you took out. &lt;BR /&gt;&lt;BR /&gt;If you have a vgconfig saved,&lt;BR /&gt;restore that.&lt;BR /&gt;&lt;BR /&gt;vgreduce vg06 "lun device file"&lt;BR /&gt;&lt;BR /&gt;do a fsck on vg06/lvol1. &lt;BR /&gt;and mount it back.&lt;BR /&gt;&lt;BR /&gt;vgextend the lun to vg07.&lt;BR /&gt;&lt;BR /&gt;Let me know when u solved the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Srini.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 05:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876651#M99805</guid>
      <dc:creator>avsrini</dc:creator>
      <dc:date>2003-01-08T05:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876652#M99806</link>
      <description>Hi Raje,&lt;BR /&gt;&lt;BR /&gt;I am not sure how you did it.&lt;BR /&gt;&lt;BR /&gt;If you haven't written anything onto the new link (which is alternate on vg06), then you can possibly recover your data but is not guaranteed.&lt;BR /&gt;&lt;BR /&gt;First, take the lun out of vg07. &lt;BR /&gt;&lt;BR /&gt;Then do a vgcfgrestore on the disk in vg06.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg06 /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg06&lt;BR /&gt;&lt;BR /&gt;Now unmount lvol1, Do an fsck and mount it. If everything is looking ok, then add the other link.&lt;BR /&gt;&lt;BR /&gt; If it doesn't work, then you will need to restore it from backup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 08 Jan 2003 06:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876652#M99806</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T06:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876653#M99807</link>
      <description>Hi Srini/Sridhar,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply and advice.&lt;BR /&gt;&lt;BR /&gt;The users has already written data on vg07/lvol1 on this lun.&lt;BR /&gt;Presently my requirement is to remove the Alternate link from vg06.&lt;BR /&gt;&lt;BR /&gt;When I do &lt;BR /&gt;# vgreduce /dev/vg06 /dev/dsk/c10t1d5&lt;BR /&gt;It says Cannot remove as there are some PE already in use.&lt;BR /&gt;&lt;BR /&gt;What needs to be done to remove the alternate link from vg06?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raje.</description>
      <pubDate>Wed, 08 Jan 2003 06:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876653#M99807</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-01-08T06:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876654#M99808</link>
      <description>Hi Raje,&lt;BR /&gt;  Try&lt;BR /&gt;&lt;BR /&gt;vgreduce -l &lt;BR /&gt;&lt;BR /&gt;This has to solve your problem.&lt;BR /&gt;&lt;BR /&gt;If not, try deactivating the volume groups.&lt;BR /&gt;&lt;BR /&gt;Srini.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 23:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876654#M99808</guid>
      <dc:creator>avsrini</dc:creator>
      <dc:date>2003-01-08T23:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: one lun in two vgs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876655#M99809</link>
      <description>Hi Raje,&lt;BR /&gt;&lt;BR /&gt;I thought your problem was solved when I saw rabbit on this.&lt;BR /&gt;&lt;BR /&gt;Do a pvdisplay /dev/dsk/c10t1d5 &lt;BR /&gt;&lt;BR /&gt;and see what lvols are still seen on it. Remove them using lvremove.&lt;BR /&gt;&lt;BR /&gt;Then use vgreduce. This will corrupt the volume headers of the disk. So, nce you reduced it, do &lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg07 /dev/rdsk/c10t1d5&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg07&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: Please do no assign points until your problem is solved</description>
      <pubDate>Thu, 09 Jan 2003 01:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/one-lun-in-two-vgs/m-p/2876655#M99809</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-09T01:29:12Z</dc:date>
    </item>
  </channel>
</rss>

