<?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: lv group missing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264387#M627433</link>
    <description>Repeat your dd command:&lt;BR /&gt;dd if=/dev/rdsk/c0t5d0 bs=64k of=/dev/null&lt;BR /&gt;&lt;BR /&gt;If it fails again that is a very strong indication that the disk is bad.&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Apr 2004 16:46:49 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-04-30T16:46:49Z</dc:date>
    <item>
      <title>lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264370#M627416</link>
      <description>Due to a power outage, one of the disks on my system is now shown as unused. This disk contained a LV volume (vg01) which is now inaccessable. I'd like to try to reconfigure this drive/lv, hopefully restoring to the original configuration (and data). I did save the lv config previously so I have that to reference. Can someone point me in the right direction so I don't screw this up. It's been a few years since I messed with LV configuration.  Thanks!</description>
      <pubDate>Fri, 30 Apr 2004 11:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264370#M627416</guid>
      <dc:creator>Robert S. Jackson</dc:creator>
      <dc:date>2004-04-30T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264371#M627417</link>
      <description>First do an ioscan -C disk -fn to make sure that you have a CLAIMED device and the the device nodes (e.g. /dev/dsk/c2t5d0) exist for it. If the device nodes do not exist then do an insf to create them.&lt;BR /&gt;&lt;BR /&gt;Next do a strings /etc/lvmtab to see if the disk is still in /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;If so then you should vgexport the VG.&lt;BR /&gt;&lt;BR /&gt;Next,&lt;BR /&gt;cd to /dev&lt;BR /&gt;mkdir vg01&lt;BR /&gt;cd vg01&lt;BR /&gt;mknod group c 64 0x010000&lt;BR /&gt;&lt;BR /&gt;But make certain that the minor device number 0x010000 is not is use by any other VG. If it is in use then choose another number.&lt;BR /&gt;&lt;BR /&gt;vgimport -v /dev/vg01 /dev/dsk/c2t5d0&lt;BR /&gt;&lt;BR /&gt;vgchange -y y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Now you should be able to mount your filesystem on /dev/vg01/lvol1 although an fsck will probably be required first.&lt;BR /&gt;&lt;BR /&gt;Man vgexport, vgimport, vgchange for details.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 11:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264371#M627417</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-30T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264372#M627418</link>
      <description>Couple of points:&lt;BR /&gt;&lt;BR /&gt;1) Check the disk for hardware errors (dd, stm)&lt;BR /&gt;&lt;BR /&gt;2) If the disk is okay, check if the LVM headers exists on the disk (vgscan, pvdisplay, vgdisplay)and in system (/etc/lvmtab). If yes, then you can vgimport the disk and see if you got the data in it.&lt;BR /&gt;&lt;BR /&gt;3) If not, do a 'vgcfgrestore' to this disk using vg01 lvmconf file from /etc (if that's the right copy). Then mount the file systems and restore the data.</description>
      <pubDate>Fri, 30 Apr 2004 11:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264372#M627418</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-04-30T11:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264373#M627419</link>
      <description>&lt;BR /&gt;SAM says the disk is unused ?. Then probably your LVM headers are corrupted. How about a vgcfgrestore ?&lt;BR /&gt;&lt;BR /&gt;# echo "0x2008?4D" | adb /dev/dsk/&lt;DEVICEFILE&gt;&lt;BR /&gt;&lt;BR /&gt;Execute the above command post the output&lt;BR /&gt;The output is of format&lt;BR /&gt;&lt;BR /&gt;2008:           &lt;HOSTID&gt;       &lt;PVID&gt;      &lt;HOSTID&gt;       &lt;VGID&gt;&lt;BR /&gt;&lt;BR /&gt;hostID - uname -i&lt;BR /&gt;&lt;BR /&gt;If the output doesnt make sense to you then you can try vgcfgrestore and hope the data is still intact&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vg01 /dev/rdsk/&lt;DEVICEFILE&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck :)&lt;/DEVICEFILE&gt;&lt;/VGID&gt;&lt;/HOSTID&gt;&lt;/PVID&gt;&lt;/HOSTID&gt;&lt;/DEVICEFILE&gt;</description>
      <pubDate>Fri, 30 Apr 2004 11:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264373#M627419</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-04-30T11:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264374#M627420</link>
      <description>I've reviewed the suggestions along with the manuals and I think I getting close to understanding what needs done.  I've attached some diagnosis information and notes.  Thanks in Advance for the assistance!</description>
      <pubDate>Fri, 30 Apr 2004 14:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264374#M627420</guid>
      <dc:creator>Robert S. Jackson</dc:creator>
      <dc:date>2004-04-30T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264375#M627421</link>
      <description>if you did a vgcfgrestore vgXX shouldnt that work? to restore the headers?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 14:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264375#M627421</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-30T14:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264376#M627422</link>
      <description>vgcfgrestore -n /dev/vg01 -l&lt;BR /&gt;&lt;BR /&gt;To check what is there in /etc/lvmconf/vg01.conf&lt;BR /&gt;&lt;BR /&gt;Then &lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 30 Apr 2004 14:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264376#M627422</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-30T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264377#M627423</link>
      <description>ran this...&lt;BR /&gt;# vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t5d0&lt;BR /&gt;vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 14:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264377#M627423</guid>
      <dc:creator>Robert S. Jackson</dc:creator>
      <dc:date>2004-04-30T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264378#M627424</link>
      <description>Restore from another disk hopefully from a mirror device...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Restore LVM configuration information stored for /dev/rdsk/c0t7d0 in&lt;BR /&gt;      default configuration file /etc/lvmconf/vg01.conf to physical volume&lt;BR /&gt;      /dev/rdsk/c0t6d0:&lt;BR /&gt;&lt;BR /&gt;           vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t7d0 /dev/rdsk/c0t6d0&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 15:04:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264378#M627424</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-30T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264379#M627425</link>
      <description>What following command gives??&lt;BR /&gt;&lt;BR /&gt;diskinfo -v /dev/rdsk/c0t5d0&lt;BR /&gt;dd if=/dev/rdsk/c0t5d0 of=/dev/null&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 30 Apr 2004 15:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264379#M627425</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-30T15:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264380#M627426</link>
      <description>Looks like the power outage took your disk drive with it. Have the hardware checked by an HP CE. Sometimes, even a disk shows up fine on ioscan output, it may have some problems.&lt;BR /&gt;&lt;BR /&gt;for a quick (maybe not so quick but quicker than waiting for the HP CE probably) and dirty check, you can run :&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/dsk/c0t5d0 of=/dev/null&lt;BR /&gt;&lt;BR /&gt;and see if this bums out somewhere before completing. If it succesfully completes, you should see something like that :&lt;BR /&gt;&lt;BR /&gt;4864+0 records in&lt;BR /&gt;4864+0 records out&lt;BR /&gt;&lt;BR /&gt;4864 number is replaced with a much higher one depending on the sizo of your disk drive. Large drives are known to take hours to complete this operation. Be forewarned. Ctrl-c breaks you out of it without any harm, if you want to.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 15:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264380#M627426</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-04-30T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264381#M627427</link>
      <description>Almost certainly you have a dead drive.</description>
      <pubDate>Fri, 30 Apr 2004 15:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264381#M627427</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-30T15:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264382#M627428</link>
      <description>It may be possible the disk is bad.  Does cstm show any errors on the disk.  Does any of the indicator lights on the disk show signs of a bad disk?  If do eventually get it back you might want to test it with a dd if=your disk device and of=/dev/null.  A power failure can definitely be hard on hardware.</description>
      <pubDate>Fri, 30 Apr 2004 15:11:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264382#M627428</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2004-04-30T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264383#M627429</link>
      <description>As I pointed out originally, you need to make sure that you have a working drive by checking it's hardware status first. Use 'dd' or 'stm' commands to check disk.&lt;BR /&gt;&lt;BR /&gt;If disk is bad, you need to replace it with a new one and continue with 'vgcfgrestore' command. Once VG information is restored, you can mount the file systems (after formatting with newfs) and then restore data.</description>
      <pubDate>Fri, 30 Apr 2004 15:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264383#M627429</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-04-30T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264384#M627430</link>
      <description>looks like a dead drive...&lt;BR /&gt;# dd if=/dev/rdsk/c0t5d0 of=/dev/null&lt;BR /&gt;dd read error: Invalid argument&lt;BR /&gt;0+0 records in&lt;BR /&gt;0+0 records out  &lt;BR /&gt;&lt;BR /&gt;# diskinfo -v /dev/rdsk/c0t5d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c0t5d0:&lt;BR /&gt;             vendor: SEAGATE&lt;BR /&gt;         product id: ST39173N&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 0 Kbytes&lt;BR /&gt;   bytes per sector: 0&lt;BR /&gt;          rev level: HP05&lt;BR /&gt;    blocks per disk: 0&lt;BR /&gt;        ISO version: 0&lt;BR /&gt;       ECMA version: 0&lt;BR /&gt;       ANSI version: 2&lt;BR /&gt;    removable media: no&lt;BR /&gt;    response format: 2&lt;BR /&gt;   (Additional inquiry bytes: (32)20 (33)20 ...</description>
      <pubDate>Fri, 30 Apr 2004 15:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264384#M627430</guid>
      <dc:creator>Robert S. Jackson</dc:creator>
      <dc:date>2004-04-30T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264385#M627431</link>
      <description>&lt;BR /&gt; I believe the drive has gone bad. What is the ioscan status for the drive ?</description>
      <pubDate>Fri, 30 Apr 2004 16:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264385#M627431</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-04-30T16:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264386#M627432</link>
      <description>Here are the ioscan results...&lt;BR /&gt;&lt;BR /&gt;# ioscan -C disk -fn&lt;BR /&gt;Class     I  H/W Path    Driver      S/W State H/W Type  Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      3  8/16/5.1.0  sdisk       CLAIMED   DEVICE    SEAGATE ST34573W&lt;BR /&gt;                        /dev/dsk/c0t1d0   /dev/rdsk/c0t1d0&lt;BR /&gt;disk      0  8/16/5.2.0  sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM XM-5701TA&lt;BR /&gt;                        /dev/dsk/c0t2d0   /dev/rdsk/c0t2d0&lt;BR /&gt;disk      1  8/16/5.5.0  sdisk       CLAIMED   DEVICE    SEAGATE ST39173N&lt;BR /&gt;                        /dev/dsk/c0t5d0   /dev/rdsk/c0t5d0&lt;BR /&gt;disk      2  8/16/5.6.0  sdisk       CLAIMED   DEVICE    SEAGATE ST39173N&lt;BR /&gt;                        /dev/dsk/c0t6d0   /dev/rdsk/c0t6d0&lt;BR /&gt;#</description>
      <pubDate>Fri, 30 Apr 2004 16:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264386#M627432</guid>
      <dc:creator>Robert S. Jackson</dc:creator>
      <dc:date>2004-04-30T16:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264387#M627433</link>
      <description>Repeat your dd command:&lt;BR /&gt;dd if=/dev/rdsk/c0t5d0 bs=64k of=/dev/null&lt;BR /&gt;&lt;BR /&gt;If it fails again that is a very strong indication that the disk is bad.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 16:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264387#M627433</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-30T16:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264388#M627434</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;dd takes the block device as if not the raw device. repeat your command with /dsk/ instead of /rdsk/.&lt;BR /&gt;&lt;BR /&gt;if that one also returns 0+0 bytes, then you can be sure that there is something wrong with the drive.</description>
      <pubDate>Fri, 30 Apr 2004 17:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264388#M627434</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-04-30T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: lv group missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264389#M627435</link>
      <description>sorry I stand corrected, rdsk also works fine if the drive is good. this is sounding more and more like a bad hardware.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 17:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-group-missing/m-p/3264389#M627435</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-04-30T17:05:15Z</dc:date>
    </item>
  </channel>
</rss>

