Linux LVM users
 help / color / mirror / Atom feed
From: Rupert Heesom <raheesom@navpoint.com>
To: linux-lvm@sistina.com
Subject: RE: [linux-lvm] Converting my Root file system to LVM
Date: 23 May 2001 09:14:54 -0400	[thread overview]
Message-ID: <990623699.8904.2.camel@localhost> (raw)
In-Reply-To: <NBBBKLKHMJHIJLHOGAOJGEMNIOAA.steve.wray@the.net.nz>

On 23 May 2001 16:01:37 +1200, Steve Wray wrote:
> > From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> > Behalf Of Rupert Heesom
> 
> > Tnx, Steve for the easy howto of your's below.
> > BTW, what on earth is that "mount -o loop" command?
> 
> Glad to have helped!
> the "-o loop" tells mount to mount the file on the loopback device.
> This allows ordinary files (not just block devices) to carry a filesystem.
> Its quite cool!
> :)

That IS pretty cool.

> 
>  
> > Since my LVol is on my 2nd disk, next, I think I'll try extending my
> > Lvol back to cover my 1st disk as well.
> 
> Just watch out for your /boot parition.
> You might want to copy lilo.conf over to the /boot partition
> and make /etc/lilo.conf a symlink to it there.

Yes, I've done that already.  The suggestion was in the man page for
"lvmcreate_initrd".

> 
>  
> > One more bit of help, if you can? -
> > 
> > I want to pvmove the file contents of my 2nd disk (/dev/sdb) to my 1st
> > disk (/dev/sda).  My 1st disk is nice & quiet!  Now the lvm-howto
> > specifies my next step (adding the "old partition" into the Lvol) as --
> 
> phew... I have no idea about moving things from PV to PV,
> however, you may want to look at setting up a miniroot-in-a-ramdisk
> for this sort of thing. I suspect you need to have the VGs deactivated,
> and you can't do *that* when its in use as the root LV.

I think the concept is covered (to a degree) in the lvm-howto under
"removing an old disk" or something like that.

I've practiced this pvmove thing on my 2nd disk when it was spare.
From what I remember, the both PVs had to be inside a VG.  The pvmove
itself wasn't a problem for me, but the LV had to be dismounted to
resize it. I will have to extend my LV & resize the file system using
e2fsadm, so I will have to dismount the root volume.  It sounds like I
DO need the root ram disk which you mention.  I'll read up about it.

> 
> Check out;
> http://innominate.org/~graichen/projects/miniroot
> 
> miniroot is fantastic, but it needs some work to make it useful
> for LVM.
> Mainly, just unzip and mount it (like you did for the initrd file before)
> and copy over the lvm programs and libraries.
> 
> You'll need to set up a lilo entry too, of course.
> I think its well documented.
> 
> BTW; I'd *seriously* recommend this for anyone with LVM root.
> It can get you out of trouble!
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> 

-- 
regs
rupert

  parent reply	other threads:[~2001-05-23 13:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-22 16:02 [linux-lvm] Converting my Root file system to LVM Rupert Heesom
2001-05-22 16:22 ` 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       ` Rupert Heesom [this message]
2001-05-23 16:49     ` [linux-lvm] Converting my Root file system to LVM 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=990623699.8904.2.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox