<?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: Root disk LVM problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282889#M534396</link>
    <description>There are no stale extents in the remaining vg00 lvols since I removed lvol5 after the system rebooted.&lt;BR /&gt;&lt;BR /&gt;I just removed the SAN LUN, which shouldn't have been in vg00 to begin with.  All the extents on that PV were showing free.&lt;BR /&gt;&lt;BR /&gt;The warnings may give a clue as to what is wrong.&lt;BR /&gt;&lt;BR /&gt;   00023 free                        00000&lt;BR /&gt;   00024 free                        00000&lt;BR /&gt;# vgreduce vg00 /dev/dsk/c16t13d7  /dev/dsk/c18t13d7&lt;BR /&gt;vgreduce: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgreduce: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;Device file path "/dev/dsk/c16t13d7" is an primary link.&lt;BR /&gt;Removing primary link and switching to an alternate link.&lt;BR /&gt;Device file path "/dev/dsk/c18t13d7" is an alternate path.&lt;BR /&gt;Volume group "vg00" has been successfully reduced.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 1 disks for "/dev/vg00"; /etc/lvmta                 b has 2 disks.&lt;BR /&gt;Cannot proceed with backup.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 23 May 2011 16:50:33 GMT</pubDate>
    <dc:creator>Tom Ward_1</dc:creator>
    <dc:date>2011-05-23T16:50:33Z</dc:date>
    <item>
      <title>Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282884#M534391</link>
      <description>I have a rp3440 that had three disks in vg00.&lt;BR /&gt;c2t0d0, c2t2d0 and a SAN LUN c16t13d7.  The OS was mirrored between the two local disks.  This server doesn't follow typical vg00 layout.  &lt;BR /&gt;&lt;BR /&gt;The local disk has&lt;BR /&gt;lvol1 is stand&lt;BR /&gt;lvol2 is swap&lt;BR /&gt;lvol3 is /&lt;BR /&gt;lvol4 is /home&lt;BR /&gt;&lt;BR /&gt;lvol5 is /u01 and is on the SAN LUN, but someone took a really bad shortcut and expanded lvol5 onto the main OS disk, c2t0d0.&lt;BR /&gt;&lt;BR /&gt;c2t0d0 failed. /u01 never went unavailable, but we started getting a lot of SCSI errors and any commands that hit the part on c2t0d0 would hang.&lt;BR /&gt;&lt;BR /&gt;I was able to reduce c2t0d0 from everything but lvol5.&lt;BR /&gt;&lt;BR /&gt;I made a new VG and LV,  restored /u01 to that and updated /etc/fstab to use the new /u01.&lt;BR /&gt;&lt;BR /&gt;I tried to shutdown to replace the problem disk, but shutdown hung at unmount file systems.  Eventually I did a TOC and swapped the disk.  The system booted up fine and is using the new /u01.&lt;BR /&gt;&lt;BR /&gt;Now my problem.  vg00 doesn't show the disk with a vgdisplay, but the disk shows up in /etc/lvmtab.  My attempts to reduce the disk out fail.&lt;BR /&gt;&lt;BR /&gt;I've tried saving a copy of the lvmtab and rebuilding it with vgscan -v, but c2t0d0 doesn't come out.</description>
      <pubDate>Mon, 23 May 2011 16:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282884#M534391</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2011-05-23T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282885#M534392</link>
      <description>Hi Tom,&lt;BR /&gt;could you explain how you created the new vg?&lt;BR /&gt;&lt;BR /&gt;and:&lt;BR /&gt;ioscan -fnCdisk&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;vgdisplay vgXX&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v someLvol&lt;BR /&gt;pvdisplay disk.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;EFS</description>
      <pubDate>Mon, 23 May 2011 16:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282885#M534392</guid>
      <dc:creator>Fraga</dc:creator>
      <dc:date>2011-05-23T16:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282886#M534393</link>
      <description>I saw just now your attachment.</description>
      <pubDate>Mon, 23 May 2011 16:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282886#M534393</guid>
      <dc:creator>Fraga</dc:creator>
      <dc:date>2011-05-23T16:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282887#M534394</link>
      <description>The problem is your mirror.&lt;BR /&gt;#lvdisplay -v -k /dev/vg00/lvolY&lt;BR /&gt;&lt;BR /&gt;You need reduce it, for example:&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v -k /dev/vg00/lvolY&lt;BR /&gt;...&lt;BR /&gt;--- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000      0             01094 stale         1             01094 current&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 -k /dev/vg00/lvolY 0   ;where 0 = PV with status stale</description>
      <pubDate>Mon, 23 May 2011 16:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282887#M534394</guid>
      <dc:creator>Fraga</dc:creator>
      <dc:date>2011-05-23T16:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282888#M534395</link>
      <description>Hello EFS,&lt;BR /&gt;&lt;BR /&gt;There was another unused 72GB local disk c3t2d0.  I used that to make vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgcreate -s 16 vg01 /dev/dsk/c3t2d0&lt;BR /&gt;# vgdisplay -v /dev/vg01&lt;BR /&gt;# lvcreate -l 1736  /dev/vg01&lt;BR /&gt;# lvdisplay /dev/vg01/lvol1&lt;BR /&gt;# newfs -F vxfs -o largefile /dev/vg01/rlvol1&lt;BR /&gt;&lt;BR /&gt;Mount /dev/vg01/lvol1 as /u01_new&lt;BR /&gt;# mkdir /u01_new&lt;BR /&gt;# mount /dev/vg01/lvol1 /u01_new&lt;BR /&gt;&lt;BR /&gt;Also following the reboot I removed the original vg00/lvol5.&lt;BR /&gt;&lt;BR /&gt;# lvremove -f /dev/vg00/lvol5&lt;BR /&gt;lvremove: Couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;Current path "/dev/dsk/c18t13d7" is an alternate link, skip.&lt;BR /&gt;Logical volume "/dev/vg00/lvol5" has been successfully removed.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2011 16:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282888#M534395</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2011-05-23T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282889#M534396</link>
      <description>There are no stale extents in the remaining vg00 lvols since I removed lvol5 after the system rebooted.&lt;BR /&gt;&lt;BR /&gt;I just removed the SAN LUN, which shouldn't have been in vg00 to begin with.  All the extents on that PV were showing free.&lt;BR /&gt;&lt;BR /&gt;The warnings may give a clue as to what is wrong.&lt;BR /&gt;&lt;BR /&gt;   00023 free                        00000&lt;BR /&gt;   00024 free                        00000&lt;BR /&gt;# vgreduce vg00 /dev/dsk/c16t13d7  /dev/dsk/c18t13d7&lt;BR /&gt;vgreduce: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgreduce: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;Device file path "/dev/dsk/c16t13d7" is an primary link.&lt;BR /&gt;Removing primary link and switching to an alternate link.&lt;BR /&gt;Device file path "/dev/dsk/c18t13d7" is an alternate path.&lt;BR /&gt;Volume group "vg00" has been successfully reduced.&lt;BR /&gt;lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;lvlnboot: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "/dev/dsk/c2t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 1 disks for "/dev/vg00"; /etc/lvmta                 b has 2 disks.&lt;BR /&gt;Cannot proceed with backup.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2011 16:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282889#M534396</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2011-05-23T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk LVM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282890#M534397</link>
      <description>After I removed the SAN LUN from vg00 the lvmtab updated to show only the one local disk in vg00.  I was then able to re-add the other local disk to vg00 using the procedure in Appendix D of When Good Disks Go Bad.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2011 18:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-lvm-problem/m-p/5282890#M534397</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2011-05-23T18:42:21Z</dc:date>
    </item>
  </channel>
</rss>

