[opensuse] external disks "disapear" after unmount
A small problem on 15.1: When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted. So far everything ok. But: After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again. Before (on 42.3) the device was still visible, the same as if plugged but not mounted. Can I change something, so that the device remains visible even after unmount, just as it was before? (I have an external disk whose cable is - or was... - always connected, but I only mounted it in the moments I needed it. I thought, after unmounting it doesn't turn anymore, thus is less used and lives longer. If I'm wrong please correct me). Another thing is that the MyBook WD external disk keeps blinking (for ever) after unmounting. Before after unmounting the light on the external disk disappeared. Don't know, if this means something. -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
W dniu 17.08.2019 o 15:54, Daniel Bauer pisze:
(I have an external disk whose cable is - or was... - always connected, but I only mounted it in the moments I needed it. I thought, after unmounting it doesn't turn anymore, thus is less used and lives longer. If I'm wrong please correct me).
If no data is read or written to this disk it's possible for kernel to turn it off, without unmounting (see "man hdparm" flag "-S"). Usually you don't need to touch any settings, it will just work right. Your primary question is still valid though, because sometimes I find it annoying too.
Am 17.08.19 um 16:44 schrieb Adam Mizerski:
W dniu 17.08.2019 o 15:54, Daniel Bauer pisze:
(I have an external disk whose cable is - or was... - always connected, but I only mounted it in the moments I needed it. I thought, after unmounting it doesn't turn anymore, thus is less used and lives longer. If I'm wrong please correct me).
If no data is read or written to this disk it's possible for kernel to turn it off, without unmounting (see "man hdparm" flag "-S"). Usually you don't need to touch any settings, it will just work right.
This sounds interesting. Can I see somewhere what settings apply in my system for an external disk? -- -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/08/2019 15.54, Daniel Bauer wrote:
A small problem on 15.1:
When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted.
The problem is that it is not "umount", but "remove disk". Two solutions: 1) Really umount using the command line. 2) Or use the GUI, then remove-reinsert the cable. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Op zaterdag 17 augustus 2019 20:26:59 CEST schreef Carlos E.R.:
On 17/08/2019 15.54, Daniel Bauer wrote:
A small problem on 15.1:
When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted.
The problem is that it is not "umount", but "remove disk".
Two solutions:
1) Really umount using the command line.
2) Or use the GUI, then remove-reinsert the cable. Or use Dolphin's sidebar .....
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 17.08.19 um 20:37 schrieb Knurpht-openSUSE:
Op zaterdag 17 augustus 2019 20:26:59 CEST schreef Carlos E.R.:
On 17/08/2019 15.54, Daniel Bauer wrote:
A small problem on 15.1:
When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted.
The problem is that it is not "umount", but "remove disk".
Two solutions:
1) Really umount using the command line.
2) Or use the GUI, then remove-reinsert the cable.
Or use Dolphin's sidebar .....
Does dolphin's sidebar really safely unmount it? Does it matter which of the entries I unmount? (external disk appear twice: once under "devices" ["1.8 TiB encrypted drive"] and under "removable media" [with the name of the disk]) I tried it once, but as far as I remember this was not reflected in the "task bar utility" (don't know how to name it) - there the disk seemed to be still mounted. So I got insecure and didn't use it anymore. It is possible though that I was misinterpreting the phrase and icon in the "task bar utility"... -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 17/08/2019 à 20:26, Carlos E.R. a écrit :
2) Or use the GUI, then remove-reinsert the cable.
but this will remount the disk :-( jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/8/19 11:54 pm, Daniel Bauer wrote:
A small problem on 15.1:
When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted.
So far everything ok. But:
After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again.
This drive must be powered from the mains so why not switch it off after 'unmounting' and then switch it back on again when you next want to use it, and it will magically re-appear on the task bar :-). (Also, have you checked the settings you have in Settings>System Settings>Removal Storage>Removal Devices ?)
Before (on 42.3) the device was still visible, the same as if plugged but not mounted.
Can I change something, so that the device remains visible even after unmount, just as it was before?
(I have an external disk whose cable is - or was... - always connected, but I only mounted it in the moments I needed it. I thought, after unmounting it doesn't turn anymore, thus is less used and lives longer. If I'm wrong please correct me).
Another thing is that the MyBook WD external disk keeps blinking (for ever) after unmounting. Before after unmounting the light on the external disk disappeared. Don't know, if this means something.
One VERY useful site is ask.com[1] . Just type in a question -- eg. 'MyBook WD drive keeps blinking' -- in your browser's Search windows and go to ask.com . BC [1] Originally called AskJeeves.com when it started back in the mid '90s. -- a yer eggo i kudnt spel progrmer butt naw i ar won! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Basil Chupin composed on 2019-08-18 12:05 (UTC+1000):
Daniel Bauer wrote:
A small problem on 15.1:
When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted.
So far everything ok. But:
After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again.
This drive must be powered from the mains so why not switch it off after
Where did your perception of "must" come from? What does "from the mains" mean?
'unmounting' and then switch it back on again when you next want to use it, and it will magically re-appear on the task bar :-).
All my external drive cases for 3.5" disks have independent, removable power supplies, and power switches. Those I have for 2.5" drives have neither separate power supply nor switch, just like USB sticks. I've never even been able to /find/ a case for 2.5" with separate PS or on/off switch. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 18/08/2019 à 05:12, Felix Miata a écrit :
power supply nor switch, just like USB sticks. I've never even been able to /find/ a case for 2.5" with separate PS or on/off switch.
if you need it, you can use a dock, but I don't know if the switch will have any effect on a 2.5" disk (not tried) jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/8/19 1:12 pm, Felix Miata wrote:
Basil Chupin composed on 2019-08-18 12:05 (UTC+1000):
Daniel Bauer wrote:
A small problem on 15.1: When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted. So far everything ok. But: After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again. This drive must be powered from the mains so why not switch it off after Where did your perception of "must" come from? What does "from the mains" mean?
"From the mains" is a common expression meaning the electricity available to you when you plug an appliance into the electrical power point installed on a wall in a domestic structure. And my "perception" comes Daniel's statement about his MyBook WD external drive. I would be most pleased to be made aware of any MyBook WD drive which is 2.5" big.
'unmounting' and then switch it back on again when you next want to use
it, and it will magically re-appear on the task bar :-). All my external drive cases for 3.5" disks have independent, removable power supplies, and power switches.
Ah, so you are able to switch them on and off when it pleases you? So our "perceptions" about how such devices can be switched on or off doesn't differ.
Those I have for 2.5" drives have neither separate power supply nor switch, just like USB sticks. I've never even been able to /find/ a case for 2.5" with separate PS or on/off switch.
Where does the issue of 2.5" drives come up in what Daniel wrote? -- a yer eggo i kudnt spel progrmer butt naw i ar won! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 19.08.19 um 09:07 schrieb Basil Chupin:
On 18/8/19 1:12 pm, Felix Miata wrote:
Basil Chupin composed on 2019-08-18 12:05 (UTC+1000):
Daniel Bauer wrote:
A small problem on 15.1: When I plug an USB external disk it appears in the icon in the "task bar", I can click to mount it (because they are encrypted, the password is asked). When I don't need it anymore, I click in the same dialog on the "unmount-icon" and it is unmounted. So far everything ok. But: After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again. This drive must be powered from the mains so why not switch it off after
The drive itself has no on/off switch. I'd have to take unplug the cable under my table....
Where did your perception of "must" come from? What does "from the mains" mean?
"From the mains" is a common expression meaning the electricity available to you when you plug an appliance into the electrical power point installed on a wall in a domestic structure.
And my "perception" comes Daniel's statement about his MyBook WD external drive. I would be most pleased to be made aware of any MyBook WD drive which is 2.5" big.
True. My "problem" is especially with that MyBook, because that one is (was) always plugged on the back of the computer under the table, but as I use it as a backup drive, I want it to be unmounted when not backing up. This way - I think - I am also sure that nothing happens to it accidentally. Now I must climb under the table to unplug/plug, instead of just clicking. Well, better for my health, I guess - OpenSuse gives me some more body movement :-)
Where does the issue of 2.5" drives come up in what Daniel wrote?
In fact the same happens with the 2.5" USB-drives. They also disappear. But in this case I care less, because I plug them at the front side of the computer and unplug and put them away anyway after use. -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Daniel Bauer composed on 2019-08-19 05:25 (UTC-0400):
The drive itself has no on/off switch. I'd have to take unplug the cable under my table....
True. My "problem" is especially with that MyBook, because that one is (was) always plugged on the back of the computer under the table, but as I use it as a backup drive, I want it to be unmounted when not backing up. This way - I think - I am also sure that nothing happens to it accidentally.
Now I must climb under the table to unplug/plug, instead of just clicking.
Well, better for my health, I guess - OpenSuse gives me some more body movement :-)
Crawling under tables can be risky for older adults, if not most adults. Backside USB ports can be made easier to use with a USB extension cable kept plugged into the back, and plugging the storage device into the other end kept in a more accessible location. This is not to suggest what worked in 42.3 shouldn't still work in supported releases. Regressions are not a lot of fun. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 19/08/2019 11.25, Daniel Bauer wrote:
Am 19.08.19 um 09:07 schrieb Basil Chupin:
On 18/8/19 1:12 pm, Felix Miata wrote:
Basil Chupin composed on 2019-08-18 12:05 (UTC+1000):
True. My "problem" is especially with that MyBook, because that one is (was) always plugged on the back of the computer under the table, but as I use it as a backup drive, I want it to be unmounted when not backing up. This way - I think - I am also sure that nothing happens to it accidentally.
Mine I unplug the mains adapter when not in use, to increase life expectancy. I know it powers the motor off automatically when not in use, but I fill safer by powering it fully off.
Now I must climb under the table to unplug/plug, instead of just clicking.
There is that.
Well, better for my health, I guess - OpenSuse gives me some more body movement :-)
You can wire a cable extender with a switch ;-) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Daniel Bauer wrote:
True. My "problem" is especially with that MyBook, because that one is (was) always plugged on the back of the computer under the table, but as I use it as a backup drive, I want it to be unmounted when not backing up. This way - I think - I am also sure that nothing happens to it accidentally.
Now I must climb under the table to unplug/plug, instead of just clicking.
One solution for that could be (the old way of) a dedicated entry in /etc/fstab, with 'noauto,user' directive. Then you can (manually) mount/umount it as user, and it will stay available. And that is even easily scriptable :D -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Basil Chupin wrote:
After unmounting it, it disappears from the list of connected devices and is not visible anymore. To mount it again, I must unplug it physically and then plug it again.
This drive must be powered from the mains so why not switch it off after 'unmounting' and then switch it back on again when you next want to use it, and it will magically re-appear on the task bar :-).
External 2.5 disks do not have any power supplies or power switches. Plus, the device is really *gone*. Also for the kernel. It no longer shows up in /proc/partitions. I find that extremely annoying, too.
(Also, have you checked the settings you have in Settings>System Settings>Removal Storage>Removal Devices ?)
There's no setting there that would allow you to change what happens when unmounting a removable device..... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 18.08.19 um 13:41 schrieb Peter Suetterlin:
Plus, the device is really *gone*. Also for the kernel. It no longer shows up in /proc/partitions. I find that extremely annoying, too.
only some hints, not a solution: no i think its not completely gone i tested a usb-stick, "lsusb" still shows it as before "unmounting" from plasma. there must be a command to get it back...... with hardrives (sata) (not usb) it works like this: 1) unnmount everithing from commandline 2) echo 1 > /sys/block/sda/device/delete now its gone (rotation of drive is going down), you will not see it (as example with gparted) 3) echo "0 0 0" >/sys/class/scsi_host/host0/scan (maybe you need to specify another host. and its not sure it will reapears as sda, could also be some other (sdf or so) now its back i guess there must be something similar for usb simoN -- www.becherer.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Simon Becherer wrote:
Am 18.08.19 um 13:41 schrieb Peter Suetterlin:
Plus, the device is really *gone*. Also for the kernel. It no longer shows up in /proc/partitions. I find that extremely annoying, too.
only some hints, not a solution:
no i think its not completely gone i tested a usb-stick, "lsusb" still shows it as before "unmounting" from plasma.
Strange. My external disk disappears. After connect/mount lsusb shows: Bus 002 Device 005: ID 174c:1351 ASMedia Technology Inc. This entry is gone if I use the Device notifier to 'unmount'. Which probably is the core of the issue: This is an 'eject/remove device'. So it indeed does what it's supposed to do. The problem is there is no option to (only) unmount the partition.
there must be a command to get it back...... with hardrives (sata) (not usb) it works like this:
Haha, sweet memories. Remember rescan-scsi-bus.sh It even still is part of sg3_utils :)
i guess there must be something similar for usb
Was just googling around. It was suggested lsusb would re-scan, but it doesn't bring it back here. Nor does the other option of using 'udevadm trigger' which *did* seem to reinitialize everything else. Maybe it's specific to my external disk? Maybe. A USBstick indeed stays visible in lsusb. But neither of the two solutions above will make it show up in the Device Notifier again.... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Adam Mizerski
-
Basil Chupin
-
Carlos E.R.
-
Daniel Bauer
-
Felix Miata
-
jdd@dodin.org
-
Knurpht-openSUSE
-
Peter Suetterlin
-
Simon Becherer