On Fri, 14 Jan 2011, Jérôme Poulin wrote:
The problem with fdisk is probably that you have DOS compatibility
mode (when not using -c), it should also be set in sector mode (-u
option) which will eliminate those useless warning.
You could always use gdisk for GPT partition table instead, which
above 2TB is a most anyway.
On Fri, Jan 14, 2011 at 8:52 PM, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> wrote:
Hi,
Device Boot Start End Blocks Id System
/dev/sda1 1 3891 31250000 fd Linux raid
autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 3891 3907 131072 fd Linux raid
autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3 3907 243202 1922132488 fd Linux raid
autodetect
Partition 3 does not end on cylinder boundary.
But with parted, no issues:
(parted) print Model: ATA WDC WD2001FASS-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 32.0GB 32.0GB primary linux-swap(v1) raid
2 32.0GB 32.1GB 134MB primary ext3 boot, raid
3 32.1GB 2000GB 1968GB primary ext4 raid
(parted)
Only use parted for 2TB+?
Justin.
Hi,
It looks good!
# fdisk -l /dev/sda -c
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x50b2166c
Device Boot Start End Blocks Id System
/dev/sda1 1 3891 31250000 fd Linux raid autodetect
/dev/sda2 * 3891 3907 131072 fd Linux raid autodetect
/dev/sda3 3907 243202 1922132488 fd Linux raid autodetect
Thanks!
Justin.