Actions
Bug #43591
open/sbin/fstrim can interfere with umount
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2020-01-13T00:00:13.035 INFO:teuthology.orchestra.run.smithi040:> sync && sudo umount -f /var/lib/ceph/osd/ceph-2 2020-01-13T00:00:13.210 INFO:teuthology.orchestra.run.smithi040.stderr:umount: /var/lib/ceph/osd/ceph-2: target is busy. 2020-01-13T00:00:13.212 DEBUG:teuthology.orchestra.run:got remote process result: 32 2020-01-13T00:00:13.212 INFO:teuthology.orchestra.run.smithi040:> sudo PATH=/usr/sbin:$PATH lsof ; ps auxf 2020-01-13T00:00:13.343 INFO:teuthology.orchestra.run.smithi040.stdout:COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME ... 2020-01-13T00:00:13.957 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root cwd DIR 8,1 4096 2 / 2020-01-13T00:00:13.957 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root rtd DIR 8,1 4096 2 / 2020-01-13T00:00:13.958 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root txt REG 8,1 43088 1807 /sbin/fstrim 2020-01-13T00:00:13.958 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 3311664 11177 /usr/lib/locale/locale-archive 2020-01-13T00:00:13.958 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 144976 1918 /lib/x86_64-linux-gnu/libpthread-2.27.so 2020-01-13T00:00:13.958 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 14560 1906 /lib/x86_64-linux-gnu/libdl-2.27.so 2020-01-13T00:00:13.958 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 464824 1970 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 2020-01-13T00:00:13.959 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 27112 1897 /lib/x86_64-linux-gnu/libuuid.so.1.3.0 2020-01-13T00:00:13.959 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 31680 1920 /lib/x86_64-linux-gnu/librt-2.27.so 2020-01-13T00:00:13.959 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 154832 1976 /lib/x86_64-linux-gnu/libselinux.so.1 2020-01-13T00:00:13.959 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 311720 1988 /lib/x86_64-linux-gnu/libblkid.so.1.1.0 2020-01-13T00:00:13.960 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 2030544 1903 /lib/x86_64-linux-gnu/libc-2.27.so 2020-01-13T00:00:13.960 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 340232 1936 /lib/x86_64-linux-gnu/libmount.so.1.1.0 2020-01-13T00:00:13.960 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root mem REG 8,1 170960 1894 /lib/x86_64-linux-gnu/ld-2.27.so 2020-01-13T00:00:13.960 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root 0r CHR 1,3 0t0 6 /dev/null 2020-01-13T00:00:13.960 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root 1u unix 0xffff999e968a6400 0t0 430836 type=STREAM 2020-01-13T00:00:13.961 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root 2u unix 0xffff999e968a6400 0t0 430836 type=STREAM 2020-01-13T00:00:13.961 INFO:teuthology.orchestra.run.smithi040.stdout:fstrim 69389 root 3r DIR 253,3 191 32 /var/lib/ceph/osd/ceph-2 ... 2020-01-13T00:00:14.010 INFO:teuthology.orchestra.run.smithi040.stdout:root 69389 0.0 0.0 25636 1288 ? Ds 00:00 0:00 /sbin/fstrim -av
/a/sage-2020-01-12_21:37:03-rados-wip-sage-testing-2020-01-12-0621-distro-basic-smithi/4660834
from the man page,
-a, --all Trim all mounted filesystems on devices that support the discard operation. The other supplied options, like --offset, --length and --minimum, are applied to all these devices. Errors from filesystems that do not support the discard operation are silently ignored.
on ubuntu, it's run by
fstrim.timer loaded active waiting Discard unused blocks once a week
Updated by Sage Weil about 4 years ago
/a/sage-2020-03-29_22:38:58-fs-wip-sage-testing-2020-03-29-0834-distro-basic-smithi/4902553
Updated by Neha Ojha over 3 years ago
- Priority changed from High to Normal
This might still be a problem, just haven't seen it recently.
Actions