[linux-lvm] Moving to a new system.

Luca Berra bluca at comedia.it
Fri Jan 9 03:35:02 UTC 2004


On Thu, Jan 08, 2004 at 08:35:54PM +0100, neuron wrote:
>I'm moving my data from the old server, kernel 2.4 and lvm1.  To a new server, kernel 2.6 and lvm2.
>I thought I'd start by removing hdd1. It's 80gb and I have about 111gb free.
>
>pvmove --test /dev/hdd1
>pvmove -- couldn't find source physical volume "/dev/hdd1" in volume group "vg_main"
??devfs??

>pvdisplay /dev/hdd1 works, total pe's 3575
>would the best way of doing this be:
>lvreduce -l-3575 /dev/vg_main/storagelv
>resize_reiserfs /dev/vg_main/storagelv (I think reiserfs can do online resizing?)
i'd reduce the fs _BEFORE_ shrinking the underlying device.

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list