* Quick question about parted/fdisk for 2TB disks.
@ 2011-01-15 1:52 Justin Piszcz
2011-01-15 3:19 ` Jérôme Poulin
0 siblings, 1 reply; 3+ messages in thread
From: Justin Piszcz @ 2011-01-15 1:52 UTC (permalink / raw)
To: linux-raid
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quick question about parted/fdisk for 2TB disks.
2011-01-15 1:52 Quick question about parted/fdisk for 2TB disks Justin Piszcz
@ 2011-01-15 3:19 ` Jérôme Poulin
2011-01-15 9:52 ` Justin Piszcz
0 siblings, 1 reply; 3+ messages in thread
From: Jérôme Poulin @ 2011-01-15 3:19 UTC (permalink / raw)
To: Justin Piszcz; +Cc: linux-raid
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@lucidpixels.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quick question about parted/fdisk for 2TB disks.
2011-01-15 3:19 ` Jérôme Poulin
@ 2011-01-15 9:52 ` Justin Piszcz
0 siblings, 0 replies; 3+ messages in thread
From: Justin Piszcz @ 2011-01-15 9:52 UTC (permalink / raw)
To: Jérôme Poulin; +Cc: linux-raid
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2119 bytes --]
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@lucidpixels.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-15 9:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-15 1:52 Quick question about parted/fdisk for 2TB disks Justin Piszcz
2011-01-15 3:19 ` Jérôme Poulin
2011-01-15 9:52 ` Justin Piszcz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.