<?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 issues kernel not updated, can't lock the new device. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889110#M25807</link>
    <description>Device files are not created in /dev/mapper&lt;BR /&gt;&lt;BR /&gt;I want to force that process.&lt;BR /&gt;&lt;BR /&gt;fdisk warned.&lt;BR /&gt;&lt;BR /&gt;WARNING: Re-reading the partition table failed with error 16: Device or resource busy.&lt;BR /&gt;The kernel still uses the old table.&lt;BR /&gt;The new table will be used at the next reboot.&lt;BR /&gt;&lt;BR /&gt;partprobe did not help.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 30 Oct 2006 11:04:06 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-10-30T11:04:06Z</dc:date>
    <item>
      <title>lvm issues kernel not updated, can't lock the new device.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889109#M25806</link>
      <description>RH 4.4 RHCS 4.4 GFS with clvmd&lt;BR /&gt;stock smp kernel&lt;BR /&gt;I use fdisk to create a new partition on shared storage.&lt;BR /&gt;fdisk reports that the kernel is not updated.&lt;BR /&gt;&lt;BR /&gt;No problem right, just run partprobe.&lt;BR /&gt;&lt;BR /&gt;Partprobe does nothing.&lt;BR /&gt;&lt;BR /&gt;lvcreate does an error:&lt;BR /&gt;pvcreate works without protest&lt;BR /&gt;vgcreate works without protest.&lt;BR /&gt;lvcreate -L +1G vgsep&lt;BR /&gt;&lt;BR /&gt; Error locking on node golan2: Internal lvm error, check syslog&lt;BR /&gt;  Failed to activate new LV.&lt;BR /&gt;&lt;BR /&gt;This is what the lvscan looks like:&lt;BR /&gt;&lt;BR /&gt;  inactive          '/dev/vgsep/lvol0' [1.00 GB] inherit&lt;BR /&gt;  inactive          '/dev/vgsep/lvol1' [1.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vgsch/lvol0' [1.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vgssr/lvol0' [1.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vg00/vg00' [4.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vg00/lvol4' [1.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vg00/lvol3' [4.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vg00/lvol5' [4.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/vg00/lv02' [8.00 GB] inherit&lt;BR /&gt;&lt;BR /&gt;If I boot the logical volumes are marked ACTIVE and all is well.&lt;BR /&gt;&lt;BR /&gt;The issue is I'm trying to help with quality control on a script that creates the partitions, volume groups and logical volumes. We dont want to reboot because the script loses control. Yes we could script it to finish after boot but thats disruptive. &lt;BR /&gt;&lt;BR /&gt;How do I kick the kernel in the can and get it to accept the update?&lt;BR /&gt;&lt;BR /&gt;What I've tried:&lt;BR /&gt;pvscan&lt;BR /&gt;re-running fdisk&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Oct 2006 10:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889109#M25806</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-30T10:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvm issues kernel not updated, can't lock the new device.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889110#M25807</link>
      <description>Device files are not created in /dev/mapper&lt;BR /&gt;&lt;BR /&gt;I want to force that process.&lt;BR /&gt;&lt;BR /&gt;fdisk warned.&lt;BR /&gt;&lt;BR /&gt;WARNING: Re-reading the partition table failed with error 16: Device or resource busy.&lt;BR /&gt;The kernel still uses the old table.&lt;BR /&gt;The new table will be used at the next reboot.&lt;BR /&gt;&lt;BR /&gt;partprobe did not help.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Oct 2006 11:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889110#M25807</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-30T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvm issues kernel not updated, can't lock the new device.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889111#M25808</link>
      <description>Update:&lt;BR /&gt;&lt;BR /&gt;The error from fdisk can be avoided by not mounting anything on the shared storage until completion of fdisk.  This apparently triggers the bug.&lt;BR /&gt;&lt;BR /&gt;Once the bug has occurred the kernel can't lock the lvm and we're pretty much done.&lt;BR /&gt;&lt;BR /&gt;Testing the following plan.&lt;BR /&gt;&lt;BR /&gt;Complete all fdisk work, which totally breaks the script I'm doing Q&amp;amp;A on and then see how well partitioning works after that.&lt;BR /&gt;&lt;BR /&gt;Have confirmed the problem does not occur under non-lvm.&lt;BR /&gt;&lt;BR /&gt;Update shortly.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Oct 2006 13:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889111#M25808</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-30T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: lvm issues kernel not updated, can't lock the new device.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889112#M25809</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This is clearly an lvm/clvmd issue.&lt;BR /&gt;&lt;BR /&gt;If you do parted/fdisk work all at once instead of sequentially like the script does it works out nicely.&lt;BR /&gt;&lt;BR /&gt;Once you trigger a failed kernel read of the partition table you are done.&lt;BR /&gt;&lt;BR /&gt;This being a clustered installation we can't just upgrade the kernel because this has been proven to destroy clustering functionality, especially on DL380 servers.&lt;BR /&gt;&lt;BR /&gt;I see no patches available either.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Oct 2006 14:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-issues-kernel-not-updated-can-t-lock-the-new-device/m-p/3889112#M25809</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-30T14:30:17Z</dc:date>
    </item>
  </channel>
</rss>

