1 |
Jack wrote: |
2 |
> On 6/15/21 10:21 AM, Dale wrote: |
3 |
>> Ramon Fischer wrote: |
4 |
>>> Hello Dale, |
5 |
>>> |
6 |
>>> this also happens to me sometimes and the culprit was an open process |
7 |
>>> still accessing the hard drive. Maybe you can solve it like this: |
8 |
>>> |
9 |
>>> $ lsof /mnt/8tb |
10 |
>>> zsh 8390 root cwd DIR 253,2 4096 27787265 /mnt/8tb |
11 |
>>> $ kill 8390 |
12 |
>>> $ lsof /mnt/8tb |
13 |
>>> |
14 |
>>> After that, you should be able to close the drive via "cryptsetup". |
15 |
>>> |
16 |
>>> -Ramon |
17 |
>>> |
18 |
>>> On 14/06/2021 06:50, Dale wrote: |
19 |
>>>> root@fireball / # cryptsetup close 8tb |
20 |
>>>> Device 8tb is still in use. |
21 |
>>>> root@fireball / # mount | grep 8tb |
22 |
>>>> root@fireball / # |
23 |
>> I've tried lsof before, for both mount point and device, it shows |
24 |
>> nothing open. It's weird. |
25 |
>> |
26 |
>> When this happened last night, just before I posted, I let the drive sit |
27 |
>> there while I was doing updates. Later on, I tried to close it again |
28 |
>> and it closed just fine. I hadn't done anything except let it sit |
29 |
>> there. While I was glad it closed, I wonder why it did it. Did udev |
30 |
>> finally catch up to the state of the drive? Did some other device |
31 |
>> update and allow it to close? |
32 |
>> |
33 |
>> This is weird. Everything says it is ready to be closed but it thinks |
34 |
>> something is open. I'm not sure what to point too for the problem. Yet |
35 |
>> anyway. |
36 |
>> |
37 |
>> Thanks for the tip. It was worth mentioning. |
38 |
>> |
39 |
>> Dale |
40 |
> |
41 |
> Is it possible it was still syncing cache out to the physical drive? |
42 |
> I wonder if iotop would show any activity for that drive if that's the |
43 |
> case? |
44 |
> |
45 |
> Jack |
46 |
> |
47 |
> |
48 |
> |
49 |
|
50 |
|
51 |
I may try that next time but the light had stopped blinking for several |
52 |
minutes. Since it is a SMR drive, I always leave it running until I |
53 |
can't feel the heads bumping around. I don't think it would be that |
54 |
but, it's worth a try. It may lead to something. |
55 |
|
56 |
Will update when it does it again. |
57 |
|
58 |
Thanks. |
59 |
|
60 |
Dale |
61 |
|
62 |
:-) :-) |