Hi, I have a hard disk that parted resize have a problem, i wonder if it is a bug or not. When I execute fdisk -l in ubuntu 12.04, infomation like that : #fdisk -l Disk /dev/vdb: 21.8 GB, 21751660544 bytes 255 heads, 63 sectors/track, 2644 cylinders, total 42483712 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00094979
Device Boot Start End Blocks Id System /dev/vdb1 10240 20490240 10240000+ 83 Linux so we can see it that my hard disk have 21.8GB and /dev/vdb1 is only 10GB, then i want to resize the partition /dev/vdb1 using parted. #parted /dev/vdb (parted) resize 1 WARNING: you are attempting to use parted to operate on (resize) a file system. parted's file system manipulation code is not as robust as what you'll find in dedicated, file-system-specific packages like e2fsprogs. We recommend you use parted only to manipulate partition tables, whenever possible. Support for performing most operations on most types of file systems will be removed in an upcoming release. Start? [5243kB]? End? [10.5GB]? 20GB error: block relocator should have relocated 511 I get error but I can not get any infomations from the internet, can you help me? Best regard