<?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: Problem in LVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269162#M548434</link>
    <description>Looks like something went wrong when you removed the old volume group. Have you examined the output from "strings /etc/lvmtab" to see if the old VG and/or the disk are still present?</description>
    <pubDate>Tue, 11 Jan 2011 11:22:15 GMT</pubDate>
    <dc:creator>Joachim Noffke</dc:creator>
    <dc:date>2011-01-11T11:22:15Z</dc:date>
    <item>
      <title>Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269157#M548429</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;We have connected one MSA30 (Toal of 14 Disks, 136GB of capacity each) in one of the server and when we try to add a disk into the VG it is giving error, already this PV was participating in one of the VG and we have removed that VG.&lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c15t15d0&lt;BR /&gt;pvcreate: The physical volume already belongs to a volume group&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c15t15d0&lt;BR /&gt;pvcreate: writing LVM record: Permission denied&lt;BR /&gt;&lt;BR /&gt;# pvremove /dev/rdsk/c15t15d0&lt;BR /&gt;pvremove: The physical volume "/dev/rdsk/c15t15d0" belongs to an exported volume group.&lt;BR /&gt;pvremove: Couldn't remove physical volume "/dev/rdsk/c15t15d0".&lt;BR /&gt;&lt;BR /&gt;# vgextend vgbkp1 /dev/dsk/c15t15d0&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c15t15d0".&lt;BR /&gt;Device busy&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;How it can be resolved, Please suggest.&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh</description>
      <pubDate>Tue, 11 Jan 2011 04:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269157#M548429</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-11T04:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269158#M548430</link>
      <description>Is this a cluster environment?</description>
      <pubDate>Tue, 11 Jan 2011 06:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269158#M548430</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-11T06:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269159#M548431</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is not in cluster environment&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh.</description>
      <pubDate>Tue, 11 Jan 2011 06:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269159#M548431</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-11T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269160#M548432</link>
      <description>What's the output of pvdisplay /dev/dsk/c15t15d0 ?</description>
      <pubDate>Tue, 11 Jan 2011 09:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269160#M548432</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2011-01-11T09:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269161#M548433</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here is the pvdisplay output&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c15t15d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c15t15d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c15t15d0".&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh.</description>
      <pubDate>Tue, 11 Jan 2011 09:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269161#M548433</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-11T09:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269162#M548434</link>
      <description>Looks like something went wrong when you removed the old volume group. Have you examined the output from "strings /etc/lvmtab" to see if the old VG and/or the disk are still present?</description>
      <pubDate>Tue, 11 Jan 2011 11:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269162#M548434</guid>
      <dc:creator>Joachim Noffke</dc:creator>
      <dc:date>2011-01-11T11:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269163#M548435</link>
      <description>Hello Suresh !!&lt;BR /&gt;&lt;BR /&gt;you may run vgscan -a -v -p ( preview mode )&lt;BR /&gt;and check if there are some inconsistencies&lt;BR /&gt;with the VGs you want.&lt;BR /&gt;&lt;BR /&gt;These disk have the VGID /PVID associated with the previous volume group.&lt;BR /&gt;&lt;BR /&gt;Depends how you removed that VG , just exported it or destroyed it completely step by step.&lt;BR /&gt;&lt;BR /&gt;The way you did may help in solving it further.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Manix&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 11:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269163#M548435</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-11T11:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269164#M548436</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;the strings /etc/lvmtab doesn't give that particular PV information &lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/eap3&lt;BR /&gt;dL3)&lt;BR /&gt;/dev/dsk/c3t14d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c3t13d0&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/disk/disk37_p2&lt;BR /&gt;/dev/dsk/c2t6d0s2&lt;BR /&gt;/dev/vgbkp1&lt;BR /&gt;/dev/dsk/c15t0d0&lt;BR /&gt;/dev/dsk/c15t9d0&lt;BR /&gt;/dev/dsk/c15t1d0&lt;BR /&gt;/dev/dsk/c15t2d0&lt;BR /&gt;/dev/dsk/c15t3d0&lt;BR /&gt;/dev/dsk/c15t4d0&lt;BR /&gt;/dev/dsk/c15t5d0&lt;BR /&gt;/dev/dsk/c15t8d0&lt;BR /&gt;/dev/dsk/c15t10d0&lt;BR /&gt;/dev/dsk/c15t11d0&lt;BR /&gt;/dev/dsk/c15t12d0&lt;BR /&gt;/dev/dsk/c15t13d0&lt;BR /&gt;/dev/dsk/c15t14d0&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh.</description>
      <pubDate>Tue, 11 Jan 2011 11:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269164#M548436</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-11T11:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269165#M548437</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;here is the vgscan with preview mode as attachment&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c15t15d0&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh.&lt;BR /&gt;&lt;BR /&gt;PS: we have removed the VG in a proper manner as below.&lt;BR /&gt;&lt;BR /&gt;lvremove&lt;BR /&gt;vgreduce&lt;BR /&gt;vgremove</description>
      <pubDate>Tue, 11 Jan 2011 12:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269165#M548437</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-11T12:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269166#M548438</link>
      <description>so this PV is not claimed in vgscan /lvmtab&lt;BR /&gt;.This may confirm that its not a part of existing VG ..&amp;amp; i guess this is not a alternate link as shown in "vgdisplay -v |grep -i 'PV Name' &lt;BR /&gt;&lt;BR /&gt;Then we may run dd command to remove the disk headers and create PVs again.&lt;BR /&gt;&lt;BR /&gt;Give it a go !!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 12:12:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269166#M548438</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-11T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269167#M548439</link>
      <description>Hey !! &lt;BR /&gt;&lt;BR /&gt;Please ignore the previous post as i haven`t seen the file which you just attached.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Manix</description>
      <pubDate>Tue, 11 Jan 2011 12:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269167#M548439</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-11T12:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269168#M548440</link>
      <description>Looking at the output we may see that there are no of LUNS which belongs or belonged to other VGS , possibly this MSA was used else where.&lt;BR /&gt;&lt;BR /&gt;The best way would be to recover these VGS and destroy them ,step wise&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg11&lt;BR /&gt;# mknod /dev/vg11/group c 64 0x010011&lt;BR /&gt;#vgimport -v /dev/vg01 /dev/dsk/c0t1d0 /dev/dsk/c0t3d0 &lt;BR /&gt;&lt;BR /&gt;then destroy as you did earlier.&lt;BR /&gt;lvdestroy, vgreduce , vgdestroy, pvremove.&lt;BR /&gt;&lt;BR /&gt;Looks this MSA has good lot`s of things.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Manix&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 12:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269168#M548440</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-11T12:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269169#M548441</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First of all "PLS ASSIGN POINTS"  to ones who are helping and spending some time for you !!!&lt;BR /&gt;&lt;BR /&gt;While coming to the issue.&lt;BR /&gt;&lt;BR /&gt;As maxin explained  the Disks can be used for some other Vgs.&lt;BR /&gt;So if you are sure that these PVs are no more in use in any system.&lt;BR /&gt;&lt;BR /&gt;Pls do Vgscan again.&lt;BR /&gt;&lt;BR /&gt;still errors are existing  find out whether the disks are having parallel conection to any other boxes?&lt;BR /&gt;&lt;BR /&gt;is it possible to have a reboot?  if vgscan fails to solve the issue?&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Sree</description>
      <pubDate>Tue, 11 Jan 2011 12:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269169#M548441</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-11T12:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269170#M548442</link>
      <description>IF you are absolutely sure the disks in your MSA30 are fully free (regardless of however they were previously used), then do the following for EACH disk:&lt;BR /&gt;&lt;BR /&gt;dd id=/dev/zero of=/dev/rdsk/cXtYdZ bs=1024k count=100&lt;BR /&gt;&lt;BR /&gt;That WILL effectively wipeout remnants of any configuration - LVM/VxVM/filesystem,etc -- so you can smoothly use them under LVM (pvcreate) or VxVM (vxdisksetup)&lt;BR /&gt;&lt;BR /&gt;Hope this helps you Babu.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 14:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269170#M548442</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2011-01-11T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269171#M548443</link>
      <description>A couple of things concern me here that should be clarified BEFORE you do anything. You have a lot of output from vgscan that shows devices that are not correctly removed from service. If you do as you say, lvreduce, lvremove, vgreduce vgremove...you should not get the warnings from vgscan that states so many disks belong to a volume group. The LVM information is removed when you follow the correct proces.&lt;BR /&gt;&lt;BR /&gt;As one suggested, I would follow the process of importing a VG (mkdir, mknod, vgimport, vgchange, mount) on the disk in question (c15t15d0) and find out what it is. When the device busy message comes up and you're certain you are not using it on this server, it makes me think they are utilized on another server. Find out what it is. If you still get the "device busy" errors I would verify with any other server that is connected to that array.&lt;BR /&gt;&lt;BR /&gt;Check the output of /usr/contrib/bin/inq if it exists as sometimes they give device serial numbers. Check this number from the other servers that might be attached to the array.&lt;BR /&gt;&lt;BR /&gt;Try getting some data off the device (dd if=/dev/dsk/c15t15d0 of=/tmp/output count=1000) See what's in the output. &lt;BR /&gt;&lt;BR /&gt;Above all, be certain that anything destructive, (pvcreate -f, dd is done after all possible checking is done).</description>
      <pubDate>Thu, 13 Jan 2011 15:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269171#M548443</guid>
      <dc:creator>Jeff Gyurko</dc:creator>
      <dc:date>2011-01-13T15:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269172#M548444</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone and the problem got resolved after replacing the disk.&lt;BR /&gt;&lt;BR /&gt;Warm Regards&lt;BR /&gt;Suresh</description>
      <pubDate>Thu, 13 Jan 2011 15:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269172#M548444</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-13T15:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269173#M548445</link>
      <description>If yer sure that MSA30 all have reusable drives,&lt;BR /&gt;&lt;BR /&gt;If yer sure your cXtYdZ's you intending to use to carve a new VG point to disks in that SCSI enclosure/array,&lt;BR /&gt;&lt;BR /&gt;Just simply follow the "dd" trickology above and get on your way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2011 15:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269173#M548445</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2011-01-13T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269174#M548446</link>
      <description>It started working after replacing the disk</description>
      <pubDate>Thu, 13 Jan 2011 16:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-lvm/m-p/5269174#M548446</guid>
      <dc:creator>Suresh Babu G</dc:creator>
      <dc:date>2011-01-13T16:00:17Z</dc:date>
    </item>
  </channel>
</rss>

