Resizing underlying LVM partition after cloning to bigger disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I've just cloned a 1TB disk to a new 2TB disk using GNU ddresuce

My partition table looks like this:

Model: ATA WDC WD20EARS-00M (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  296MB   296MB   primary   ext4         boot
 2      296MB   1000GB  1000GB  extended
 5      296MB   1000GB  1000GB  logical                lvm

I'm obviously wanting to expand the LVM partition to fill the remaining 1TB of space.

Am I able to simply use parted to resize the partition before doing a pvresize etc?

Or is it risky to resize the underlying LVM partition?


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux