In a related bug, if you've just enabled the "Show all devices" setting then trying to format the disk will give an error saying it's unable to unmount the device. (Temporarily switching off "Show all devices" is another way around this if you don't want to restart)