id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
217	Parted fails to resize raw partitions	xbaldauf		When using block devices with a size of >2TiB, GPT disklabels (see http://de.wikipedia.org/wiki/GUID_Partition_Table ) are recommended and the traditional MBR disklabel cannot be employed (because partition offsets >2TiB cannot be addressed).\r\n\r\nThus, traditional "fdisk" cannot be used to setup partitions, but parted needs to be used.\r\nHowever, while parted can create partitions, parted apparently cannot resize partitions with unknown or unsupported content.\r\n\r\nFor example, consider this 3TB device:\r\n\r\n(parted) p\r\nModel: Adaptec system (scsi)\r\nDisk /mnt/boot/dev/sda: 2999GB\r\nSector size (logical/physical): 512B/512B\r\nPartition Table: gpt\r\n\r\nNumber  Start   End     Size    File system  Name     Flags\r\n 1      17,4kB  3000MB  3000MB  ext3         boot     boot\r\n 2      3001MB  1100GB  1097GB               primary\r\n(parted) resize 2 3001024512B 2900GB\r\nError: Could not detect file system.\r\n(parted)\r\n\r\nThe second partition actually contains a LVM physical volume, but parted fails to resize the space for this partition properly.\r\n\r\nParted should offer the user the option to just ignore the filesystem content when resizing, especially when enlarging, which is safe for almost all filesystems..\r\n\r\n\r\nThere is even a patch http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419473 fixing this bug, which is already more than 2 years old.\r\n\r\n	defect	new	major		parted				
