Thread (3 messages) flat view 3 messages, 2 authors, 2011-01-15

Re: Quick question about parted/fdisk for 2TB disks.

From: Jérôme Poulin <hidden>
Date: 2011-01-15 03:19:05

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 [off-list ref] 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help