<?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: fedora lvm root disk .... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917113#M45950</link>
    <description>Hi~&lt;BR /&gt;&lt;BR /&gt;I had tryed to mkinitrd with dm-mod preloaded under RHEL4, mkinitrd will include lvm2 into ram disk automatically. But I have not try this on FC3.&lt;BR /&gt;&lt;BR /&gt;What is you mkinitrd version? maybe your mkinitrd is too old to support lvm2.&lt;BR /&gt;&lt;BR /&gt;BTW, the module name on kernel tree of dm_mod is dm-mod.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Steven Chan&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Aug 2005 10:00:52 GMT</pubDate>
    <dc:creator>Steven Chan_9</dc:creator>
    <dc:date>2005-08-10T10:00:52Z</dc:date>
    <item>
      <title>fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917107#M45944</link>
      <description>all,&lt;BR /&gt;I am running fedora3, I am trying to get lvm on root partition to work. However I need to add the lvm module to initrd. I tried including dm_mod in the initrd creation process, but could not locate it. Does any one know what module I should add to the initrd process in order to support lvm on root partition? Thanks.</description>
      <pubDate>Tue, 09 Aug 2005 19:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917107#M45944</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-09T19:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917108#M45945</link>
      <description>Hi~&lt;BR /&gt;&lt;BR /&gt;Did you use mkinitrd to create ram disk?&lt;BR /&gt;&lt;BR /&gt;If you used mkinitd, try:&lt;BR /&gt;&lt;BR /&gt;mkinitrd -v --preload dm-mod image-name `uname -r`&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Wed, 10 Aug 2005 01:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917108#M45945</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-10T01:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917109#M45946</link>
      <description>Do you have your kernels on your /root filesystem, or on a separate (non-lvm) /boot filesysetm?</description>
      <pubDate>Wed, 10 Aug 2005 04:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917109#M45946</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-08-10T04:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917110#M45947</link>
      <description>Yeah, I have a separate boot, that works find. Kernel and initrd resides there. I added the dm_mod module, but still getting kernel panic. &lt;BR /&gt;&lt;BR /&gt;error:&lt;BR /&gt;mkrootdev: label /root not found&lt;BR /&gt;mounting root filesystem&lt;BR /&gt;mount: error 2 mounting ext3&lt;BR /&gt;mount: error 2 mounting none&lt;BR /&gt;Switching to new root&lt;BR /&gt;switchroot: mount failed: 22&lt;BR /&gt;umount /initrd/dev failed: 2&lt;BR /&gt;Kernel panic - not syncing: Attempted to kill init!&lt;BR /&gt;&lt;BR /&gt;this part with /root label is the the root partition underl lvm, I migrated it from the original root partition (/dev/hda2) which I did not wipe out. If I boot using /dev/hda2 I am back where I started.  Is there anything I need to do to get mkrootdev to work with the new lvm root partition labeled: /root?  Thanks.</description>
      <pubDate>Wed, 10 Aug 2005 08:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917110#M45947</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917111#M45948</link>
      <description>Hi~&lt;BR /&gt;&lt;BR /&gt;What is your lvm root file system labeled?&lt;BR /&gt;&lt;BR /&gt;If not, use tune2fs -L to change your lvm root file system's label.&lt;BR /&gt;&lt;BR /&gt;And do not connect 2 partition with the same label one system together.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Wed, 10 Aug 2005 09:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917111#M45948</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-10T09:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917112#M45949</link>
      <description>the old label is "/" and the new label is "/root". I think the problem is that it is having issue with the new root file system because it is under lvm2. I thought loading the dm_mod module would help. But in retrospect, you would have to activate the volume by running vgscan first; hence mkroot dev can't find the new root filesystem (which is under lvm2). Any idea how to get around this?</description>
      <pubDate>Wed, 10 Aug 2005 09:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917112#M45949</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T09:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917113#M45950</link>
      <description>Hi~&lt;BR /&gt;&lt;BR /&gt;I had tryed to mkinitrd with dm-mod preloaded under RHEL4, mkinitrd will include lvm2 into ram disk automatically. But I have not try this on FC3.&lt;BR /&gt;&lt;BR /&gt;What is you mkinitrd version? maybe your mkinitrd is too old to support lvm2.&lt;BR /&gt;&lt;BR /&gt;BTW, the module name on kernel tree of dm_mod is dm-mod.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Steven Chan&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Aug 2005 10:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917113#M45950</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-10T10:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917114#M45951</link>
      <description>the version on it is mkinitrd-4.1.18-2.</description>
      <pubDate>Wed, 10 Aug 2005 10:04:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917114#M45951</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917115#M45952</link>
      <description>What if you instead of using a label as a kernel option, use the device special. Like this:&lt;BR /&gt;&lt;BR /&gt;kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00</description>
      <pubDate>Wed, 10 Aug 2005 10:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917115#M45952</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-08-10T10:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917116#M45953</link>
      <description>Ivan, thanks for the suggestion, I already tried that.</description>
      <pubDate>Wed, 10 Aug 2005 10:20:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917116#M45953</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917117#M45954</link>
      <description>Does any one know if fedora3 support lvm for root filesystem?</description>
      <pubDate>Wed, 10 Aug 2005 10:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917117#M45954</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T10:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917118#M45955</link>
      <description>Hi~&lt;BR /&gt;&lt;BR /&gt;You can boot you system via FC3 CD in rescue mode and with lvm root partition installed. If rescue mode can detect you root file system on lvm and mounted, chroot to the mounted root file system then mkinitrd again.&lt;BR /&gt;&lt;BR /&gt;Maybe this will make mkinitrd to include lvm2 into ram disk.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Wed, 10 Aug 2005 10:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917118#M45955</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-10T10:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917119#M45956</link>
      <description>Hi~&lt;BR /&gt;&lt;BR /&gt;FC3 suppor root file system on LVM.&lt;BR /&gt;&lt;BR /&gt;I did it long time ago, but I did it during the OS installation with Disk Druid.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Steven Chan</description>
      <pubDate>Wed, 10 Aug 2005 10:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917119#M45956</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-10T10:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917120#M45957</link>
      <description>This is what I got when creatig initrd with mkinitrd:&lt;BR /&gt;Creating initramfs&lt;BR /&gt;Looking for deps of module dm-mod&lt;BR /&gt;Looking for deps of module ide-disk&lt;BR /&gt;Looking for deps of module dm-mod&lt;BR /&gt;Looking for deps of module ext3  jbd&lt;BR /&gt;Looking for deps of module jbd&lt;BR /&gt;Looking for deps of module xfs&lt;BR /&gt;Using modules:  ./kernel/drivers/md/dm-mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko ./kernel/fs/xfs/xfs.ko&lt;BR /&gt;/sbin/nash -&amp;gt; /tmp/initrd.FQ5577/bin/nash&lt;BR /&gt;/sbin/insmod.static -&amp;gt; /tmp/initrd.FQ5577/bin/insmod&lt;BR /&gt;/sbin/udev.static -&amp;gt; /tmp/initrd.FQ5577/sbin/udev&lt;BR /&gt;/etc/udev/udev.conf -&amp;gt; /tmp/initrd.FQ5577/etc/udev/udev.conf&lt;BR /&gt;copy from /lib/modules/2.6.10-1.770_FC3smp/./kernel/drivers/md/dm-mod.ko(elf32-i386) to /tmp/initrd.FQ5577/lib/dm-mod.ko(elf32-i386)&lt;BR /&gt;copy from /lib/modules/2.6.10-1.770_FC3smp/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.FQ5577/lib/jbd.ko(elf32-i386)&lt;BR /&gt;copy from /lib/modules/2.6.10-1.770_FC3smp/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.FQ5577/lib/ext3.ko(elf32-i386)&lt;BR /&gt;copy from /lib/modules/2.6.10-1.770_FC3smp/./kernel/fs/xfs/xfs.ko(elf32-i386) to /tmp/initrd.FQ5577/lib/xfs.ko(elf32-i386)&lt;BR /&gt;Loading module dm-mod&lt;BR /&gt;Loading module jbd&lt;BR /&gt;Loading module ext3&lt;BR /&gt;Loading module xfs&lt;BR /&gt;&lt;BR /&gt;I do not see lvm? am I missing something?&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Aug 2005 11:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917120#M45957</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917121#M45958</link>
      <description>Steven,&lt;BR /&gt;chrooting still not working. Same error?  does any one know else should be included in initrd inorder to support lvm on root?</description>
      <pubDate>Wed, 10 Aug 2005 11:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917121#M45958</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-10T11:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917122#M45959</link>
      <description>Hi KC,&lt;BR /&gt;&lt;BR /&gt;I think you have to create initrd manunally.&lt;BR /&gt;&lt;BR /&gt;The following modules have to be inculded:&lt;BR /&gt;&lt;BR /&gt;dm-mirror.ko&lt;BR /&gt;dm-mod.ko&lt;BR /&gt;dm-snapshot.ko&lt;BR /&gt;dm-zero.ko&lt;BR /&gt;ext3.ko&lt;BR /&gt;jbd.ko&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvm.static has to be copied to initrd's /bin/lvm, and /etc/lvm/lvm.conf should be included also.&lt;BR /&gt;&lt;BR /&gt;And here is a sample of init script on initrd:&lt;BR /&gt;&lt;BR /&gt;#!/bin/nash&lt;BR /&gt;&lt;BR /&gt;mount -t proc /proc /proc&lt;BR /&gt;setquiet&lt;BR /&gt;echo Mounted /proc filesystem&lt;BR /&gt;echo Mounting sysfs&lt;BR /&gt;mount -t sysfs none /sys&lt;BR /&gt;echo Creating /dev&lt;BR /&gt;mount -o mode=0755 -t tmpfs none /dev&lt;BR /&gt;mknod /dev/console c 5 1&lt;BR /&gt;mknod /dev/null c 1 3&lt;BR /&gt;mknod /dev/zero c 1 5&lt;BR /&gt;mkdir /dev/pts&lt;BR /&gt;mkdir /dev/shm&lt;BR /&gt;echo Starting udev&lt;BR /&gt;/sbin/udevstart&lt;BR /&gt;echo -n "/sbin/hotplug" &amp;gt; /proc/sys/kernel/hotplug&lt;BR /&gt;echo "Loading dm-mod.ko module"&lt;BR /&gt;insmod /lib/dm-mod.ko &lt;BR /&gt;echo "Loading jbd.ko module"&lt;BR /&gt;insmod /lib/jbd.ko &lt;BR /&gt;echo "Loading ext3.ko module"&lt;BR /&gt;insmod /lib/ext3.ko &lt;BR /&gt;echo "Loading dm-mirror.ko module"&lt;BR /&gt;insmod /lib/dm-mirror.ko &lt;BR /&gt;echo "Loading dm-zero.ko module"&lt;BR /&gt;insmod /lib/dm-zero.ko &lt;BR /&gt;echo "Loading dm-snapshot.ko module"&lt;BR /&gt;insmod /lib/dm-snapshot.ko &lt;BR /&gt;/sbin/udevstart&lt;BR /&gt;echo Making device-mapper control node&lt;BR /&gt;mkdmnod&lt;BR /&gt;echo Scanning logical volumes&lt;BR /&gt;lvm vgscan&lt;BR /&gt;echo Activating logical volumes&lt;BR /&gt;lvm vgchange -ay&lt;BR /&gt;echo Making device nodes&lt;BR /&gt;lvm vgmknodes&lt;BR /&gt;echo Creating root device&lt;BR /&gt;mkrootdev /dev/root&lt;BR /&gt;umount /sys&lt;BR /&gt;echo Mounting root filesystem&lt;BR /&gt;mount -o defaults --ro -t ext3 /dev/root /sysroot&lt;BR /&gt;mount -t tmpfs --bind /dev /sysroot/dev&lt;BR /&gt;echo Switching to new root&lt;BR /&gt;switchroot /sysroot&lt;BR /&gt;umount /initrd/dev&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Thu, 11 Aug 2005 09:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917122#M45959</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-11T09:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917123#M45960</link>
      <description>So, is there an expert install option for fc3 or fc4 installations in which you can part your partition with lvm, carve out logical extend and create xfs file system for /boot and root file system?</description>
      <pubDate>Tue, 16 Aug 2005 14:52:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917123#M45960</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-16T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917124#M45961</link>
      <description>Hi KC,&lt;BR /&gt;&lt;BR /&gt;Yes, you can setup LVM during the installation with Disk Druid in FC3 or FC4.&lt;BR /&gt;&lt;BR /&gt;Actually, if you let Disk Druid part you hard drive automatically, the default setting is use LVM on your root. Of cause you can do this manually.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Tue, 16 Aug 2005 20:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917124#M45961</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-16T20:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917125#M45962</link>
      <description>Will it create volume group and logical volume? What option do I use when booting off the cdrom to get full lvm support?  Thanks.</description>
      <pubDate>Wed, 17 Aug 2005 09:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917125#M45962</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-08-17T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: fedora lvm root disk ....</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917126#M45963</link>
      <description>Hi KC,&lt;BR /&gt;&lt;BR /&gt;When you install from the FCs' CD. During Disk Partition Setup, you will be asked for choosing Automatically Partition or Manually partition with Disk Druid.&lt;BR /&gt;&lt;BR /&gt;Choose Automatically Partition and it will setup your hard drive with 1 partition for /boot and rest of part to a VG, then create a LV for / and another LV for swap.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Steven Chan</description>
      <pubDate>Wed, 17 Aug 2005 10:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-lvm-root-disk/m-p/4917126#M45963</guid>
      <dc:creator>Steven Chan_9</dc:creator>
      <dc:date>2005-08-17T10:08:13Z</dc:date>
    </item>
  </channel>
</rss>

