On 09/16/2011 06:59 AM, Steve Clark wrote: > On 09/15/2011 06:03 PM, Jerry Geis wrote: >>> I think the fdisk in 6 tries to align on 4k boundaries. Does fdisk -c do the >>> same thing? >>> >> Scott - thanks I just tried -cu and same result. >> >> jerry >> >> _______________________________________________ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > have you tried sfdisk? > > Steve - I had not - but asking sfdisk to list the device on centos has the wrong geometry to start with just like fdisk does. it should be 255 heads and 63 sectors.
sfdisk -v sfdisk (util-linux-ng 2.17.2) sfdisk -l /dev/sde Disk /dev/sde: 1022 cylinders, 247 heads, 62 sectors/track Warning: The partition table looks like it was made for C/H/S=*/255/63 (instead of 1022/247/62). For this listing I'll assume that geometry. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sde1 * 0+ 974- 975- 7830616+ b W95 FAT32 end: (c,h,s) expected (974,221,63) found (1023,254,63) /dev/sde2 0 - 0 0 0 Empty /dev/sde3 0 - 0 0 0 Empty /dev/sde4 0 - 0 0 0 Empty ---------------- This is centos 5 sfdisk -v sfdisk (util-linux 2.13-pre7) sfdisk -l /dev/sdb Disk /dev/sdb: 974 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sdb1 * 0+ 851 852- 6843658+ 83 Linux /dev/sdb2 852 973 122 979965 82 Linux swap / Solaris /dev/sdb3 0 - 0 0 0 Empty /dev/sdb4 0 - 0 0 0 Empty _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos