All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rupert Heesom <raheesom@navpoint.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Converting my Root file system to LVM
Date: 22 May 2001 12:02:03 -0400	[thread overview]
Message-ID: <990547328.1133.1.camel@localhost> (raw)

I've been practicing LVM techniques on a spare 2nd disk which I'm adding
to my root file system using LVM.  I think I've got the hang of how LVs,
PVs, and VGs work.

I've followed the lvm-howto on how to create a root filesystem.

I've created a partition on the 2nd disk (/dev/sdb1), converted it to a
PV.

I've created a VG (/dev/vg) & LV (/dev/vg/root) on that disk.

I've copied the contents of my non-LVM root partition over to the LV -
(find / -xdev | cpio -pvmd /mnt/tmp)

I've moved /etc/lilo.conf to my /boot partition, and created a symlink
to /boot/lilo.conf in /etc.

I've created an initial RAMdisk on /boot -  (/boot/initrd-lvm-2.4.3.gz).
I created one RAM disk initially to see how it worked, then ran the
"lvmcreate_initrd" again once my LVol was created (and the files copied
across).

I've altered my lilo.conf to look like - .....

[rupert@localhost rupert]$cat /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux-2_4
message=/boot/message

image=/boot/vmlinuz-2.2.16-22
	label=linux-2_2
	initrd=/boot/initrd-2.2.16-22.img
	read-only
	root=/dev/sda5
	append="mem=384M"

image=/boot/vmlinuz-2.4.3
	label=linux-2_4
	read-only
	root=/dev/sda5
	append="mem=384M"

image=/boot/vmlinuz-2.4.3
	initrd=/boot/initrd-lvm-2.4.3.gz
	root=/dev/vg/root
	label=lvm
	append="mem=384M ramdisk_size=8192"

#image=/usr/src/linux/arch/i386/boot/bzImage
#	label=linux_test
#	read-only
#	root=/dev/sda5
#	append="mem=384M"


...... And I've run lilo of course.



Now, when I boot up into the LVM partition, I get the following error
msgs -

lvm - Module successfully initialised.
/sbin/vgscan: sed: command not found.
/sbin/vgscan: /lib/lvm-iop10/: is a directory
/sbin/vgscan: exec: /lib/lvm-iop10/: cannot execute:  permission denied.

/sbin/vgchange:  <same msgs>

Obviously the kernel can't find the LVM tools.  Would these not be
included in the lvm initrd?  If they are, and the kernel still can't
find them, what do I change so that the kernel CAN find the LVM tools?

Tnx for any help.

I'M NEARLY THERE!!

-- 
regs
rupert

             reply	other threads:[~2001-05-22 16:02 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-22 16:02 Rupert Heesom [this message]
2001-05-22 16:22 ` [linux-lvm] Converting my Root file system to LVM Rupert Heesom
2001-05-22 22:56 ` Steve Wray
2001-05-22 23:53   ` Rupert Heesom
2001-05-23  4:01     ` Steve Wray
2001-05-23  5:03       ` S. Michael Denton
2001-05-23 14:11         ` Rupert Heesom
2001-05-23 22:56           ` Andreas Dilger
2001-05-23 23:18             ` [linux-lvm] Is now: Resizing & LVM shutdown Rupert Heesom
2001-05-24  3:36               ` Austin Gonyou
2001-05-24  0:24                 ` Rupert Heesom
2001-05-23  6:11                   ` Glenn Shannon
2001-05-24 12:29                     ` Ben Lutgens
2001-05-23 12:35                       ` Glenn Shannon
2001-05-24  6:54               ` Andreas Dilger
2001-05-23 13:14       ` [linux-lvm] Converting my Root file system to LVM Rupert Heesom
2001-05-23 16:49     ` Andreas Dilger
2001-05-23 15:02       ` [linux-lvm] Converting my Root file system to LVM [last question] Rupert Heesom
2001-05-23 22:24         ` [linux-lvm] Converting my Root file system to LVM [lastquestion] Steve Wray
2001-05-24  6:41           ` Andreas Dilger
2001-05-24 10:52             ` Rupert Heesom
2001-05-24 22:07               ` Steve Wray
2001-05-24 14:22             ` AJ Lewis
2001-05-24 19:48               ` Luca Berra
2001-05-22 23:25 ` [linux-lvm] Converting my Root file system to LVM Andreas Dilger
2001-05-23 13:14   ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=990547328.1133.1.camel@localhost \
    --to=raheesom@navpoint.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.