* [linux-lvm] Moving to a new system.
@ 2004-01-08 14:37 neuron
2004-01-09 3:35 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: neuron @ 2004-01-08 14:37 UTC (permalink / raw)
To: linux-lvm
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"
I have /dev/vg_main/storagelv as the drive I wanna take the space from.
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?)
then umount /mnt/storage
pvmove /dev/hdd1
vgreduce /dev/hdd1
?
I wanna make damn sure I get this right before I do it.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Moving to a new system.
2004-01-08 14:37 [linux-lvm] Moving to a new system neuron
@ 2004-01-09 3:35 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2004-01-09 3:35 UTC (permalink / raw)
To: linux-lvm
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@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-09 3:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08 14:37 [linux-lvm] Moving to a new system neuron
2004-01-09 3:35 ` Luca Berra
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.