Bug 993867

Summary: yast says inconsistent ntfs rather than disk too small
Product: [openSUSE] openSUSE Distribution Reporter: Ludwig Nussel <lnussel>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: aschnell, opensuse.lietuviu.kalba, schubi
Version: Leap 42.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/yYcFCoOo/1087-opensuse-p3-993867-yast-says-inconsistent-ntfs-rather-than-disk-too-small
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs
y2logs
screenshot
y2logs with reproduced bug and fixed by installing ntfs-3g

Description Ludwig Nussel 2016-08-16 12:35:34 UTC
Created attachment 688178 [details]
y2logs

when creating a windows 10 dual boot test with openQA I accidentally used a 10GB hdd for Windows which is too small to shrink. The partition proposal claimed the fs is corrupt and needs to be checked in windows instead of just telling that the disk is too small.
Comment 1 Ludwig Nussel 2016-08-16 14:17:25 UTC
Created attachment 688188 [details]
y2logs

y2logs, this time hopefully the right ones :)
Comment 2 Ludwig Nussel 2016-08-16 14:19:08 UTC
Created attachment 688190 [details]
screenshot
Comment 3 Steffen Winterfeldt 2016-08-16 14:30:06 UTC
"Resize impossible due to inconsistent file system."

That seems to me to be too bold a statement. At least I don't see anything in the ntfsresize output to back this.

Couldn't it simply state:

"Resizing will not free enough disk space."

?
Comment 4 Martin Vidner 2016-08-16 14:45:45 UTC
OK, the resize may not be possible for a variety of reasons:
https://github.com/yast/yast-storage/blob/2b511b446b41949acaed8a0e2e69661c9ed66fa5/src/modules/StorageProposal.rb#L4219
Comment 5 Arvin Schnell 2016-08-16 14:51:25 UTC
Indeed. The library reports that resizing is possible:

FreeInfo.cc(detectResizeInfo):217 device:/dev/vda4 df_freeK:878332 resize_freeK:878332 usedK:9026816 resize_ok:true

What the incomprehensible proposal code does is another issue. Likely
it can be improved but given the fact that we want to replace the code
completely I would give this a very low priority.
Comment 6 Stefan Schubert 2016-08-24 07:59:12 UTC
Tracked in Trello
Comment 7 Mindaugas Baranauskas 2017-06-13 20:39:30 UTC
Created attachment 728842 [details]
y2logs with reproduced bug and fixed by installing ntfs-3g

I also faced same problem. But installing ntfs-3g package helped.
Another problem appeared however: bug#1044169
Comment 8 Tomáš Chvátal 2018-04-17 13:30:21 UTC
This is automated batch bugzilla cleanup.

The openSUSE 42.2 changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or you can still observe it under openSUSE Leap 15.0, please
feel free to reopen this bug against that version (see the "Version"
component in the bug fields), or alternatively open
a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime