Re: Mounting internal disk spins up connected external USB disks

2019-03-24 Thread Wolfgang Pfeiffer
On Mon, Mar 18, 2019 at 11:39:43PM +0100, Wolfgang Pfeiffer wrote: Looks like I found it: udisks2 seems to be the culprit. The ugliest thing actually: the two tests below didn't show even the slightest hints that udisks2 could be involved: # btrace /dev/sdd &> /tmp/btrace.wi.udisks2.running

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Wolfgang Pfeiffer
On Tue, Mar 19, 2019 at 05:41:42PM +1030, Tim via users wrote: Allegedly, on or about 18 March 2019, Wolfgang Pfeiffer sent: Nothing mounted here automatically; the problem is that all disks that seem to be in reach of the OS and not being fast enough to run away as fast as they can, get acce

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Patrick O'Callaghan
On Tue, 2019-03-19 at 18:46 +0800, Ed Greshko wrote: > On 3/19/19 6:35 PM, Patrick O'Callaghan wrote: > > On Mon, 2019-03-18 at 23:39 +0100, Wolfgang Pfeiffer wrote: > > > # btrace /dev/sdd &> /tmp/btrace.wi.udisks2.running.log > > What is btrace? It doesn't seem to be in the standard repos and Goo

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Roger Heflin
If anything runs any lvm commands it will basically run a pvscan internally and then that will also spin it up (I believe if not using lvmetad as with lvmedad it only does a single device at a time). On Tue, Mar 19, 2019 at 5:47 AM Ed Greshko wrote: > > On 3/19/19 6:35 PM, Patrick O'Callaghan wro

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Ed Greshko
On 3/19/19 6:35 PM, Patrick O'Callaghan wrote: > On Mon, 2019-03-18 at 23:39 +0100, Wolfgang Pfeiffer wrote: >> # btrace /dev/sdd &> /tmp/btrace.wi.udisks2.running.log > What is btrace? It doesn't seem to be in the standard repos and Google > tells me it's a tracing tool for Java, which doesn't sou

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Patrick O'Callaghan
On Mon, 2019-03-18 at 23:39 +0100, Wolfgang Pfeiffer wrote: > # btrace /dev/sdd &> /tmp/btrace.wi.udisks2.running.log What is btrace? It doesn't seem to be in the standard repos and Google tells me it's a tracing tool for Java, which doesn't sound right. poc __

Re: Mounting internal disk spins up connected external USB disks

2019-03-19 Thread Tim via users
Allegedly, on or about 18 March 2019, Wolfgang Pfeiffer sent: >Nothing mounted here automatically; the problem is that all disks > that seem to be in reach of the OS and not being fast enough to run > away as fast as they can, get accessed, and then spun up .. Are there bookmarks to those loca

Re: Mounting internal disk spins up connected external USB disks

2019-03-18 Thread Wolfgang Pfeiffer
Answering to an old thread from a few months ago. It starts here: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/NI76UZ33W72OA3POGL34IWBNWDXOS547/ On Wed, Nov 14, 2018 at 06:48:17PM -0500, Tom Horsley wrote: On Wed, 14 Nov 2018 23:38:39 +0100 Wolfgang Pfeif

Re: [Solved: Not] Re: Mounting internal disk spins up connected external USB disks

2018-11-17 Thread Wolfgang Pfeiffer
On Sat, Nov 17, 2018 at 01:34:07AM +0100, Wolfgang Pfeiffer wrote: On Wed, Nov 14, 2018 at 11:38:39PM +0100, Wolfgang Pfeiffer wrote: Mounting an internally installed disk on a laptop spins up all disks connected to this machine via USB. And I try to prevent these externally connected disks to s

Re: [Solved, hopefully] Re: Mounting internal disk spins up connected external USB disks

2018-11-16 Thread Wolfgang Pfeiffer
On Sat, Nov 17, 2018 at 01:34:07AM +0100, Wolfgang Pfeiffer wrote: The behaviour, IIRC, started a few months ago on the previous F27 and continues now on F28. Before that I don't remember this behaviour to have happened. Solution: systemctl mask --now smartd So far this seems to work, here on

[Solved, hopefully] Re: Mounting internal disk spins up connected external USB disks

2018-11-16 Thread Wolfgang Pfeiffer
On Wed, Nov 14, 2018 at 11:38:39PM +0100, Wolfgang Pfeiffer wrote: Mounting an internally installed disk on a laptop spins up all disks connected to this machine via USB. And I try to prevent these externally connected disks to spin up. The behaviour, IIRC, started a few months ago on the previo

Re: Mounting internal disk spins up connected external USB disks

2018-11-15 Thread Wolfgang Pfeiffer
On Wed, Nov 14, 2018 at 10:21:33PM -0800, Samuel Sieb wrote: On 11/14/18 2:38 PM, Wolfgang Pfeiffer wrote: Mounting an internally installed disk on a laptop spins up all disks connected to this machine via USB. And I try to prevent these externally connected disks to spin up. Are the externall

Re: Mounting internal disk spins up connected external USB disks

2018-11-14 Thread Samuel Sieb
On 11/14/18 5:34 PM, Wolfgang Pfeiffer wrote: I'm running awesome on tty2, so gnome-shell on tty1 is still hanging around for whatever reason .. gdm is actually a special session of gnome-shell. gdm doesn't go away when you login. Try running "sudo inotifywait -m /dev" before you do the mou

Re: Mounting internal disk spins up connected external USB disks

2018-11-14 Thread Samuel Sieb
On 11/14/18 2:38 PM, Wolfgang Pfeiffer wrote: Mounting an internally installed disk on a laptop spins up all disks connected to this machine via USB. And I try to prevent these externally connected disks to spin up. Are the externally connected disks mounted? /dev/sda: Device of type 'scsi' [

Re: Mounting internal disk spins up connected external USB disks

2018-11-14 Thread Wolfgang Pfeiffer
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 acce

Re: Mounting internal disk spins up connected external USB disks

2018-11-14 Thread Tom Horsley
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. This once w

Mounting internal disk spins up connected external USB disks

2018-11-14 Thread Wolfgang Pfeiffer
Mounting an internally installed disk on a laptop spins up all disks connected to this machine via USB. And I try to prevent these externally connected disks to spin up. The behaviour, IIRC, started a few months ago on the previous F27 and continues now on F28. Before that I don't remember this b