Bug 14681 - Diskdrake reports partition size by a factor 10 too low on external usb drive
Summary: Diskdrake reports partition size by a factor 10 too low on external usb drive
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 17:28 CET by Dick Gevers
Modified: 2019-10-16 16:08 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-curses-18.21-2.mga8
CVE:
Status comment:


Attachments
display for sdc1 from gparted (58.75 KB, image/png)
2014-11-28 17:29 CET, Dick Gevers
Details
display for sdc2 from gparted (59.17 KB, image/png)
2014-11-28 17:30 CET, Dick Gevers
Details
display for sdc1 from diskdrake (60.67 KB, image/png)
2014-11-28 17:31 CET, Dick Gevers
Details
display for sdc2 from diskdrake (62.59 KB, image/png)
2014-11-28 17:31 CET, Dick Gevers
Details
display for empty part of sdc from diskdrake (48.55 KB, image/png)
2014-11-28 17:33 CET, Dick Gevers
Details
output of both requests, plus some comment (1.05 KB, text/plain)
2016-12-22 17:03 CET, Dick Gevers
Details
as requested (I hope) (5.40 KB, text/plain)
2016-12-23 11:56 CET, Dick Gevers
Details
next one (67 bytes, text/plain)
2016-12-23 11:58 CET, Dick Gevers
Details

Description Dick Gevers 2014-11-28 17:28:16 CET
Description of problem:

Attach a new Seagate 3 Tb usb drive (TYPE: 1D7AD7-500) and with gparted create 2 roughly equal partitions for backing up spouse's windows laptop and my Linux machines.

/etc/fstab entries:

...
# Entry for /dev/sdc1:
UUID=0A575E794C8176D6 /mnt/Ellen-BUP ntfs noauto,umask=022 0 0
#
# Entry for /dev/sdc2:
UUID=6db9c51f-09b4-4d9e-84df-126edbbae5ce /mnt/Dick-BUP ext4 noauto,acl,noatime 1 2

'df' command shows:
...
/dev/sdc1         1,4T   17G  1,4T   2% /mnt/Ellen-BUP
/dev/sdc2         1,4T   70M  1,4T   1% /mnt/Dick-BUP
...

But when done the sizes are reported okay by gparted and windows 7, however diskdrake shows sdc1 as 170 Gb and sdc2 as 178 Gb and remainder empty. As shown by actual usage the diskdrake data cannot be right. Please refer to screenshots I will attach.




Reproducible: 

Steps to Reproduce:
Comment 1 Dick Gevers 2014-11-28 17:29:13 CET
Created attachment 5651 [details]
display for sdc1 from gparted
Comment 2 Dick Gevers 2014-11-28 17:30:15 CET
Created attachment 5652 [details]
display for sdc2 from gparted
Comment 3 Dick Gevers 2014-11-28 17:31:07 CET
Created attachment 5653 [details]
display for sdc1 from diskdrake
Comment 4 Dick Gevers 2014-11-28 17:31:51 CET
Created attachment 5654 [details]
display for sdc2 from diskdrake
Comment 5 Dick Gevers 2014-11-28 17:33:27 CET
Created attachment 5655 [details]
display for empty part of sdc from diskdrake
Dick Gevers 2014-11-28 17:35:28 CET

Assignee: bugsquad => thierry.vignaud

Dick Gevers 2014-11-28 18:05:38 CET

Summary: Diskdrake seems to report partitions by a factor 10 smaller than real => Diskdrake seems to report partition size by a factor 10 smaller than real

Comment 6 Samuel Verschelde 2015-05-21 11:23:01 CEST
Is it still valid in latest cauldron? (probably, but I'd like to be sure before Mageia 5 is released)
Samuel Verschelde 2015-06-06 16:18:17 CEST

Whiteboard: (none) => MGA5TOO

Arne Spiegelhauer 2016-04-15 18:38:21 CEST

CC: (none) => gm2.asp

Comment 7 Dick Gevers 2016-04-15 18:53:09 CEST
At time of comment #6 I was in France and overlooked the bugzilla mail. Sorry, will look into this soonest.
Comment 8 Dick Gevers 2016-04-16 11:21:55 CEST
Valid for current Cauldron

Source RPM: drakxtools-curses-16.46-1.mga5 => drakxtools-curses-17.25-1.mga6
Summary: Diskdrake seems to report partition size by a factor 10 smaller than real => Diskdrake reports partition size by a factor 10 too low on external usb drive

Comment 9 Dick Gevers 2016-12-21 12:06:24 CET
Unchanged

Source RPM: drakxtools-curses-17.25-1.mga6 => drakxtools-curses-17.65-1.mga6

Comment 10 Thierry Vignaud 2016-12-22 14:20:27 CET
Please attach (not paste) the output of "fdisk -l")

Keywords: (none) => NEEDINFO

Comment 11 Thierry Vignaud 2016-12-22 14:22:46 CET
As well as the output of:
tune2fs -l /dev/sdc1|egrep 'Block count|Block size'
Comment 12 Dick Gevers 2016-12-22 17:03:32 CET
Created attachment 8812 [details]
output of both requests, plus some comment
Comment 13 Dick Gevers 2016-12-22 17:04:24 CET
remove needinfo not working with attachment :((

Keywords: NEEDINFO => (none)

Comment 14 Thierry Vignaud 2016-12-22 22:07:50 CET
I asked for the output of "fdisk -l", not "fdisk -l /dev/sdb"
Also, you didn't run the tune2fs command on the disk I asked.

So please attach the output of:
- fdisk -l
- tune2fs -l /dev/sdc2|egrep 'Block count|Block size'

Keywords: (none) => NEEDINFO

Comment 15 Dick Gevers 2016-12-22 23:55:03 CET
(In reply to Thierry Vignaud from comment #14)
> I asked for the output of "fdisk -l", not "fdisk -l /dev/sdb"

USB drives change so the commands for sdc are now useless. I gave the results for the same drive which today is sdb,


> Also, you didn't run the tune2fs command on the disk I asked.

As above


> So please attach the output of:
> - fdisk -l
> - tune2fs -l /dev/sdc2|egrep 'Block count|Block size'

The "egrep" does nothing: everything from tune2fs -l for the correct disk is already attached. Sorry but I can't do better

Keywords: NEEDINFO => (none)

Comment 16 Thierry Vignaud 2016-12-23 01:46:41 CET
Note the "2" vs "1"?

Keywords: (none) => NEEDINFO

Comment 17 Dick Gevers 2016-12-23 11:55:59 CET
Damn, stupid me. My apologies. Attaching now as instructed.
The relative disk is back being sdc.

Keywords: NEEDINFO => (none)

Comment 18 Dick Gevers 2016-12-23 11:56:43 CET
Created attachment 8814 [details]
as requested (I hope)
Comment 19 Dick Gevers 2016-12-23 11:58:42 CET
Created attachment 8815 [details]
next one
Comment 20 Morgan Leijström 2019-10-07 00:23:03 CEST
Please reopen if still valid.

Status: NEW => RESOLVED
CC: (none) => fri
Resolution: (none) => OLD

Comment 21 Dick Gevers 2019-10-16 16:08:14 CEST
It is still valid

Status: RESOLVED => REOPENED
Resolution: OLD => (none)

Dick Gevers 2019-10-16 16:08:57 CEST

Source RPM: drakxtools-curses-17.65-1.mga6 => drakxtools-curses-18.21-2.mga8


Note You need to log in before you can comment on or make changes to this bug.