Questions tagged [pvmove]

13 questions
6
votes
1 answer

Forgot to create partition before running pvmove

I ran pvmove to migrate extents from an old LVM disk to a new one but I forgot to create the partition structure on the new disk first: pvmove /dev/sdb1 /dev/sdc Everything seems to be fine, but I'm wondering if I should move it off the new disk…
churnd
  • 3,977
  • 5
  • 33
  • 41
4
votes
1 answer

Locked LVM logical volume in VG with missing PV

So, I had disk failure and was moving LVs from the failing disk, to the new PVs. Some LVs were moved successfully, some not. Afterwards I ended up with following state: - two locked LVs - volume group with missing PV When I try to remove PV, I…
macronus
  • 41
  • 1
  • 3
2
votes
1 answer

Moving LVM volume group from a few disks to one

I had a LVM group on a single SSD, and after running out of space I've extended it to HDD. Now I bought a bigger SSD, and want to move everything there. $ sudo lvm vgs VG #PV #LV #SN Attr VSize VFree …
okThen
  • 23
  • 2
2
votes
2 answers

started removing a physical volume from an LVM from webmin. how can I see the progress?

so I recently added a 2TB physical volume (PV) to an LVM volume group (VG) with the sole purpose of removing another 2TB PV from the VG. Everything is carried out from webmin. So once the extra PV was appended to the LVM , remove the excess PV by…
nass
  • 548
  • 4
  • 10
  • 24
2
votes
0 answers

What is the default metadata size in temporary volume during a pvmove?

I ran into an interesting error when attempting to address a particular problem. We had an issue where we have to move the extents over to new physical volumes because the metadata size was too small (255 sectors or 128k). We have increased the…
Rilindo
  • 5,058
  • 5
  • 26
  • 46
1
vote
3 answers

PVmove copies the data or move the data?

I executed a pvmove command between 2 volumes but now I can see the data in both storages. So does pvmove copy or move the data ?? command executed in servers pvmove /dm/dm-1 /dm/dm-0
madvesha
  • 11
  • 1
  • 2
1
vote
1 answer

LVM - pvmove to a smaller volume

I would like to pvmove a logical volume to a smaller, but faster drive, leaving the excess part on the original drive. Can that be easily accomplished?
1
vote
2 answers

Reducing an lvmgroup - cannot resize to xxxx extents as later ones are allocated

I've been going through the process of reducing the size of a Centos 6.10 image by reducing an lvmgroup. I'm at the point where I've been able to run this command: pvresize -tv --setphysicalvolumesize 1600G /dev/md125p2 And it's giving me the…
1
vote
1 answer

(LVM) Moving data to a different physical volume within the same logical volume

I have a logical volume called storage. It contains two ~1TB physical volumes: /dev/sdc and /dev/sdd. smartctl -a /dev/sdd informs me that /dev/sdd is failing. I can still read data off it and I have just backed up all contents off the LV. I have…
0
votes
1 answer

Very high load during pvmove in domU

I had a pretty bad time this evening. I had to move LVM2 LVs from one PV to another (source PV backed by NFS stored vdisk, target PV backed by an iscsi LUN). Moving small LVs of ths VG (few gigabits) went fine, but I had a 400GB LV and after a while…
alxgomz
  • 1,600
  • 1
  • 10
  • 14
0
votes
1 answer

Centos 6.10 - How to increase allocated PE size to take up Free P/E size

I recently had to shrink a Clonezilla image, but overdid it an now have to recover some unused free space. Here is the output of vgadisplay: --- Volume group --- VG Name vg_centos6svr System ID Format …
0
votes
1 answer

pvmove to smaller drive?

I am running on CentOS 7, lvm, with an XFS formatted root drive. As originally set up, the server had a single large root volume that contained both the OS and the data. The data has now grown, and I would like to move it off to a separate drive.…
ibrewster
  • 377
  • 1
  • 4
  • 15
0
votes
1 answer

Linux pvmove gone awry after turning on mq_deadline, any way to recover?

So we had a migration in the office using pvmove. Then this happened Mar 8 12:26:51 v1 kernel: [ 5798.100321] BUG: kernel NULL pointer dereference, address: 0000000000000140 Mar 8 12:26:51 v1 kernel: [ 5798.101099] #PF: supervisor read access in…
Ajay
  • 61
  • 1
  • 6