Re Mageia and NTFS disk

Re Mageia and NTFS disk

Shlomo Solomon shlomo.solomon at gmail.com
Thu Apr 16 20:59:44 IDT 2015


Actually, that's exactly the conclusion I came to :-)
1 - I tried deleting the NTFS partition and creating a new EXT4 using
the utility but was not successful. 
2 - I then used fdisk in a terminal and it seemed to work but the
utility didn't recognize what I'd done in fdisk. 
3 - I then connected the disk to my Raspberry PI and used Gparted to
create an EXT4 partition on the entire disk. 
4 - Back on my Mageia box, The new partition looks OK:
[solomon at shlomo1 ~]$ df|grep sdj
/dev/sdj1       3.6T   68M  3.4T
1% /run/media/solomon/7677d9e4-9884-4085-a361-e6d2ff4a72db

BUT - in the Mageia utility I see only a "small" EXT4 partition and
another 1.9Tb of un-allocated space for a total of only about 60% of
the disk.
5 - I then tried Gparted on the Mageia box and everything seems normal.

SO - Yes, there seems to be a bug in Mageia's "Manage Disk
Partitions" utility. 

On Thu, 16 Apr 2015 20:26:03 +0300
Constantine Shulyupin <const at makelinux.co.il> wrote:

> It's possible that 2TB is just 32bit LONG_MAX 2147483647 and there is
> bug in the utility.
> Must to use long long int for disk sizes in bytes.
> 
> 
> 
> On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon
> <shlomo.solomon at gmail.com> wrote:
> 
> > I'm about to format my new 4Tb drive as Ext4, but before I do, I
> > wanted to see how it shows up "out-of-the-box" and got some strange
> > results. I'm pretty sure formatting as Ext4 will solve this, but I'm
> > curious if anyone can explain the following:
> >
> > I mounted the drive and I see:
> > [solomon at shlomo1 ~]$ df |grep Seagate
> > /dev/sdj1 3.7T  203M 3.7T 1% /run/media/solomon/Seagate Expansion
> > Drive
> >
> >
> >
> > [root at shlomo1 solomon]# fdisk /dev/sdj
> >
> > Welcome to fdisk (util-linux 2.24.2).
> > Changes will remain in memory only, until you decide to write them.
> > Be careful before using the write command.
> >
> > Command (m for help): p
> > Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors
> > Units: sectors of 1 * 4096 = 4096 bytes
> > Sector size (logical/physical): 4096 bytes / 4096 bytes
> > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> > Disklabel type: dos
> > Disk identifier: 0xc64aae83
> >
> > Device    Boot Start       End     Blocks  Id System
> > /dev/sdj1       2048 976752639 3907002368   7 HPFS/NTFS/exFAT
> >
> >
> >
> > But, when I run the "Manage Disk Partitions" utility in Mageia's
> > Control Center I can see 1 "small" NTFS partition and another 1.9Tb
> > of un-allocated space for a total of only about 60% of the disk:
> >
> > Device: sdj1
> > Volume label: Seagate_Expansion_Drive
> > DOS drive letter: C (just a guess)
> > Type: NTFS-3G
> > Size: 465GB (12%)
> >
> > Empty
> > Size: 1.9TB (54%)
> > Cylinder 60800 to 328149
> >
> > After hitting the "clear all" button I see more or less the proper
> > size: Device: sdj
> > Size: 3.6TB
> > Name: NA4KTWL4
> >
> >
> > As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF?
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4
> >
> >
> > _______________________________________________
> > Linux-il mailing list
> > Linux-il at cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >
> 
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4




More information about the Linux-il mailing list