<?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: VG problems following restore in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170249#M629355</link>
    <description>Is c2t12d0 actually a part of vg02? Did you add a new drive or change the LVM configuration after your last Ignite recovery tape creation? Also, if you can describe the problem little more, that would be helpful.&lt;BR /&gt;&lt;BR /&gt;Another thing is 'cat /etc/hosts &amp;gt; c2t12d0' is not a right way to check the disk. Check the following commands:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c2t12d0&lt;BR /&gt;# diskinfo /dev/rdsk/c2t12d0&lt;BR /&gt;&lt;BR /&gt;If you find out which LV is holding on c2t12d0 (from pvdisplay), write to that file system:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/hosts &amp;gt; /file_system/testhosts&lt;BR /&gt;&lt;BR /&gt;Also, use files in /tmp or other log files while testing things instead of configuration files from /etc. A reverse "redirect" can erase your hosts file.</description>
    <pubDate>Wed, 21 Jan 2004 15:41:57 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2004-01-21T15:41:57Z</dc:date>
    <item>
      <title>VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170248#M629354</link>
      <description>After Restoring from Ignite tape, two volumne groups are missing, that part I would expect.&lt;BR /&gt;Issue is inconsistancy bewtween /dev, ioscan, and volume group&lt;BR /&gt;&lt;BR /&gt;There is a new drive in /dev/dsk/c2t2d0 ...&lt;BR /&gt;&lt;BR /&gt;The drive that appears in the ioscan and the old vg returns an error if I try to write to it.&lt;BR /&gt;&lt;BR /&gt;Has anyone run across this ?&lt;BR /&gt;&lt;BR /&gt;Any suggestion on an approach to this ???&lt;BR /&gt;&lt;BR /&gt;Restoring the vg will incorporate basically a bad devise ( I think ). Also concerned about the new spurios device .&lt;BR /&gt;&lt;BR /&gt;Following is the editted ioscan, vgcfgrestore, andls of /dev/dsk with the results of cat to&lt;BR /&gt;the original drive&lt;BR /&gt;&lt;BR /&gt;ioscan -funC disk&lt;BR /&gt;Class     I  H/W Path  Driver S/W State H/W Type  Description&lt;BR /&gt;==============================================================&lt;BR /&gt;........&lt;BR /&gt;&lt;BR /&gt;disk     12  16.9.0    disc3  CLAIMED   DEVICE    SEAGATE ST15150W&lt;BR /&gt;                      /dev/dsk/c2t9d0      /dev/rdsk/c2t9d0   &lt;BR /&gt;                      /dev/floppy/c2t9d0   /dev/rfloppy/c2t9d0&lt;BR /&gt;disk     13  16.11.0   disc3  CLAIMED   DEVICE    SEAGATE ST15150W&lt;BR /&gt;                      /dev/dsk/c2t11d0      /dev/rdsk/c2t11d0   &lt;BR /&gt;                      /dev/floppy/c2t11d0   /dev/rfloppy/c2t11d0&lt;BR /&gt;************ The Disk in question *******************&lt;BR /&gt;disk     14  16.12.0   disc3  CLAIMED   DEVICE    SEAGATE ST34573WC&lt;BR /&gt;                      /dev/dsk/c2t12d0      /dev/rdsk/c2t12d0   &lt;BR /&gt;                      /dev/floppy/c2t12d0   /dev/rfloppy/c2t12d0&lt;BR /&gt;******************************************************************&lt;BR /&gt;disk     15  16.13.0   disc3  CLAIMED   DEVICE    SEAGATE ST34573WC&lt;BR /&gt;                      /dev/dsk/c2t13d0      /dev/rdsk/c2t13d0   &lt;BR /&gt;                      /dev/floppy/c2t13d0   /dev/rfloppy/c2t13d0&lt;BR /&gt;disk     16  16.15.0   disc3  CLAIMED   DEVICE    SEAGATE ST15150W&lt;BR /&gt;                      /dev/dsk/c2t15d0      /dev/rdsk/c2t15d0   &lt;BR /&gt;                      /dev/floppy/c2t15d0   /dev/rfloppy/c2t15d0&lt;BR /&gt;disk     10  52.2.0    disc3  CLAIMED   DEVICE    TOSHIBA CD-ROM XM-3301TA&lt;BR /&gt;                      /dev/dsk/c1t2d0      /dev/rdsk/c1t2d0   &lt;BR /&gt;                      /dev/floppy/c1t2d0   /dev/rfloppy/c1t2d0&lt;BR /&gt;disk     11  52.6.0    disc3  CLAIMED   DEVICE    HP      C3010M1&lt;BR /&gt;                      /dev/dsk/c1t6d0      /dev/rdsk/c1t6d0   &lt;BR /&gt;                      /dev/floppy/c1t6d0   /dev/rfloppy/c1t6d0&lt;BR /&gt;Hewie &amp;gt; &lt;BR /&gt;&lt;BR /&gt;Hewie &amp;gt;vgcfgrestore -n vg02 -l&lt;BR /&gt;Volume Group Configuration information in "/etc/lvmconf/vg02.conf"&lt;BR /&gt;VG Name /dev/vg02&lt;BR /&gt; ---- Physical volumes : 5 ----&lt;BR /&gt;    /dev/rdsk/c2t9d0 (Non-bootable)&lt;BR /&gt;   /dev/rdsk/c2t11d0 (Non-bootable)&lt;BR /&gt;   /dev/rdsk/c2t12d0 (Non-bootable)   ***** drive in ioscan *****&lt;BR /&gt;   /dev/rdsk/c2t13d0 (Non-bootable)&lt;BR /&gt;   /dev/rdsk/c2t15d0 (Non-bootable)&lt;BR /&gt;Hewie &amp;gt; &lt;BR /&gt;&lt;BR /&gt;ls -l c2*&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x02b000 Jan 20 12:25 c2t11d0&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x02c000 Jan 13  2003 c2t12d0&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x02d000 Jan 21 12:41 c2t13d0&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x02f000 Jan 20 12:25 c2t15d0&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x022000 Jan 20 12:14 c2t2d0&lt;BR /&gt;brw-r-----   1 bin        sys         28 0x029000 Jan 20 12:25 c2t9d0&lt;BR /&gt;Hewie &amp;gt;cat /etc/hosts &amp;gt; c2t12d0&lt;BR /&gt;sh: c2t12d0: Cannot create the specified file.&lt;BR /&gt;Hewie &amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2004 15:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170248#M629354</guid>
      <dc:creator>John Warminski</dc:creator>
      <dc:date>2004-01-21T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170249#M629355</link>
      <description>Is c2t12d0 actually a part of vg02? Did you add a new drive or change the LVM configuration after your last Ignite recovery tape creation? Also, if you can describe the problem little more, that would be helpful.&lt;BR /&gt;&lt;BR /&gt;Another thing is 'cat /etc/hosts &amp;gt; c2t12d0' is not a right way to check the disk. Check the following commands:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c2t12d0&lt;BR /&gt;# diskinfo /dev/rdsk/c2t12d0&lt;BR /&gt;&lt;BR /&gt;If you find out which LV is holding on c2t12d0 (from pvdisplay), write to that file system:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/hosts &amp;gt; /file_system/testhosts&lt;BR /&gt;&lt;BR /&gt;Also, use files in /tmp or other log files while testing things instead of configuration files from /etc. A reverse "redirect" can erase your hosts file.</description>
      <pubDate>Wed, 21 Jan 2004 15:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170249#M629355</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-01-21T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170250#M629356</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you saying that this disk was not there before and is appearing now all of a sudden after the ignite restore?.&lt;BR /&gt;&lt;BR /&gt;How about a 'diskinfo /dev/rdsk/c2t12d0'? Does it give any information?.&lt;BR /&gt;&lt;BR /&gt;Looks like the vgcfgrestore is successful. Did you run 'vgchange -a y vg02' later after importing it to see if it is getting activated?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 21 Jan 2004 15:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170250#M629356</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-21T15:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170251#M629357</link>
      <description>To add, use 'dd' and 'stm' commands to check your hard drive:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c1t12d0 of=/dev/null bs=256k&lt;BR /&gt;&lt;BR /&gt;# stm (or cstm or mstm and select the device you want to test)</description>
      <pubDate>Wed, 21 Jan 2004 15:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170251#M629357</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-01-21T15:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170252#M629358</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;First you cannot merely cat file &amp;gt; c2t12d0... not sure what that is... you need to do a dd to the device to test it not a cat.&lt;BR /&gt;&lt;BR /&gt;Now, I dont think I know enough yet...You say all disks are visible.. run a diskinfo and pvdisplay on each of them. If you get errors they are not part of a VG. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I first have a question why your VGs are missing? What caused them to be missing? &lt;BR /&gt;&lt;BR /&gt;I would restore via ignite, you already did, and then vgexport vgX to destroy them and then restore using the mapfiles you have in /etc/lvmconf/*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What disks appear in your mapfiles for these VGs? &lt;BR /&gt;&lt;BR /&gt;Did you have a hardware path change? This may be why you are seeing a new path. Are all your disks visible that are listed in the mapfiles for each VG?&lt;BR /&gt;&lt;BR /&gt;Please elaborate.</description>
      <pubDate>Wed, 21 Jan 2004 16:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170252#M629358</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-21T16:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170253#M629359</link>
      <description>The issue is that I need to rebuild the volume group(s) .. since the restore didn't rebuild them .&lt;BR /&gt;&lt;BR /&gt;Found that pvdisplay couldn't identify the&lt;BR /&gt;physical volume or volume group&lt;BR /&gt;&lt;BR /&gt;physical volume "/dev/dsk/c2t12d0" belongs.                   &lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c2t12d0". &lt;BR /&gt;&lt;BR /&gt;Wanted to be sure the drive was present, thus ioscan .&lt;BR /&gt;&lt;BR /&gt;vcfgresotre was a sanity check.&lt;BR /&gt;&lt;BR /&gt;....... moving on .....&lt;BR /&gt;diskinfo on c2t2d0 and c2t12d0&lt;BR /&gt;both show can't open nodevice or address&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At this point also found the new&lt;BR /&gt;but seemly writeable c2t2d0.   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2004 16:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170253#M629359</guid>
      <dc:creator>John Warminski</dc:creator>
      <dc:date>2004-01-21T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170254#M629360</link>
      <description>c2t2d0 was not there before the restore.&lt;BR /&gt;c2t12d0 was the original device ....&lt;BR /&gt;( note creation date in ls )&lt;BR /&gt;&lt;BR /&gt;moving on ...&lt;BR /&gt;&lt;BR /&gt;dd fails on both devices .... think I'm going to call this a bad drive .</description>
      <pubDate>Wed, 21 Jan 2004 16:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170254#M629360</guid>
      <dc:creator>John Warminski</dc:creator>
      <dc:date>2004-01-21T16:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170255#M629361</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Did you change any scsi ids before you start restoring the OS?. Do you have a drive at the scsi id 2? &lt;BR /&gt;&lt;BR /&gt;Well. My inclination goes towards bad disk only. But the new disk that wasn't there before bothers me suspecting a conflict with your disk subsystem. What backend do you have?&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 21 Jan 2004 16:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170255#M629361</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-21T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170256#M629362</link>
      <description>It might be a bad drive. Check with 'stm' before you call the hardware support. Also, make sure that the device files are poitning to the correct device. Check and verify the disk's SCSI ID if accessible (ID 12 for c2t12d0). If you think you need to recreate the device files use 'insf -e'</description>
      <pubDate>Wed, 21 Jan 2004 16:52:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170256#M629362</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-01-21T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170257#M629363</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Have you checked any logs? I am sure there is an ignite log which will show why your ignite rebuild of your VGs failed...&lt;BR /&gt;&lt;BR /&gt;Does syslog.log show anything strange?&lt;BR /&gt;&lt;BR /&gt;You are surely in a restoral mode now. I would rebuild your VGs and restore from a good backup of your data.&lt;BR /&gt;&lt;BR /&gt;That seems to be all you can do now. Maybe create the VGS again and then run the ignite restoral again? That might work...not sure since the devices are different, but I think it shouldnt matter.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;I wish you had been able to create vgexport -s on your VGs so it wouldnt matter what the disk name is... -s assigns a VGID to the export and identifies the phsyical disks without regard to the device names. That would have made this very easy... &lt;BR /&gt;&lt;BR /&gt;I usu create these with vgexport -s -p -m...  so that I have copies of my config in a stable env.</description>
      <pubDate>Wed, 21 Jan 2004 17:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170257#M629363</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-21T17:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170258#M629364</link>
      <description>Made no scsi ID changes.&lt;BR /&gt;&lt;BR /&gt;Subsystem is an HP2896A wide-scsi on a Jamaica enclosure.&lt;BR /&gt;&lt;BR /&gt;Went ahead and did insf for the hardware path just in case ....&lt;BR /&gt;&lt;BR /&gt;dd fails .... diskinfo hangs, so I'm betting on the bad drive principle .&lt;BR /&gt;&lt;BR /&gt;As we say in Texas ya'll for the prompt reponses .&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2004 17:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170258#M629364</guid>
      <dc:creator>John Warminski</dc:creator>
      <dc:date>2004-01-21T17:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170259#M629365</link>
      <description>Again ... thanks so much .&lt;BR /&gt;&lt;BR /&gt;Ya'll are really quick so my replies are a little out of synch.&lt;BR /&gt;&lt;BR /&gt;Todd,&lt;BR /&gt;&lt;BR /&gt;In reply to your note and this sounds pretty stupid, where would I find the ignite log .... the syslog looks ok&lt;BR /&gt;&lt;BR /&gt;Generally do the vgexport, however, did it after the ignite tape was made ... since the whole adventure began because a vg00 drive died I didn't have a place to begin.</description>
      <pubDate>Wed, 21 Jan 2004 18:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170259#M629365</guid>
      <dc:creator>John Warminski</dc:creator>
      <dc:date>2004-01-21T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: VG problems following restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170260#M629366</link>
      <description>It usu would be under /var/opt/ignite I think... Im not logged in my boxes to check now.</description>
      <pubDate>Wed, 21 Jan 2004 19:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-problems-following-restore/m-p/3170260#M629366</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-21T19:25:23Z</dc:date>
    </item>
  </channel>
</rss>

