Project

General

Profile

Bug #1946

Unable to format new disk after selection

Added by VAmoroso almost 4 years ago. Updated almost 3 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/17/2016
Due date:
% Done:

0%


Description

I am unable to use the Disk Wizard to format a new disk after it's selection. Both options, the 'Format Entire Disk' and 'Format' option do not allow for forward progress. The only button visible is "Skip," which yields an error. Changing File System Type or any other combination of settings didn't alter this.

See images:

1.jpg View - HDD's in system (79.2 KB) VAmoroso, 02/17/2016 05:09 PM

3.jpg View - Selection of new HDD (89.8 KB) VAmoroso, 02/17/2016 05:09 PM

4.jpg View - Furthest attainable spot (76.1 KB) VAmoroso, 02/17/2016 05:09 PM

dsw.log View (57.6 KB) VAmoroso, 02/17/2016 08:32 PM

dw_debug.log View (43.5 KB) VAmoroso, 02/17/2016 08:32 PM

amahi-vm-add-new-disk.PNG View (80.5 KB) taa, 01/08/2017 06:07 PM

amahi-disk-wizard-no-partition-table-1-select-h.png View (709 KB) taa, 01/27/2017 05:04 PM

amahi-disk-wizard-no-partition-table-2-choose-fs-h.png View (724 KB) taa, 01/27/2017 05:04 PM

History

#1 Updated by cpg almost 4 years ago

Thanks for the screenshots, it helps.

As discussed in IRC, don't forget to fish the logs and attach them for further scrutiny to catch this bug. We're interested in the format of that drive prior to your installing it by hand, which likely erased all traces of what may be triggering the bug.

1) output (or the short url of) fpaste --sysinfo
2) /var/hda/platform/html/log/dw_debug.log
3) /var/hda/apps/520ut3lo6w/elevated/dsw.log

#2 Updated by VAmoroso almost 4 years ago

Attached are the DSW and DW_Debug logs. Short URL didn't work?!

http://paste.fedoraproject.org/324472/45576912/

#3 Updated by cpg over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to cpg

#4 Updated by taa almost 3 years ago

This issue seems remarkably similar to what I've been struggling with for about two days. After clicking SKIP I get, "No partition selected!" I wonder if this what the OP means by "which yields an error."

I finally figured out that even though you can click on "format entire disk" you still have to select the partition so that it shows as "green". There's isn't really a clear indication that this is what you need to do. After all, if you select "format entire disk" shouldn't that be enough info to proceed? (A rhetorical question.) For this reason I don't think the issue subject is correct -- Unable to format new disk after selection -- because checking "format entire disk" doesn't qualify as "selecting".

I get that it is desired to have the user be REALLY SURE but maybe if "format entire disk" is checked you could automatically select the drive for the user? Even better... since there is still a chance to have the user confirm the action, maybe if there is only one partition listed you could automatically select it?


While trying to figure this out, I was reading similar bug reports that talked about what cpg says above, "We're interested in the format of that drive prior to your installing it by hand, which likely erased all traces of what may be triggering the bug."

In my case, the disk in question was a freshly made Virtualbox .vdi disk. In an attempt to fix this issue, I ran fdisk on it and it reported that it could not find a valid partition table (which is to be expected since VBox just created it as an "empty" .vdi) and created one. If I then wrote the fdisk changes to disk and started up the Disk Wizard again, I would still get, "No partition selected!" which to me was starting to look like a bogus error, when what DW really meant was "this is a corrupt disk." So I did the next step in fdisk by creating a new primary #1 partition, wrote the changes to disk, and re-ran DW. No difference. I next ran 'mkfs -t ext4 /dev/sdb1' (or similar, can't remember exactly) then ran DW again. No difference. Of course eventually I realized the problem was with the UI and not the disk image at all.

#5 Updated by cpg almost 3 years ago

Thanks for the screenshot and the detailed description. Systems can have a large number of configurations, which makes the number of combinations large.

It does sound like you did it by hand and are set (if not, let us know how we can help).

#6 Updated by taa almost 3 years ago

Also, when the selected disk has no partition table, you can choose to format the entire disk but there's no partition listed so your only option is to SKIP. See attached amahi-disk-wizard-no-partition-table-1-select-h.PNG and amahi-disk-wizard-no-partition-table-2-choose-fs-h.PNG. As a work around, I'll use fdisk to manually create a partition table so I can continue.

Also available in: Atom