<?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: vgimport failure. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287793#M34213</link>
    <description>that was my second attempt with a different vg name. First tried with vghw_rds3_p1 only.</description>
    <pubDate>Fri, 17 Oct 2008 16:53:02 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2008-10-17T16:53:02Z</dc:date>
    <item>
      <title>vgimport failure.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287791#M34211</link>
      <description>Red Hat Enterprise Linux AS release 3 (Taroon Update 9)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# pvscan&lt;BR /&gt;pvscan -- reading all physical volumes (this may take a while...)&lt;BR /&gt;pvscan -- inactive PV "/dev/sdq"   is associated to unknown VG "vghw_rds3_p1" (run vgscan)&lt;BR /&gt;pvscan -- inactive PV "/dev/sdr"   is associated to unknown VG "vghw_rds3_p1" (run vgscan)&lt;BR /&gt;pvscan -- inactive PV "/dev/sdt"   is in EXPORTED VG "vghw_rds3_p1_arcPV_EXP" [9.94 GB / 960 MB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sda2" of VG "vg00"                         [418.86 GB / 321.83 GB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdb"  of VG "vghw_rds1_d"                  [19.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdc"  of VG "vghw_rds1_d"                  [19.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdd"  of VG "vghw_rds1_d"                  [4.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sde"  of VG "vghw_rds1_d"                  [4.94 GB / 768 MB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdf"  of VG "vghw_rds1_d_arc"              [7.94 GB / 960 MB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdg"  of VG "vghw_rds3_s_db"               [14.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdh"  of VG "vghw_rds3_s_db"               [14.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdi"  of VG "vghw_rds3_s_bin"              [9.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdj"  of VG "vghw_rds3_s_bin"              [4.94 GB / 192 MB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdk"  of VG "vghw_rds3_s_db"               [9.94 GB / 0 free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdl"  of VG "vghw_rds3_s_arc"              [9.94 GB / 160 MB free]&lt;BR /&gt;pvscan -- ACTIVE   PV "/dev/sdm"  of VG "vghw_rds3_s_db"               [19.94 GB / 32 MB free]&lt;BR /&gt;pvscan -- inactive PV "/dev/sdn"   is associated to unknown VG "vghw_rds3_p1" (run vgscan)&lt;BR /&gt;pvscan -- inactive PV "/dev/sdo"   is associated to unknown VG "vghw_rds3_p1" (run vgscan)&lt;BR /&gt;pvscan -- inactive PV "/dev/sdp"   is associated to unknown VG "vghw_rds3_p1" (run vgscan)&lt;BR /&gt;pvscan -- total: 19 [626.87 GB] / in use: 19 [626.87 GB] / in no VG: 0 [0]&lt;BR /&gt;&lt;BR /&gt;[root@exgld180n .sess_history]# strings /etc/lvmtab&lt;BR /&gt;vg00&lt;BR /&gt;vghw_rds1_d&lt;BR /&gt;vghw_rds1_d_arc&lt;BR /&gt;vghw_rds3_s_arc&lt;BR /&gt;vghw_rds3_s_bin&lt;BR /&gt;vghw_rds3_s_db&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgimport -v /dev/vghw_rds3_ptest /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr&lt;BR /&gt;vgimport -- locking logical volume manager&lt;BR /&gt;vgimport -- checking volume group name&lt;BR /&gt;vgimport -- checking volume group "vghw_rds3_ptest" existence&lt;BR /&gt;vgimport -- trying to read physical volumes&lt;BR /&gt;vgimport -- checking for duplicate physical volumes&lt;BR /&gt;vgimport -- checking physical volume name "/dev/sdn"&lt;BR /&gt;vgimport -- reading data of physical volume "/dev/sdn" from disk&lt;BR /&gt;vgimport -- checking for exported physical volume "/dev/sdn"&lt;BR /&gt;vgimport -- ERROR: physical volume "/dev/sdn" doesn't belong to an exported volume group&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgimport [-d|--debug] [-f|--force] [-h|--help] [-v|--verbose]&lt;BR /&gt;        VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i am surprised to see why the disks are showing associated with a vg prior to vgimport. Do you think a LUN initilise(pvcreate) will help? The data on the disks are restored from netaps snap volume which is a PROD data from vg vghw_rds3_p1. I tried importing with a different vg name and failed.&lt;BR /&gt;&lt;BR /&gt;let ms know if you have any suggetion.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 18:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287791#M34211</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-15T18:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport failure.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287792#M34212</link>
      <description>According to your output the physical volumes belong to the volume group named "vghw_rds3_p1" but your vgimport, you were referring to vghw_rds3_ptest. &lt;BR /&gt;The command you wanted to type should look something like this:&lt;BR /&gt;vgimport -v vghw_rds3_p1 /dev/sd[nopqr]&lt;BR /&gt;&lt;BR /&gt;Perhaps you would like to run the vgscan first as suggested by the pvscan command ;)</description>
      <pubDate>Thu, 16 Oct 2008 03:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287792#M34212</guid>
      <dc:creator>kelvinlnx</dc:creator>
      <dc:date>2008-10-16T03:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport failure.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287793#M34213</link>
      <description>that was my second attempt with a different vg name. First tried with vghw_rds3_p1 only.</description>
      <pubDate>Fri, 17 Oct 2008 16:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgimport-failure/m-p/4287793#M34213</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-17T16:53:02Z</dc:date>
    </item>
  </channel>
</rss>

