debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #05942
[Bug 1858860] Re: Gnome Disk Utility Issues incorrect command when ejecting a SATA Harddisk or Solid State Drive
** Changed in: udisks
Status: Unknown => New
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-disk-utility in
Ubuntu.
https://bugs.launchpad.net/bugs/1858860
Title:
Gnome Disk Utility Issues incorrect command when ejecting a SATA
Harddisk or Solid State Drive
Status in udisks:
New
Status in gnome-disk-utility package in Ubuntu:
Triaged
Bug description:
Use case: As a user of hot swap-able SATA disks using a Harddrive
Riser over eSATA. I need a safe, easy and convenient way to remove the
hot swap-able SATA disk without rebooting and without having to go to
the command line.
When attempting to eject an harddisk or a solid state disk using the eject button in "Gnome Disk Utility" it issues the 'eject' command which results in an IOCTL error.
The correct commands the eject button in the GUI should issue to eject a SATA HDD or SSD are:
# where X is the drive letter of the drive being worked with
# -Y Put drive to sleep
sudo hdparm -Y /dev/sdX
# remove the device from the kernel
sudo sh -c 'echo 1 > /sys/block/sdX/device/delete'
Please see the screen shots for the error.
This should be an easy fix (20 minutes) for someone who is good a programmer.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-disk-utility 3.28.3-0ubuntu1~18.04.1
ProcVersionSignature: Ubuntu 4.15.0-74.84-generic 4.15.18
Uname: Linux 4.15.0-74-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 8 21:07:32 2020
InstallationDate: Installed on 2018-11-11 (423 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: gnome-disk-utility
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/udisks/+bug/1858860/+subscriptions