pvmove command fails on a Proxmox server

RodinM

Active Member
Aug 1, 2011
70
0
26
Hi.
I have an LVM storage on a proxmox server with some virtual disks on it. I want to move them all to another storage.
The storage was created so:
pvcreate /dev/cciss/c0d8p1 (adding a disk with 2TB space)
vgcreate VGONVD3 /dev/cciss/c0d8p1
What I do now:
pvcreate /dev/cciss/c0d6p1 (adding a disk with 1.8TB)
vgextend VGONVD3 /dev/cciss/c0d6p1
So I get a storage with ca 3.8TB space
Then I issue a command to free up the space on the 2TB disk
pvmove -v -i 20 /dev/cciss/c0d8p1
And get a message:
Finding volume group "VGONVD3"
Physical Volume "/dev/cciss/c0d8p1" not found in Volume Group "VGONVD3"
When I do a pvscan it shows me the following:
PV /dev/block/104:178 VG pve lvm2 [8.80 GB / 1.11 GB free]
PV /dev/block/104:481 VG VGONVD3 lvm2 [2.00 TB / 1.82 TB free]
PV /dev/block/104:449 VG VGONVD3 lvm2 [1.59 TB / 1.59 TB free]

What are these PV names (/dev/block/104:481) ? I didn't use such disk names when using pvcreate and vgcreate.

When trying to issue "pvmove" command using /dev/block/104:481 or /dev/block/104\:481 (autocompletion in the console) I get the following:
Physical volume /dev/block/104 not found
Run `pvmove --help' for more information.

What am I doing (have I done) wrong?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!