raspberrypi / Raspberry-Pi-OS-64bit

Repository for containing issues on the 64 bit operating system (as distinct from the 32 bit one)
466 stars 21 forks source link

ejecting usb removable magnetic hard drive /dev/sda #246

Open drmikecooke opened 1 year ago

drmikecooke commented 1 year ago

Been getting message from ejector in menu bar "failed to eject . . ."

sudo eject -v /dev/sda

gives

eject: device name is `/dev/sda' eject: /dev/sda: not mounted eject: /dev/sda: is whole-disk device eject: /dev/sda1: mounted on /media/mike/0706b956-dc8b-4b18-8a9d-98aab0280ee5 eject: /media/mike/0706b956-dc8b-4b18-8a9d-98aab0280ee5: unmounting eject: /dev/sda: trying to eject using CD-ROM eject command eject: CD-ROM eject command failed eject: /dev/sda: trying to eject using SCSI commands eject: SCSI eject failed eject: /dev/sda: trying to eject using floppy eject command eject: floppy eject command failed eject: /dev/sda: trying to eject using tape offline command eject: tape offline command failed eject: unable to eject

btw does ANYONE use tape any more?

The drive is 1TB Seagate M3 portable

Guess I should complete with

udisksctl power-off -b /dev/sda