Score:0

LVM move from two small to two bigger

pe flag

doc2 and keeping WordPress on it as backup WordPress.

Running out of room on the two 2TB SSD's have on it.

So I put two 4TB SSD's on it all at the same time because want to copy the 4TB LVM, to the 4TB each so 8TB new SSD's.

Here is how webmin sees them.

Webmin sees them like this the SD card at top is the boot, The 2 next drives is the LVM now and the 2 last drives is what want to copy it to

I did some commands like this:

root@nano-doc2:~# pvmove -n /dev/mapper/2--1TB--as--2TB-2TB--SSD /dev/sdc /dev/sdd

root@nano-doc2:~# pvmove -n /mnt/2-1TB-as-2TB /dev/sdc /dev/sdd

But they don't work.

Any one know that right way to copy this?

-Raymond Day

Marco avatar
br flag
Unclear what you already did with the new disks and how your lvm looks like. Please update your question with the information. In short you have to add the new disks to the volumegroup (`pvcreate`, `vgextend`) and afterwards move the data from the old disk (`pvmove`). The final step is to remove the empty disks (`vgreduce`).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.