Erasing disk failed: Error wiping newly created partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks |
Unknown
|
Unknown
|
|||
udisks2 (Debian) |
Fix Released
|
Unknown
|
|||
udisks2 (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Xenial |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to erase a normal 8GB USB stick on up to date Ubuntu 15.04. This dialog appeared:
org.freedesktop
File "/usr/lib/
retval = candidate_
File "/usr/share/
partition = table.call_
GLib.Error: udisks-error-quark: GDBus.Error:
(0)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-creator-gtk 0.2.67ubuntu0.1
ProcVersionSign
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon Jun 1 13:20:30 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-12 (108 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: usb-creator
UDisksDump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: Upgraded to vivid on 2015-05-12 (19 days ago)
Changed in usb-creator (Ubuntu): | |
importance: | Undecided → High |
Changed in udisks2 (Debian): | |
status: | Unknown → Confirmed |
Changed in udisks: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in udisks: | |
status: | Confirmed → Fix Released |
Changed in udisks: | |
importance: | Medium → Undecided |
status: | Fix Released → New |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in udisks2 (Debian): | |
status: | Confirmed → Fix Released |
tags: | added: xenial |
Hi,
I'm using GNOME Disks 3.12.1-1+b1 on current Debian unstable, with udisks2 (2.1.3-5), gvfs (1.22.1-1) and libatasmart4 0.19-3.
Steps to reproduce:
1. Blank a USB drive (dd if=/dev/zero)
2. Format that USB drive with GNOME Disks (default options: quick and MBR)
3. Attempt to create a new partition+ filesystem on that USB drive using the "+" icon in GNOME Disks (default options, again: don't overwrite, FAT, no label)
* I always get this error in a dialog:
Error creating partition error-quark, 0)
Error wiping newly created partition /dev/sdb1: Command-line `wipefs -a "/dev/sdb1"' exited with non-zero exit status 1:
wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory
(udisks-
* The sdb1 partition is always created.
* Sometimes the FAT filesystem is created on this partition, sometimes not.
* In any case, I can then reliably "Format" the newly created partition with GNOME Disks and get a filesystem created as expected.
Seems like udisks is trying to act on a device before the device node appears. The affected code seems to live in src/udiskslinux partitiontable. c, that pretends to "sit and wait for the partition to show up" before wiping the newly created partition, but apparently doesn't reliably wait for the device node to appear in /dev.