Moving to a new system.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux