<?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: about lvm! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370434#M13858</link>
    <description>My apologies, I wrote it back-to-front in that last post.  Should be 'modprobe lvm-mod'.&lt;BR /&gt;&lt;BR /&gt;That being said, you're using a 2.4.7-10 kernel, which might not have LVN enabled or compiled with it.&lt;BR /&gt;&lt;BR /&gt;From a quick bit of research, you're using a stock RH7.2 machine.  No default LVM support.&lt;BR /&gt;&lt;BR /&gt;This means you'll need to get either a newer kernel package (unsure if any of the RH7.2 eratta included LVM support), kernel-source package for a more recent distribution (2.4.21-xxx for RH9 for instance), or a stock-kernel (from ftp.kernel.org) and compile yourself a new kernel.&lt;BR /&gt;&lt;BR /&gt;If you're lucky, the RH7.2 kernel-source might have an up-to-date-enough lvm moduels applied to it to just be able to re-compile the kernel version you've already got.&lt;BR /&gt;&lt;BR /&gt;This just stopped being a 'simple process', and turned into a pretty hard one for a beginner.&lt;BR /&gt;&lt;BR /&gt;You feel up to compiling your own kernel etc. ?</description>
    <pubDate>Thu, 02 Sep 2004 01:13:09 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2004-09-02T01:13:09Z</dc:date>
    <item>
      <title>about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370427#M13851</link>
      <description>kernel : 2.4.7-10&lt;BR /&gt;&lt;BR /&gt;I installed the package :lvm-1.0.3-4.i386.rpm&lt;BR /&gt;&lt;BR /&gt;but &lt;BR /&gt;&lt;BR /&gt;[root@localhost root]# fdisk -l /dev/hdb &lt;BR /&gt;&lt;BR /&gt;Disk /dev/hdb: 64 heads, 63 sectors, 1023 cylinders &lt;BR /&gt;Units = cylinders of 4032 * 512 bytes &lt;BR /&gt;&lt;BR /&gt;Device Boot Start End Blocks Id System &lt;BR /&gt;/dev/hdb1 1 51 102784+ 8e Linux LVM &lt;BR /&gt;/dev/hdb2 52 153 205632 8e Linux LVM &lt;BR /&gt;/dev/hdb3 154 306 308448 8e Linux LVM &lt;BR /&gt;[root@localhost root]# pvcreate /hdb1 &lt;BR /&gt;pvcreate -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan &lt;BR /&gt;&lt;BR /&gt;[root@localhost root]# pvcreate /dev/hdb1 &lt;BR /&gt;pvcreate -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan &lt;BR /&gt;&lt;BR /&gt;[root@localhost root]# vgscan &lt;BR /&gt;vgscan -- LVM driver/module not loaded? &lt;BR /&gt;&lt;BR /&gt;[root@localhost root]#&lt;BR /&gt;&lt;BR /&gt;what can i do next ?</description>
      <pubDate>Wed, 01 Sep 2004 20:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370427#M13851</guid>
      <dc:creator>leyearn</dc:creator>
      <dc:date>2004-09-01T20:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370428#M13852</link>
      <description>vgscan -a doesn't work?&lt;BR /&gt;&lt;BR /&gt;rpm -q lvm&lt;BR /&gt;&lt;BR /&gt;use rpm to remove and reinstall it. It would seem based on my guess that the kernel is new enough to understand lvm.&lt;BR /&gt;&lt;BR /&gt;What about installint the lvm from the original distribution disks? Thats designed to work right.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 01 Sep 2004 21:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370428#M13852</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-01T21:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370429#M13853</link>
      <description>Here's a few bits and pieces which might help you.&lt;BR /&gt;&lt;BR /&gt;Below is an extract from the '/etc/rc.d/rc.sysinit' on all recent RH distributions (well, a version of this atleast):&lt;BR /&gt;&lt;BR /&gt;# LVM initialization&lt;BR /&gt;if [ -f /etc/lvmtab ]; then&lt;BR /&gt;    [ -e /proc/lvm ] || modprobe lvm-mod &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;    if [ -e /proc/lvm -a -x /sbin/vgchange ]; then&lt;BR /&gt;        action $"Setting up Logical Volume Management:" /sbin/vgscan &amp;amp;&amp;amp; /sbin/vgchange -a y&lt;BR /&gt;    fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It goes out of it's way to only do stuff if it's supposed to, but from this you can tell that you need to do the following on a modular linux system to get LVM working:&lt;BR /&gt;&lt;BR /&gt;modprobe lvm-mod&lt;BR /&gt;/sbin/vgscan&lt;BR /&gt;/sbin/vgchange -a y&lt;BR /&gt;&lt;BR /&gt;Once this is done, you should be able to pvcreate/vgcreate/lvcreate etc..&lt;BR /&gt;&lt;BR /&gt;Please note however that under LV 1.0.3 on Linux, exporting volume groups causes issues (vgexport).  You need atleast 1.0.8 of the tool set to get that bit working properly!&lt;BR /&gt;&lt;BR /&gt;Found that out right after exporting my volume groups, booting up in single after swapping HDD's and tried re-importing the exporting file-systems :P&lt;BR /&gt;&lt;BR /&gt;Do you know how hard it is to browse the 'net on a text-based system *without* a working DNS server in an 80x25 console ? :P  Much fun.&lt;BR /&gt;&lt;BR /&gt;Got it up and working after a short time, by downloading an src.rpm of 1.0.8 and re-compiling it.. Go machine at home! *kicks bekar.id.au*..&lt;BR /&gt;&lt;BR /&gt;I wonder however, why are you using 3 different partitions, instead of just one big partition for your phiscal volumes?  Or are you planning some sort of striping across multiple disks (I wasn't aware that the Linux LVM supported striping properly) ?</description>
      <pubDate>Wed, 01 Sep 2004 23:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370429#M13853</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-09-01T23:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370430#M13854</link>
      <description>Oh, side note SEP..  Have you ever been able to configure pv/vg/lv's in the RH installation ?&lt;BR /&gt;&lt;BR /&gt;I've never been able to find how to do anything other than assign LVM partitions. :-/&lt;BR /&gt;&lt;BR /&gt;The only way I convinced the install to do it was to use a KS (http/php ks routine):&lt;BR /&gt;if ( isset( $diskspace ) ) {&lt;BR /&gt;printf( "part pv.0 --size 1 --grow\n" );&lt;BR /&gt;printf( "volgroup vgLocal00 pv.0\n" );&lt;BR /&gt;printf( "logvol / --vgname=vgLocal00 --name=root_lv --size %d --fstype reiserfs\n",&lt;BR /&gt;( $diskspace - 1048576 - 102400 - ( $memsize * 2 ) ) / 1024 );&lt;BR /&gt;} else {&lt;BR /&gt;printf( "part / --fstype ext3 --size 1 --grow\n" );&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Automatic partition creation based on phiscal configuration of system as discerned during KS install..  I love my work sometimes :) So much fun :)</description>
      <pubDate>Wed, 01 Sep 2004 23:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370430#M13854</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-09-01T23:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370431#M13855</link>
      <description>there is no -a option with vgscan&lt;BR /&gt;[root@localhost root]# vgscan -d&lt;BR /&gt;&amp;lt;1&amp;gt; lvm_get_iop_version -- CALLED&lt;BR /&gt;&amp;lt;22&amp;gt; lvm_check_special -- CALLED&lt;BR /&gt;&amp;lt;22&amp;gt; lvm_check_special -- LEAVING&lt;BR /&gt;&amp;lt;1&amp;gt; lvm_get_iop_version -- AFTER ioctl ret: -102&lt;BR /&gt;&amp;lt;1&amp;gt; lvm_get_iop_version -- LEAVING with ret: -102&lt;BR /&gt;vgscan -- LVM driver/module not loaded?&lt;BR /&gt;&lt;BR /&gt;[root@localhost root]# rpm -q lvm&lt;BR /&gt;lvm-1.0.3-4&lt;BR /&gt;[root@localhost root]#&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Sep 2004 23:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370431#M13855</guid>
      <dc:creator>leyearn</dc:creator>
      <dc:date>2004-09-01T23:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370432#M13856</link>
      <description>leyearn, try a 'modprobe mod-lvm' first, then 'vgscan' followed by 'vgchange -a'.</description>
      <pubDate>Wed, 01 Sep 2004 23:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370432#M13856</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-09-01T23:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370433#M13857</link>
      <description>what's the module-name of lvm?&lt;BR /&gt;no lvm&lt;BR /&gt;no LVM&lt;BR /&gt;no mod-lvm&lt;BR /&gt;no lvm-mod</description>
      <pubDate>Thu, 02 Sep 2004 00:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370433#M13857</guid>
      <dc:creator>leyearn</dc:creator>
      <dc:date>2004-09-02T00:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370434#M13858</link>
      <description>My apologies, I wrote it back-to-front in that last post.  Should be 'modprobe lvm-mod'.&lt;BR /&gt;&lt;BR /&gt;That being said, you're using a 2.4.7-10 kernel, which might not have LVN enabled or compiled with it.&lt;BR /&gt;&lt;BR /&gt;From a quick bit of research, you're using a stock RH7.2 machine.  No default LVM support.&lt;BR /&gt;&lt;BR /&gt;This means you'll need to get either a newer kernel package (unsure if any of the RH7.2 eratta included LVM support), kernel-source package for a more recent distribution (2.4.21-xxx for RH9 for instance), or a stock-kernel (from ftp.kernel.org) and compile yourself a new kernel.&lt;BR /&gt;&lt;BR /&gt;If you're lucky, the RH7.2 kernel-source might have an up-to-date-enough lvm moduels applied to it to just be able to re-compile the kernel version you've already got.&lt;BR /&gt;&lt;BR /&gt;This just stopped being a 'simple process', and turned into a pretty hard one for a beginner.&lt;BR /&gt;&lt;BR /&gt;You feel up to compiling your own kernel etc. ?</description>
      <pubDate>Thu, 02 Sep 2004 01:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370434#M13858</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-09-02T01:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370435#M13859</link>
      <description>Hi &lt;BR /&gt;I am a beginner of Linux&lt;BR /&gt;I havn't experienced the recompiling Kernel&lt;BR /&gt;can you advice me a doc about recompiling Kernel?&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 02 Sep 2004 02:07:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370435#M13859</guid>
      <dc:creator>leyearn</dc:creator>
      <dc:date>2004-09-02T02:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370436#M13860</link>
      <description>leyearn,&lt;BR /&gt;&lt;BR /&gt;Instead of adding LVM support into RHL7.2 old and unsupported kernel, I suggest you to install on your linux box RHEL3.0, so yuo will receive LVM support out-of-the-box.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 02 Sep 2004 05:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370436#M13860</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-09-02T05:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370437#M13861</link>
      <description>Interesting.&lt;BR /&gt;&lt;BR /&gt;So is the LVM Linux implementation similar to HP-UX? Like my LVM skills will apply on Linux environments?&lt;BR /&gt;&lt;BR /&gt;Hmmm gotta try this on my Ubunto/MEPIS rigs...&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2005 15:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370437#M13861</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2005-10-06T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: about lvm!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370438#M13862</link>
      <description>LVM in Linux is more similar to LVM in AIX rather than HP-UX. HP-UX LVM is hard to configure (mknod?), you will be happy with LVM in Linux.&lt;BR /&gt;&lt;BR /&gt;I agree that you should upgrade your Linux version, you can use also Fedora wich supports LVM.</description>
      <pubDate>Thu, 06 Oct 2005 17:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/about-lvm/m-p/3370438#M13862</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-06T17:03:14Z</dc:date>
    </item>
  </channel>
</rss>

