<?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: LVM command just for clarification of BCV import in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860359#M625902</link>
    <description>Do you have service guard running as well?</description>
    <pubDate>Thu, 09 Sep 2004 15:11:36 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2004-09-09T15:11:36Z</dc:date>
    <item>
      <title>LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860357#M625900</link>
      <description>I have vgimported from a mapfile 2 VGs which are snapshots of BCVS from another host...&lt;BR /&gt;&lt;BR /&gt;Everything looks good but I got some strange messages, that Id liek to get some adivce on.&lt;BR /&gt;&lt;BR /&gt;I know why i got the too many disks error since I added the ALT paths as well... I am more concerned about the LVol errors... which I am not sure why I got them... I have done this before, but it has been a while so I have forgotten what messages I got then.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgoradata1".&lt;BR /&gt;vgimport: Warning: Volume Group contains "16" PVs, "32" specified. Continuing.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgoradata1/fs03" is missing Physical Volumes.&lt;BR /&gt;Logical Volume is not defined on any physical volume.&lt;BR /&gt;"/dev/vgoradata1/fs04" is missing Physical Volumes.&lt;BR /&gt;Volume group "/dev/vgoradata1" has been successfully created.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating&lt;BR /&gt;the volume group.</description>
      <pubDate>Thu, 09 Sep 2004 15:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860357#M625900</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860358#M625901</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;Did you ensure that you got all the disks included in SRDF?. Looks like the disks corresponding to fs03 and fs04 are not available anymore. &lt;BR /&gt;&lt;BR /&gt;Make sure those logical volumes are not with '0' size on the source system. You will get the same errors if the lvols are of zero size.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 09 Sep 2004 15:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860358#M625901</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-09T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860359#M625902</link>
      <description>Do you have service guard running as well?</description>
      <pubDate>Thu, 09 Sep 2004 15:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860359#M625902</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-09T15:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860360#M625903</link>
      <description>hmm..how is that you are importing the volume group ? Are you manually specifying the physical volumes with vgimport or using the -s option to import the PVs matching the VGID in the map file ?&lt;BR /&gt;&lt;BR /&gt;Execute lvdisplay -v /dev/vgoradata/fs03, figure out the physical volumes and ensure that PV's corresponding BCV is mentioned in the vgimport command line, if you are manually listing the PVs. &lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 15:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860360#M625903</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T15:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860361#M625904</link>
      <description>No BCVS...&lt;BR /&gt;&lt;BR /&gt;I used vgexport -s -v -p -m options...Also, I specified the disks on the vgimport command&lt;BR /&gt;&lt;BR /&gt;Oh wait... i didnt use the -s on the vgimport... i will redo them and see what happens with the -s option without specifiying the disks.</description>
      <pubDate>Thu, 09 Sep 2004 15:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860361#M625904</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T15:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860362#M625905</link>
      <description>May be with vgimport command, you missed out on a PV but mentioned alternate links of the some other PV :-).&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m -v in the source machine&lt;BR /&gt;&lt;BR /&gt;vgimport -s -v -m &lt;MAPFILE&gt; /dev/vg&lt;NAME&gt;&lt;BR /&gt;&lt;BR /&gt;You can use vgimport with -s option as long as you dont execute vgchgid on the disks before importing.&lt;BR /&gt;&lt;/NAME&gt;&lt;/MAPFILE&gt;</description>
      <pubDate>Thu, 09 Sep 2004 15:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860362#M625905</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860363#M625906</link>
      <description>Sundar,&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -v -m vgoradata.mapfile.todd  /dev/vgoradata &lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgoradata".&lt;BR /&gt;Couldn't access the list of physical volumes for volume group "/dev/vgoradata".&lt;BR /&gt;&lt;BR /&gt;I tried it with the disks and without and got the same message....</description>
      <pubDate>Thu, 09 Sep 2004 15:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860363#M625906</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T15:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860364#M625907</link>
      <description>Did you execute vgchgid on the disks ? - vgchgid changes the VGID on the disks and when vgimport tries to search for the physical volumes with the VGID matching that of in the map file, it fails to find any PV since vgchgid has already changed the VGID on the PVs.&lt;BR /&gt;&lt;BR /&gt;1) Create a fresh map file from the source system&lt;BR /&gt;&lt;BR /&gt;2) vgimport -s -v -m &lt;MAPFILE&gt; /dev/vg&lt;NAME&gt;&lt;/NAME&gt;&lt;/MAPFILE&gt;</description>
      <pubDate>Thu, 09 Sep 2004 15:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860364#M625907</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860365#M625908</link>
      <description>I have never used vgchgid in the past. Not sure that I need that.&lt;BR /&gt;&lt;BR /&gt;I want the same IDs dont I if these are going to be mounted from BCV snapshot?</description>
      <pubDate>Thu, 09 Sep 2004 15:37:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860365#M625908</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T15:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860366#M625909</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One of the things to note - if you are executing vgchgid before proceeding with vgimport - while running 'vgchgid' you have to specify all disks otherwise, the VGID will become different on them causing your vgimport to fail.&lt;BR /&gt;&lt;BR /&gt;If you have the list of the PVs, then you can try again to change the VGIDs but ensure the disks you are specifying are in fact correct.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 09 Sep 2004 15:38:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860366#M625909</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-09T15:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860367#M625910</link>
      <description>If I understand correctly you made a BCV copy of /dev/vgoradata1 on hostA. You are trying to import the BCV copy onto hostB.&lt;BR /&gt;&lt;BR /&gt;1. If hostB can "see" both the STD and BCV devices you will need to run vgchgid on each BCV device, then specify each of those devices on the vgimport line (without -s). Otherwise hostB might import the BCV devices, the STD devices, or a combination.&lt;BR /&gt;&lt;BR /&gt;Note: As you are probably aware you must specify all devices on the same vgchgid line for it to work correctly. Example: vgchgid /dev/rdsk/c3t1d1 /dev/rdsk/c3t1d4. Not vgchgid /dev/rdsk/c3t1d1; vgchgid /dev/rdsk/c3t1d4&lt;BR /&gt;&lt;BR /&gt;2. If hostB can only "see" the BCV devices you should be able to use 'vgexport -s -v -m vgoradata1.map -p /dev/vgoradata1' on hostA; copy vgoradata1.map to hostB; run 'vgimport -s -v -m vgoradata1.map /dev/vgoradata1' on hostB. If vgchgid has been run on any of the BCV devices you are out of luck using the shared (-s) option. &lt;BR /&gt;&lt;BR /&gt;The error messages you are getting of concern; &lt;BR /&gt;&lt;BR /&gt;Logical Volume is not defined on any physical volumes&lt;BR /&gt;&lt;BR /&gt;It almost sounds like its the wrong map file for the devices. I think you might get this message if a volume group was imported and had 2 LVs defined, but you used a mapfile with 4 LVs specified. Just a thought.&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Thu, 09 Sep 2004 15:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860367#M625910</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2004-09-09T15:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860368#M625911</link>
      <description>I want the same IDs dont I if these are going to be mounted from BCV snapshot? &lt;BR /&gt;&lt;BR /&gt;VGID is just how kernels running in the individual nodes refer the volume group.&lt;BR /&gt;&lt;BR /&gt;You would need to execute vgchgid if the source and BCV copies are to be mounted in the SAME node. In this case, since the VGID will be same in both the source and BCV snapshots, you need to change the VGID on the BCV snapshots before you can mount them. This is primarily becoz kernel will not allow two volume groups with the same VGID be activated.&lt;BR /&gt;&lt;BR /&gt;But if your BCV snapshots are going to be mounted on a different node, then you dont need to execute vgchgid.</description>
      <pubDate>Thu, 09 Sep 2004 15:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860368#M625911</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T15:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860369#M625912</link>
      <description>HostA has the real disks.&lt;BR /&gt;HostB has the BCVs which is where Im tryin to mount them. HostB cannot see the STD devices on HostA.&lt;BR /&gt;&lt;BR /&gt;I know all of the BCV disks via my Syminq output from EMC... so I do know the BCVS if I need to specify them.&lt;BR /&gt;&lt;BR /&gt;However, one thing I didnt mention is that I may need to resync the BCVs on HostB with the STD devices on HostA...&lt;BR /&gt;&lt;BR /&gt;I think that may be my basic problem.</description>
      <pubDate>Thu, 09 Sep 2004 15:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860369#M625912</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T15:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860370#M625913</link>
      <description>Yes, that obviously is an issue here if you have created /dev/vgoradata/fs03 and fs04 after the last time you syncd your BCV with STD devices.&lt;BR /&gt;&lt;BR /&gt;I think the error messages seem to make sense to me :-). Sync up BCV with STD, you should be good to go.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 16:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860370#M625913</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860371#M625914</link>
      <description>yes I think that is it... &lt;BR /&gt;&lt;BR /&gt;I talked with my DBA and he is goin to do that establish and let me know.&lt;BR /&gt;&lt;BR /&gt;I probably blew away the disk header when I mounted them as FS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So check back tomorrow same Bat channel!!! for the exciting conclusion!!!</description>
      <pubDate>Thu, 09 Sep 2004 16:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860371#M625914</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-09T16:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860372#M625915</link>
      <description>Todd,&lt;BR /&gt;&lt;BR /&gt;We do this scenario just about twice a week. &lt;BR /&gt;&lt;BR /&gt;When finished with the BCV's and want to resync&lt;BR /&gt;On host that has the BCV's mounted&lt;BR /&gt;Unmount all valids filesystems&lt;BR /&gt;deactivate the volume groups&lt;BR /&gt;# vgchange -a n /dev/myvg&lt;BR /&gt;Remove the volumes&lt;BR /&gt;# vgexport /myvg&lt;BR /&gt;# rm -rf /dev/myvg&lt;BR /&gt;&lt;BR /&gt;Go to the system that does your symcli commands and start your resync, hopefully you are using device groups, otherwise it is very difficult.&lt;BR /&gt;&lt;BR /&gt;e.g&lt;BR /&gt;# symmir -g mygrp -noprompt establish&lt;BR /&gt;&lt;BR /&gt;Once the volumes are sync'ed you can then split them off again ready for the host to use them.&lt;BR /&gt;&lt;BR /&gt;# symmir -g mygrp query (to check synching progress)&lt;BR /&gt;&lt;BR /&gt;# symmir -g mygrp -instant -noprompt split&lt;BR /&gt;&lt;BR /&gt;Go to intended host&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/mygrp&lt;BR /&gt;# mknod /dev/mygrp/group c 64 0x090000&lt;BR /&gt;# vgchgid `cat mygrp_rdsk` (list of LUN devices on a single line e.g. /dev/rdsk/c10t2d0 /dev/rdsk/c10t2d1 ...) This changes the VGID to the current system&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m mygrp.mapfile -p /dev/mygrp `cat mygrp_dsk` (list of devices on a single line like before e.g. /dev/dsk/c10t2d0 /dev/dsk/c10t2d1 ...)&lt;BR /&gt;This was the preview, if all okay drop the preview option.&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m mygrp.mapfile /dev/mygrp `cat mygrp_dsk`&lt;BR /&gt;After a successful import you can then mount your filesystems. You may still need to run an fcsk on each logical volume prior to mounting.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 09 Sep 2004 16:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860372#M625915</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-09-09T16:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860373#M625916</link>
      <description>It worked!!! &lt;BR /&gt;&lt;BR /&gt;I think since I had mistakenly used the BCVS as real FS... I blew away the disk header.&lt;BR /&gt;&lt;BR /&gt;My DBA re-established the BCVs with the STD devices. &lt;BR /&gt;&lt;BR /&gt;Here is my output from my import command.&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -v -m vgoradata.mapfile.todd  /dev/vgoradata&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vgoradata".&lt;BR /&gt;Logical volume "/dev/vgoradata/fs01" has been successfully created&lt;BR /&gt;with lv number 1.&lt;BR /&gt;Logical volume "/dev/vgoradata/fs02" has been successfully created&lt;BR /&gt;with lv number 2.&lt;BR /&gt;Volume group "/dev/vgoradata" has been successfully created.&lt;BR /&gt;chdcfas1-root:/root/LVMcommands/BCVmounts&lt;BR /&gt;# vgchange -a y /dev/vgoradata&lt;BR /&gt;Activated volume group&lt;BR /&gt;Volume group "/dev/vgoradata" has been successfully changed.</description>
      <pubDate>Fri, 10 Sep 2004 10:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860373#M625916</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-10T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: LVM command just for clarification of BCV import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860374#M625917</link>
      <description>Thanks all... it was my own stupidity.&lt;BR /&gt;&lt;BR /&gt;As usual I made it harder than it should have.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2004 10:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-command-just-for-clarification-of-bcv-import/m-p/4860374#M625917</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-10T10:25:26Z</dc:date>
    </item>
  </channel>
</rss>

