<?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: Converting existing LVM install to LVM on md devices in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960733#M27401</link>
    <description>Shalom from Chicago Tony,&lt;BR /&gt;&lt;BR /&gt;If you have the disk space.&lt;BR /&gt;&lt;BR /&gt;pvcreate &lt;BR /&gt;vgcreate&lt;BR /&gt;lvcreate&lt;BR /&gt;&lt;BR /&gt;Then use dd to copy the current data to the new logical volumes.&lt;BR /&gt;&lt;BR /&gt;Test mount as well.&lt;BR /&gt;&lt;BR /&gt;Then modify /etc/fstab&lt;BR /&gt;&lt;BR /&gt;You have converted to LVM.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 13 Mar 2007 09:08:44 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-03-13T09:08:44Z</dc:date>
    <item>
      <title>Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960730#M27398</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I've got a machine (which I've replicated onto a VM) which is installed as follows:&lt;BR /&gt;&lt;BR /&gt;sda1 (/boot)&lt;BR /&gt;sda2 (PV)&lt;BR /&gt;VolGroup00&lt;BR /&gt;LogVol00(swap)&lt;BR /&gt;LogVol01(/)&lt;BR /&gt;LogVol02(var)&lt;BR /&gt;&lt;BR /&gt;All working fine. I have another disk (sdb) that I want to partition the same, create md raid1 devices and put LVM on top of. I've so far been following the advice in this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1093327" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1093327&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All seems fine, create the md's, lvm stuff, copy the data BUT, when I come to boot it see's my new volume group (vgroot) but doesn't see any logical volumes and then panics!&lt;BR /&gt;&lt;BR /&gt;As a test, I've made sure that I can do half the conversion and boot off the raid devices on the second disk (i.e / = /dev/md1, /boot = /dev/md0). Plus, I know LVM is loading @ boot as I'm currently booting off lv's from sda!! Any thoughts?&lt;BR /&gt;&lt;BR /&gt;I've now tried another install on normal slices and attempted to convert the second disk and boot onto lvm and now it won't see any LVM info at boot!&lt;BR /&gt;&lt;BR /&gt;Yours hopefully,&lt;BR /&gt;&lt;BR /&gt;Tony&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2007 07:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960730#M27398</guid>
      <dc:creator>Tony Walker_2</dc:creator>
      <dc:date>2007-03-13T07:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960731#M27399</link>
      <description>I've done a similar thing recently and encountered some problems as well. They were generally related to my initrd (first an lvm issue, then a raid one).&lt;BR /&gt;&lt;BR /&gt;Are you using the nice lvm2createinitrd script ? I remember I had to tell it about my RAID setup before it worked as planned.&lt;BR /&gt;&lt;BR /&gt;This was the command that did it for me:&lt;BR /&gt;&lt;BR /&gt;# lvm2createinitrd -c /etc/lvm/lvm.conf -r "md0 md1" -R /etc/mdadm/mdadm.conf 2.6.16.20&lt;BR /&gt;&lt;BR /&gt;Just in case it might be helpful..&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Tue, 13 Mar 2007 07:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960731#M27399</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-03-13T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960732#M27400</link>
      <description>Thanks for the reply Wouter. I don't appear to have this script on my machine. I forgot to mention - I'm using RHEL4r3!&lt;BR /&gt;I get the feeling the /boot/initrd-2.6.9-34.EL.img may have something to do with it in the current situation but with the original test, I'm *already* booting off an lvm lv so the initrd shouldn't be a problem?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Tue, 13 Mar 2007 09:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960732#M27400</guid>
      <dc:creator>Tony Walker_2</dc:creator>
      <dc:date>2007-03-13T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960733#M27401</link>
      <description>Shalom from Chicago Tony,&lt;BR /&gt;&lt;BR /&gt;If you have the disk space.&lt;BR /&gt;&lt;BR /&gt;pvcreate &lt;BR /&gt;vgcreate&lt;BR /&gt;lvcreate&lt;BR /&gt;&lt;BR /&gt;Then use dd to copy the current data to the new logical volumes.&lt;BR /&gt;&lt;BR /&gt;Test mount as well.&lt;BR /&gt;&lt;BR /&gt;Then modify /etc/fstab&lt;BR /&gt;&lt;BR /&gt;You have converted to LVM.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 13 Mar 2007 09:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960733#M27401</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-13T09:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960734#M27402</link>
      <description>Do you see the md devices come up successfully during boot ?</description>
      <pubDate>Tue, 13 Mar 2007 10:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960734#M27402</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-03-13T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting existing LVM install to LVM on md devices</title>
      <link>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960735#M27403</link>
      <description>Thanks again gents,&lt;BR /&gt;&lt;BR /&gt;In a moment of inspiration I unpacked the initrd file and discovered that the init script had the following:&lt;BR /&gt;&lt;BR /&gt;lvm vgchange -ay --ignorelockingfailure VolGroup00&lt;BR /&gt;&lt;BR /&gt;I changed this to:&lt;BR /&gt;lvm vgchange -ay --ignorelockingfailure&lt;BR /&gt;&lt;BR /&gt;And now all vg's are activated and she mounts like a beaut!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Tue, 13 Mar 2007 11:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/converting-existing-lvm-install-to-lvm-on-md-devices/m-p/3960735#M27403</guid>
      <dc:creator>Tony Walker_2</dc:creator>
      <dc:date>2007-03-13T11:11:54Z</dc:date>
    </item>
  </channel>
</rss>

