Dear all, I have a 4,1TB Logical volume consist of four disks with size of 2TB, 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so that I can replace it with 2TB disk. most LVM tutorial ask to use pvmove to move phisical extent to the new disk. The problem is that I have no SATA port left so that I can't move PE to the new disk. How to migrate the data safely so that I can replace the disk? Thank you in advance regards, -- ----- Muhammad Panji
1) Plan better next time 2) Use a USB drive as a temporary disk> Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advance > regards, > > > > >---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
On Saturday 04 December 2010 02:47:15 muhammad panji wrote:> The problem is that I have no SATA port left so that I can't move PE to the > new disk.I don't see how you can solve your problem with the current setup (you need to free up space and put it somewhere but you don't have any more disks to add to the volume group as you don't have any more SATA ports left...). Two possible workarounds: Free up 500GB of space by: 1- temporarily moving the data to an external USB drive or.... 2- move the data to another host (thru the network) Then you can use "pvmove" to remove the 500GB drive and put the 2TB one. -- Jorge
On Sat, Dec 4, 2010 at 1:47 AM, muhammad panji <sumodirjo at gmail.com> wrote:> Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advance > regards,The easiest way would be to move some data off to a USB drive. The other option would be to dd copy one of the existing disks over to the 2TB disk. Then extend the LVM volume. This would require some disk swapping and careful planning. Ryan
On 12/03/10 10:47 PM, muhammad panji wrote:> Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advancedo you realize that if any one of those 4 miscellaneous drives fails, you lose the whole volume? got backup? if you do, then just wipe and rebuild your LVM and restore the backup. if you don't, well, you better start thinking about what you do when one of those drives fails and takes out all your data.