LVM - help replacing a drive.

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

 



Hi,

This is a simple question, but I really don't want to lose any data, so I'd really appreciate it if someone could give me a quick rundown on how this is done. I've searched around and read the LVM Howto but Im still not comfortable with this specific scenario:

I have a simple implementation of LVM that creates logical volume from /dev/hda3 and /dev/hdc1. /dev/hda is a 250G drive that holds the filesystem on /dev/hda1, but only /dev/hda3 is part of the volume group. /dev/hdc1 is a 100G drive with only one partition and its part of the volume group.

I want to replace /dev/hdc1 with a 250G drive I just bought. Right now the whole logical volume is 334G. All of that is allocated and none is free as far as physical extens go. However, I only have 119G of data on the whole logical volume. Is there any way to tell where physically that data resides? I cannot do a pvmove (as I understand it) because I have no free extens on /dev/hda3. Is it better to make extens available somehow on /dev/hda3 and do a pvmove? or should I install the new drive somewhere else, like /dev/hdb, then add it to the volume group and do a pvmove? If that's the case, then will it screw up the volume group when I move the new drive into its permanent location at /dev/hdc?

I know that's a lotta questions, but I really need some clarification. If anyone can help I'll be very thankfull.

Dave Schile


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.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