1 |
Dale wrote: |
2 |
> Dale wrote: |
3 |
>> Jack wrote: |
4 |
>>> Is it possible it was still syncing cache out to the physical drive? |
5 |
>>> I wonder if iotop would show any activity for that drive if that's the |
6 |
>>> case? |
7 |
>>> |
8 |
>>> Jack |
9 |
>>> |
10 |
>>> |
11 |
>>> |
12 |
>> I may try that next time but the light had stopped blinking for several |
13 |
>> minutes. Since it is a SMR drive, I always leave it running until I |
14 |
>> can't feel the heads bumping around. I don't think it would be that |
15 |
>> but, it's worth a try. It may lead to something. |
16 |
>> |
17 |
>> Will update when it does it again. |
18 |
>> |
19 |
>> Thanks. |
20 |
>> |
21 |
>> Dale |
22 |
>> |
23 |
>> :-) :-) |
24 |
>> |
25 |
> |
26 |
> I had to wait until I was doing backups again to try anything. The 6TB |
27 |
> drive did fine. The 8TB drive is giving the in use error. The drive is |
28 |
> unmounted but iotop didn't show anything and the light isn't blinking |
29 |
> either. I'd think if it was flushing cache the light would flash and it |
30 |
> would not umount. |
31 |
> |
32 |
> I tried the udev-trigger trick but it didn't work. I don't know how |
33 |
> long it will stay 'in use' so if anyone has ideas, think and type fast. |
34 |
> If not, may have to wait until next time to try again. |
35 |
> |
36 |
> Dale |
37 |
> |
38 |
> :-) :-) |
39 |
> |
40 |
|
41 |
|
42 |
Some more info: |
43 |
|
44 |
|
45 |
root@fireball / # lvs |
46 |
LV VG Attr LSize Pool Origin Data% Meta% Move Log |
47 |
Cpy%Sync Convert |
48 |
Home2 Home2 -wi-ao---- |
49 |
<12.74t |
50 |
swap OS -wi-ao---- |
51 |
12.00g |
52 |
usr OS -wi-ao---- |
53 |
35.00g |
54 |
var OS -wi-ao---- |
55 |
52.00g |
56 |
backup backup -wi-ao---- |
57 |
698.63g |
58 |
root@fireball / # vgs |
59 |
VG #PV #LV #SN Attr VSize VFree |
60 |
Home2 2 1 0 wz--n- <12.74t 0 |
61 |
OS 1 3 0 wz--n- <124.46g <25.46g |
62 |
backup 1 1 0 wz--n- 698.63g 0 |
63 |
root@fireball / # pvs |
64 |
PV VG Fmt Attr PSize PFree |
65 |
/dev/sda7 OS lvm2 a-- <124.46g <25.46g |
66 |
/dev/sdb1 Home2 lvm2 a-- <5.46t 0 |
67 |
/dev/sdc1 Home2 lvm2 a-- <7.28t 0 |
68 |
/dev/sdd1 backup lvm2 a-- 698.63g 0 |
69 |
root@fireball / # cryptsetup close 8tb |
70 |
Device 8tb is still in use. |
71 |
root@fireball / # |
72 |
|
73 |
|
74 |
As you can see, lvm doesn't even show the device but it is still under |
75 |
/dev as tho it is available. Weird. |
76 |
|
77 |
I found this but at the end, the command doesn't help me. I'm not sure |
78 |
why. It does talk about using LUKS on top of LVM causing this problem. |
79 |
Since the fix doesn't work, is this a different problem?? |
80 |
|
81 |
|
82 |
https://linux-blog.anracom.com/tag/device-still-in-use/ |
83 |
|
84 |
|
85 |
I've tried every command I can find and it still shows busy. I even |
86 |
restarted udev and lvm. Still busy. |
87 |
|
88 |
Ideas? |
89 |
|
90 |
Dale |
91 |
|
92 |
:-) :-) |