<?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   Traces of old disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684885#M42110</link>
    <description>Sorry Matt...but If you notice , I have already tried this ...See above.&lt;BR /&gt;&lt;BR /&gt;So it looks like this problem is gona be there for sometime........... Thanx anyws...U get your share.</description>
    <pubDate>Thu, 09 Sep 2010 12:38:56 GMT</pubDate>
    <dc:creator>admin1979</dc:creator>
    <dc:date>2010-09-09T12:38:56Z</dc:date>
    <item>
      <title>LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684872#M42097</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We have a SLES 10 version. Recently one of the disks out of RAID 0 got failed. (sdb1) . Which had 2 disks /dev/sdb1 &amp;amp; /dev/sdc1&lt;BR /&gt;We have replaced the faulty disk of bigger size.  Which is now /dev/sdd1.&lt;BR /&gt;But the problem is whenever we run pvdisplay or vgdisplay , we get &lt;BR /&gt;&lt;BR /&gt;# pvdisplay&lt;BR /&gt;&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;&lt;BR /&gt;  --- Physical volume ---&lt;BR /&gt;  PV Name               /dev/sdd1&lt;BR /&gt;  VG Name               data&lt;BR /&gt;  PV Size               68.36 GB / not usable 0&lt;BR /&gt;  Allocatable           yes&lt;BR /&gt;  PE Size (KByte)       4096&lt;BR /&gt;  Total PE              17500&lt;BR /&gt;  Free PE               7260&lt;BR /&gt;  Allocated PE          10240&lt;BR /&gt;  PV UUID               qRZIwB-zs6I-klfc-BpL6-MTQ4-tu4J-8ME0iy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So the problem is , the /dev/sdb1 read failed error occurs.&lt;BR /&gt;&lt;BR /&gt;I have already tried,&lt;BR /&gt;&lt;BR /&gt;pvremove /dev/sdb1 but it says ,&lt;BR /&gt;&lt;BR /&gt;# pvremove /dev/sdb1&lt;BR /&gt;&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  No physical volume label read from /dev/sdb1&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Labels on physical volume "/dev/sdb1" successfully wiped&lt;BR /&gt;&lt;BR /&gt;So how to remove the traces of the failed/removed disk /dev/sdb1 ??&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 05:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684872#M42097</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T05:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684873#M42098</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you really want to remove the entry have you also tried pvremove -f /dev/sdb1  ??&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 11:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684873#M42098</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2010-09-09T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684874#M42099</link>
      <description>No use !!&lt;BR /&gt;&lt;BR /&gt;# pvremove -f /dev/sdb1&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  No physical volume label read from /dev/sdb1&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Labels on physical volume "/dev/sdb1" successfully wiped&lt;BR /&gt;&lt;BR /&gt;# pvdisplay&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  --- Physical volume ---&lt;BR /&gt;  PV Name               /dev/sdd1&lt;BR /&gt;  VG Name               data&lt;BR /&gt;  PV Size               68.36 GB / not usable 0&lt;BR /&gt;  Allocatable           yes&lt;BR /&gt;  PE Size (KByte)       4096&lt;BR /&gt;  Total PE              17500&lt;BR /&gt;  Free PE               7260&lt;BR /&gt;  Allocated PE          10240&lt;BR /&gt;  PV UUID               qRZIwB-zs6I-klfc-BpL6-MTQ4-tu4J-8ME0iy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 11:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684874#M42099</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T11:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684875#M42100</link>
      <description>did u try vgreduce before pvremove?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt</description>
      <pubDate>Thu, 09 Sep 2010 11:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684875#M42100</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2010-09-09T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684876#M42101</link>
      <description>No i have not tried vgreduce yet.</description>
      <pubDate>Thu, 09 Sep 2010 11:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684876#M42101</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T11:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684877#M42102</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;see this post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1284100" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1284100&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for how to use vgreduce on failed disks&lt;BR /&gt;&lt;BR /&gt;hope that helps&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:01:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684877#M42102</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2010-09-09T12:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684878#M42103</link>
      <description>Are you suggesting,&lt;BR /&gt;&lt;BR /&gt;vgreduce --test --removemissing ??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684878#M42103</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684879#M42104</link>
      <description>That post is wrt HP. &lt;BR /&gt;&lt;BR /&gt;the suggestion in that post is to run&lt;BR /&gt;&lt;BR /&gt;vgreduce -l vg pv&lt;BR /&gt;&lt;BR /&gt;but i did not find the -l parameter in man vgreduce.&lt;BR /&gt;&lt;BR /&gt;Btw I tried below command. But no help.&lt;BR /&gt;&lt;BR /&gt;# vgreduce  --removemissing data&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Volume group "data" is already consistent</description>
      <pubDate>Thu, 09 Sep 2010 12:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684879#M42104</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684880#M42105</link>
      <description>I tried this as well now,&lt;BR /&gt;&lt;BR /&gt;# vgreduce data /dev/sdb1&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Physical Volume "/dev/sdb1" not found in Volume Group "data"&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684880#M42105</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684881#M42106</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the approach you now take really depends on the order you may have executed LVM commands up to this point.&lt;BR /&gt;&lt;BR /&gt;I would try several things:&lt;BR /&gt;make sure you have a full backup&lt;BR /&gt;make sure you have a backup of vgcfg and lvmtab&lt;BR /&gt;&lt;BR /&gt;run the few commands at the bottom of this post, which explains better than I can the sort of issues you can have if you get it wrong :-)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bisqwit.iki.fi/story/howto/undopvremove/" target="_blank"&gt;http://bisqwit.iki.fi/story/howto/undopvremove/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Go down to where it says 'problem averted'&lt;BR /&gt;key points are:&lt;BR /&gt;&lt;BR /&gt;pvs (see if your failed disk is listed here) - please let me know&lt;BR /&gt;vgreduce &lt;VOLGRP&gt; &lt;YOURFAILEDDISK&gt;&lt;BR /&gt;&lt;BR /&gt;pvremove &lt;YOURFAILEDDISK&gt;&lt;BR /&gt;&lt;BR /&gt;run pvs again and see if your failed disk is no longer listed.&lt;BR /&gt;&lt;BR /&gt;This has worked for me in the past&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/YOURFAILEDDISK&gt;&lt;/YOURFAILEDDISK&gt;&lt;/VOLGRP&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684881#M42106</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2010-09-09T12:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684882#M42107</link>
      <description>&lt;BR /&gt;# pvs&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  PV         VG     Fmt  Attr PSize   PFree&lt;BR /&gt;  /dev/sda4  system lvm2 a-   112.52G 51.52G&lt;BR /&gt;  /dev/sdd1  data   lvm2 a-    68.36G 28.36G&lt;BR /&gt;&lt;BR /&gt;# vgreduce data /dev/sdb1&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Physical Volume "/dev/sdb1" not found in Volume Group "data"&lt;BR /&gt;&lt;BR /&gt;# pvremove /dev/sdb1&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  No physical volume label read from /dev/sdb1&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Labels on physical volume "/dev/sdb1" successfully wiped&lt;BR /&gt;&lt;BR /&gt;# pvs&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  PV         VG     Fmt  Attr PSize   PFree&lt;BR /&gt;  /dev/sda4  system lvm2 a-   112.52G 51.52G&lt;BR /&gt;  /dev/sdd1  data   lvm2 a-    68.36G 28.36G&lt;BR /&gt;#&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684882#M42107</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684883#M42108</link>
      <description>Referring to your link,&lt;BR /&gt;&lt;BR /&gt;Tried this as well with no luck,&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore data&lt;BR /&gt;  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error&lt;BR /&gt;  Restored volume group data&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684883#M42108</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684884#M42109</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;vgreduce --removemissing &lt;VOLGROUP&gt; --test&lt;BR /&gt;&lt;BR /&gt;Note that this will also remove any logical volumes that were using the missing physical volume. You can run it with --test first to see what effect it will have. &lt;BR /&gt;&lt;BR /&gt;thats about as far as I can get&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/VOLGROUP&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684884#M42109</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2010-09-09T12:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684885#M42110</link>
      <description>Sorry Matt...but If you notice , I have already tried this ...See above.&lt;BR /&gt;&lt;BR /&gt;So it looks like this problem is gona be there for sometime........... Thanx anyws...U get your share.</description>
      <pubDate>Thu, 09 Sep 2010 12:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684885#M42110</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-09T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: LVM   Traces of old disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684886#M42111</link>
      <description>Your LVM does not seem to be under the impression that there is something on /dev/sdb1. Since it was a RAID 0 component disk, I assume you had to fully re-create the VG and restore the data from backups.&lt;BR /&gt;&lt;BR /&gt;The commands like "pvs" or "pvdisplay" without arguments will display error messages about /dev/sdb1 because they will probe *all* the disks kernel knows about. So the problem is that the kernel has not been told that /dev/sdb is completely and irrevocably gone. (When a disk device just vanishes while the system is running, the kernel holds the device name in case the disk comes back later.)&lt;BR /&gt;&lt;BR /&gt;Booting the system should certainly fix it, but there's an easier way to tell the kernel that a particular disk device is gone and won't come back:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/sdb/device/delete&lt;BR /&gt;&lt;BR /&gt;This should stop the error messages from tools like "pvdisplay" or "pvs".&lt;BR /&gt;&lt;BR /&gt;On SLES, there might also be some files related to persistent device naming in /etc/udev/rules.d/ directory. If I recall correctly, there is one file that includes some physical identifier of each disk (like a WWID or a serial number) and the assigned device name, like "sdb". &lt;BR /&gt;&lt;BR /&gt;If you want to allow the name /dev/sdb to be reassigned to some future disk, you may have to remove the current association. But if you don't care about it, you don't have to do it.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 10 Sep 2010 17:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvm-traces-of-old-disk/m-p/4684886#M42111</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-09-10T17:19:29Z</dc:date>
    </item>
  </channel>
</rss>

