I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space after I shrunk its home logical partition, as shown in the second image.
I am thinking create a physical volume/partition, sdd3, by using that 620GB free space. I hope other logical volumes will not be damaged and data will stay unchanged. how can I do that?
I have created a disk image with clonezilla. So I am not worry about data loss during the process.
The purpose of doing this is I want to move the installation on my 1T disk with settings over to my another 500GB USB disk. I have tried many ways, clonezilla, dd logical partition(s), true image, gparted, .... no one can help me or gives me a good result due to the lvm and smaller destination. I hope I can dd physical partition after the new physical partition takes over some space.
My have to restart my ubuntu live CD session. now the target disk is sdb and the group name is lmei5 but not lym. I got error when I try to resize the sdb2:
ubuntu@ubuntu:~$ sudo su root@ubuntu:/home/ubuntu# pvdisplay /dev/sdb2 --- Physical volume --- PV Name /dev/sdb2 VG Name fedora_lmei5 PV Size 930.99 GiB / not usable 4.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 238333 Free PE 160569 Allocated PE 77764 PV UUID Ytsy31-op7u-DqLM-lJG7-uIFb-2hAG-eZhn0a root@ubuntu:/home/ubuntu# pvresize --setphysicalvolumesize 320G /dev/sdb2 /dev/sdb2: cannot resize to 81919 extents as later ones are allocated. 0 physical volume(s) resized / 1 physical volume(s) not resized root@ubuntu:/home/ubuntu#