Re: How to Resize Partition on LVM

2015-10-26 Thread ray
I would like to thank everyone to helping. Looks like it is working. Here is the action: With Live GParted, reduce sda5 to minimum ~ 60GB. Create new partition, sda6 ~420GB. Booted back to Debian. pvcreate /dev/sda6 vgcreate xenvg /dev/sda6 lvcreate -l +100%FREE xenvg -n xenlv mkfs.ext4 -m 0 /de

Re: How to Resize Partition on LVM

2015-10-26 Thread Mario Castelán Castro
Then you must reduce /dev/sda5 with whatever partitioning tool, to a size of at least the PV size, 55 GiB (*not* 55 GB which is only 51.2 GiB, beware if using parted). In the free space on the disk you can create a new partition. That is why I recommended using complete sizes in bytes.

Re: How to Resize Partition on LVM

2015-10-26 Thread Pascal Hambourg
ray wrote : > > Displaying the resize pv: > # pvdisplay -v -m > DEGRADED MODE. Incomplete RAID LVs will be processed. Hmm. Not sure wha that means. Was there anothed disk in the VG ? > Scanning for physical volume names > --- Physical volume --- > PV Name /dev/sda5 >

Re: How to Resize Partition on LVM

2015-10-25 Thread Mario Castelán Castro
According to "man lvm", to add a physical volume to a volume group, the right command is "vgextend" (the name is because you make a volume group (VG) larger by adding more storage space for it, in a new physical volume). To create a new volume group, the command is "vgcreate". But if you want t

Re: How to Resize Partition on LVM

2015-10-25 Thread ray
Mario, Thank you for the review. Yes, there is free space in the LVM. I have gone through the manual many times (today and the last several months) and don't see a method to add a pv or vg. It seems to add a pv, it needs a device. And to add a vg, it needs a pv. How can I add either? Disp