Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206506

Re: iotop - or, checking what is accessing a drive

From deb <deb@rangingthoughts.org>
Newsgroups linux.debian.user
Subject Re: iotop - or, checking what is accessing a drive
Date 2019-03-23 02:30 +0100
Message-ID <xEDDX-6h2-1@gated-at.bofh.it> (permalink)
References (3 earlier) <xEwsO-1NB-7@gated-at.bofh.it> <xEwMa-29s-3@gated-at.bofh.it> <xEyEi-3i7-9@gated-at.bofh.it> <xEyEi-3i7-13@gated-at.bofh.it> <xEyXD-3oo-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3/22/19 4:25 PM, David Wright wrote:
> On Fri 22 Mar 2019 at 16:07:24 (-0400), Michael Stone wrote:
>> On Fri, Mar 22, 2019 at 03:00:23PM -0500, David Wright wrote:
>>> If you're really worried, first remount the partitions readonly, which
>>> will fail if they're in use. Then unmount them and disconnect.
>> Just unmount--that will fail if the partition is in use unless extra
>> options are added.
> Sorry, it hadn't occurred to me that the OP wasn't just doing that
> (because they had said they used "Safely Remove" in Windows).
> Nor had it occurred to me that one might need a bettery of tools
> like iotop, hdparm, iostat, pidstat, perf top, and the rest,
> rather than just unmounting. I thought they wanted a belt and braces
> method, a bit of redundancy.
>
> So it's just the usual Pose Problem A, Solve Problem B.
>
> Cheers,
> David.

To summarize, I had been unmounting (multiple times, NO errors)
as well as eject -ing.
Drives still have hard light on.
This is different behavior than on Windows, where the light goes off 
signaling it's ready to to be removed.
Same drives in both cases.


I am quite happy to have the battery of recommended tools to see what is 
accessing the drives BEFORE ever unmounting at all.

At least Linux has these tools.

It is often a sysinternals-level jaunt on Windows to figure out what's 
tying up a drive. Their default error messages are a joke.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 16:30 +0100
  Re: iotop - or, checking what is accessing a drive Reco <recoverym4n@enotuniq.net> - 2019-03-22 17:00 +0100
    Reco - Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 18:30 +0100
      Re: Reco - Re: iotop - or, checking what is accessing a drive David <bouncingcats@gmail.com> - 2019-03-23 01:40 +0100
        Re: Reco - Re: iotop - or, checking what is accessing a drive Tixy <tixy@yxit.co.uk> - 2019-03-23 08:40 +0100
  Re: iotop - or, checking what is accessing a drive Michael Stone <mstone@debian.org> - 2019-03-22 17:30 +0100
    Michael - Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 18:30 +0100
      Re: Michael - Re: iotop - or, checking what is accessing a drive Curt <curty@free.fr> - 2019-03-22 18:50 +0100
        Curt --- Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 19:10 +0100
          Re: Curt --- Re: iotop - or, checking what is accessing a drive Michael Stone <mstone@debian.org> - 2019-03-22 21:10 +0100
            Re: Curt --- Re: iotop - or, checking what is accessing a drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-22 21:30 +0100
              Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-23 02:30 +0100
            Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 21:30 +0100
              Re: iotop - or, checking what is accessing a drive Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-22 21:50 +0100
                Re: iotop - or, checking what is accessing a drive Curt <curty@free.fr> - 2019-03-22 22:20 +0100
              Re: iotop - or, checking what is accessing a drive Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-22 21:50 +0100
              Re: iotop - or, checking what is accessing a drive Michael Stone <mstone@debian.org> - 2019-03-23 00:40 +0100
                Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-23 02:20 +0100
                Re: iotop - or, checking what is accessing a drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-23 04:40 +0100
          Re: Curt --- Re: iotop - or, checking what is accessing a drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-22 21:10 +0100
            Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-22 21:20 +0100
              Re: iotop - or, checking what is accessing a drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-23 05:00 +0100
            Re: Curt --- Re: iotop - or, checking what is accessing a drive Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-22 21:30 +0100
              Re: iotop - or, checking what is accessing a drive deb <deb@rangingthoughts.org> - 2019-03-23 02:20 +0100

csiph-web