<div dir="ltr"><div>Don't use fdisk, it doesn’t recognize GPT/UFI partitions.<br></div>use parded:<br>sudo parted /dev/sda "unit B" print<br>sudo parted /dev/sda print</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon <span dir="ltr"><<a href="mailto:shlomo.solomon@gmail.com" target="_blank">shlomo.solomon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm about to format my new 4Tb drive as Ext4, but before I do, I<br>
wanted to see how it shows up "out-of-the-box" and got some strange<br>
results. I'm pretty sure formatting as Ext4 will solve this, but I'm<br>
curious if anyone can explain the following:<br>
<br>
I mounted the drive and I see:<br>
[solomon@shlomo1 ~]$ df |grep Seagate<br>
/dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive<br>
<br>
<br>
<br>
[root@shlomo1 solomon]# fdisk /dev/sdj<br>
<br>
Welcome to fdisk (util-linux 2.24.2).<br>
Changes will remain in memory only, until you decide to write them.<br>
Be careful before using the write command.<br>
<br>
Command (m for help): p<br>
Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors<br>
Units: sectors of 1 * 4096 = 4096 bytes<br>
Sector size (logical/physical): 4096 bytes / 4096 bytes<br>
I/O size (minimum/optimal): 4096 bytes / 4096 bytes<br>
Disklabel type: dos<br>
Disk identifier: 0xc64aae83<br>
<br>
Device Boot Start End Blocks Id System<br>
/dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT<br>
<br>
<br>
<br>
But, when I run the "Manage Disk Partitions" utility in Mageia's<br>
Control Center I can see 1 "small" NTFS partition and another 1.9Tb of<br>
un-allocated space for a total of only about 60% of the disk:<br>
<br>
Device: sdj1<br>
Volume label: Seagate_Expansion_Drive<br>
DOS drive letter: C (just a guess)<br>
Type: NTFS-3G<br>
Size: 465GB (12%)<br>
<br>
Empty<br>
Size: 1.9TB (54%)<br>
Cylinder 60800 to 328149<br>
<br>
After hitting the "clear all" button I see more or less the proper size:<br>
Device: sdj<br>
Size: 3.6TB<br>
Name: NA4KTWL4<br>
<br>
<br>
As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Shlomo Solomon<br>
<a href="http://the-solomons.net" target="_blank">http://the-solomons.net</a><br>
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4<br>
<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Constantine Shulyupin<br><a href="http://www.MakeLinux.co.il/" target="_blank">http://www.MakeLinux.co.il/</a><br>Embedded Linux Systems<br>Tel Aviv<br></div></div>
</div>