<?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: old LVM data structures exist in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667452#M644181</link>
    <description>Just make sure you aren't using an alternate path to a device - that would be one big no no.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Tue, 19 Feb 2002 17:45:18 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-02-19T17:45:18Z</dc:date>
    <item>
      <title>old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667442#M644171</link>
      <description>Please help:&lt;BR /&gt;&lt;BR /&gt;I was about to add a disk to a VG when a msg popped up telling me there was old LVM data structures on the disk.  How can I check what data in on this disk?&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 19 Feb 2002 15:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667442#M644171</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2002-02-19T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667443#M644172</link>
      <description>Do a pvdisplay -v.&lt;BR /&gt;&lt;BR /&gt;Man pvdisplay for details. This is fairly typical if you are reuseing a disk. In that case, you specify the -f option when using pvcreate to force it yo reuse the disk BUT be sure that you don't need the existing data.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Feb 2002 15:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667443#M644172</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-19T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667444#M644173</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;First of all try a 'pvdisplay -v /dev/dsk/cxtydz'&lt;BR /&gt;&lt;BR /&gt;If it gives error, then you can try 'vgscan' on the disk and if it reports any LVM structure, then use 'vgimport' command.&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg_new&lt;BR /&gt;# mknod /dev/vg_new/group c 64 0x0?0000&lt;BR /&gt;# vgimport /dev/vg_new /dev/dsk/cxtydz&lt;BR /&gt;# vgchange -a y /dev/vg_new&lt;BR /&gt;# vgdisplay -v /dev/vg_new&lt;BR /&gt;&lt;BR /&gt;Then make mount points and mount the LVs if needed.&lt;BR /&gt;&lt;BR /&gt;If you don't require any data from the disk, use '-f' option with 'pvcreate' ( forcefully creating pv)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 19 Feb 2002 15:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667444#M644173</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-19T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667445#M644174</link>
      <description>Either you are adding the wrong disk into your vg or you disk has been previously used.&lt;BR /&gt;&lt;BR /&gt;If the wrong disk:&lt;BR /&gt;verify via leds:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/dsk/cXtYd0 of=/dev/null&lt;BR /&gt;&lt;BR /&gt;for a read to null&lt;BR /&gt;(careful of the if,of!)&lt;BR /&gt;Then look for leds.&lt;BR /&gt;&lt;BR /&gt;If you're sure it's the disk you want, verify it's not in any other vg via&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;If not there,&lt;BR /&gt;pvcreate -f /dev/dsk/cXtYd0&lt;BR /&gt;&lt;BR /&gt;to reinit it for lvm use.&lt;BR /&gt;&lt;BR /&gt;If it is there and you're sure you want to use it,&lt;BR /&gt;&lt;BR /&gt;vgreduce vgXYZ /dev/dsk/cXtYd0&lt;BR /&gt;&lt;BR /&gt;and hopefully it'll work if there's no lv data on the disk.  If there is, use pvmove to move the data to another disk before reducing.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 19 Feb 2002 15:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667445#M644174</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-02-19T15:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667446#M644175</link>
      <description>Shiju,&lt;BR /&gt;&lt;BR /&gt;When I run vgscan I get the following msg:&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c2t9d0&lt;BR /&gt;&lt;BR /&gt;I don't want to lose the data on the disk if this disk is supposed to belong to an existing VG, I just want to know what it is.  If it is not needed, I'll just overwrite it.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 19 Feb 2002 16:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667446#M644175</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2002-02-19T16:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667447#M644176</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;You can do 'vgimport' on this disk and see what it has. Follow the steps I have given before. Give a new VG name ( vg05 ? ) by checking your current vg information.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 19 Feb 2002 16:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667447#M644176</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-19T16:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667448#M644177</link>
      <description>Shiju,&lt;BR /&gt;&lt;BR /&gt;As per your instructions, when I do vgimport, I get:&lt;BR /&gt;&lt;BR /&gt;Volume group "/dev/vg99" is still active&lt;BR /&gt;&lt;BR /&gt;Then, when I do vgchange:&lt;BR /&gt;&lt;BR /&gt;vgchange: Volume group "/dev/vg99" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;Then, when I do vgdisplay:&lt;BR /&gt;&lt;BR /&gt;vgdisplay: Volume group "/dev/vg99" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/vg99".&lt;BR /&gt;&lt;BR /&gt;Am I doing something wrong????&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 19 Feb 2002 16:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667448#M644177</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2002-02-19T16:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667449#M644178</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;As an eg: I will assume your HDD is /dev/dsk/c6t1d0 and the new vg name is - vg09. Then:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg09&lt;BR /&gt;# cd /dev/vg09&lt;BR /&gt;# mknod group c 64 0x090000&lt;BR /&gt;# vgimport /dev/vg09 /dev/dsk/c6t1d0&lt;BR /&gt;# vgchange -a y /dev/vg09&lt;BR /&gt;# vgdisplay -v /dev/vg09&lt;BR /&gt;# mkdir /test1&lt;BR /&gt;# mount /dev/vg09/lvol1 /test1 (repeat these steps for all lvols )&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 19 Feb 2002 16:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667449#M644178</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-19T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667450#M644179</link>
      <description>Shiju,&lt;BR /&gt;&lt;BR /&gt;I still get the same results.  I'm just going to use it in an existing VG.  If there was important data on there, someone would have complaimed about it by now.  Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 19 Feb 2002 17:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667450#M644179</guid>
      <dc:creator>John Ferrara</dc:creator>
      <dc:date>2002-02-19T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667451#M644180</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;R u sure that you are using a new name for the VG ? Can you post the output of 'strings /etc/lvmtab' ? Does 'pvdisplay' gave some error ?&lt;BR /&gt;&lt;BR /&gt;If the LVM data area is currupted on the disk, then you may experience difficulties importing it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 19 Feb 2002 17:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667451#M644180</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-19T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667452#M644181</link>
      <description>Just make sure you aren't using an alternate path to a device - that would be one big no no.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 19 Feb 2002 17:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667452#M644181</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-19T17:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: old LVM data structures exist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667453#M644182</link>
      <description>This is a really nasty problem with lvm..&lt;BR /&gt;&lt;BR /&gt;I think the only way to repair it is to bootin into lvm maintenance mode and recreate the lvmtab.&lt;BR /&gt;&lt;BR /&gt;What is happening is that the disk is out of whack with the os config.&lt;BR /&gt;&lt;BR /&gt;I'd call your RCE to work this one out.&lt;BR /&gt;&lt;BR /&gt;It's usually caused after doing a vgscan after a dd of one disk to another...&lt;BR /&gt;PVRA, VGRA is duplicated, ie host sees 2 disks that lvm thinks is one. (or something like that!)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 11:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-lvm-data-structures-exist/m-p/2667453#M644182</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-02-20T11:54:26Z</dc:date>
    </item>
  </channel>
</rss>

