On Wed, Nov 14, 2018 at 06:48:17PM -0500, Tom Horsley wrote:
On Wed, 14 Nov 2018 23:38:39 +0100
Wolfgang Pfeiffer wrote:
Anyone an idea about where to start investigating this issue? Where
could such behaviour possibly be set up?
If you are using gnome it just loves to seek out disks and
access them any time any kind of a file dialog opens.
Window Manager is Awesome WM, Display manager is GDM.
But there are some pieces of Gnome still running here as I still use
Gnome apps occasionally on awesome ...
% ps ax | grep -i gnom\[e\]
1422 tty1 Ssl+ 0:00 /usr/libexec/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
1507 tty1 Sl+ 0:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
1522 tty1 Sl+ 0:18 /usr/bin/gnome-shell
1769 ? Sl 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
6777 ? Sl 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
7049 ? Sl 0:20 /usr/libexec/at-spi2-registryd --use-gnome-session
7127 ? Ssl 8:24 /usr/libexec/gnome-terminal-server
7391 ? Sl 0:00 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
I'm running awesome on tty2, so gnome-shell on tty1 is still hanging
around for whatever reason ..
This once worked, but may not any longer:
https://tomhorsley.com/game/case-of-disks.html
Also systemd seems to have an affinity for touching
disks as well.
The external disks don't get mounted, they just spin up the moment I
start acting, for example when manually mounting an internal HDD.
The behavior seems new: I run Fedora since ~2 yrs, and I noticed the
USB disks spinning up only a few months ago - no changes since then
that I'd remember of. And I don't think it's some hardware specific
thing, as different disks show the same unwanted behavior.
One of those external disks even is spinning up after issuing this
command:
-------------
# smartctl -d sat -P show -n sleep,0 /dev/sdd
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.18.17-200.fc28.x86_64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
Device is in SLEEP mode, exit(0)
------------
The 'n' flag above should make sure the disk isn't spun up when
querying it, but nonetheless: the disk is rightly identified as being
in sleep mode, but spins up anyways a second after issuing the
command.
All I can do is manually spinning it down again:
sdparm --readonly -C stop /dev/sdd
I'm still hoping there is a setting somewhere in /etc (or wherever)
that controls this situation ...
I have a USB disk for backups that is
normally not mounted, is listed in /etc/fstab with "noauto",
yet recently I've noticed every time I reboot, I have
to wait for some systemd message about syncing headers on
disk [sdf] (which takes a while because the disk is
very slow and has to spin up first).
I don't see any journalctl messages about the disks spun up, but I
might find a setting for journalctl to log the behavior.
Not sure when it started happening, but it certainly didn't always
happen because it is irritating enough to notice.
See? - so it seems it's not just me seeing this. So either there's
some buggy piece of software somewhere, or some setting was changed at
some point ....
Wolfgang
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx