Description of problem: Unmount on evicted Ceph kernel client blocks forever. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Mount ceph filesystem using kernel client. So something like, ``` sudo mount.ceph 10.215.99.65:40673:/ /home/rraja/cephfs/ -o name=admin,secret=AQAUzixbe714KxAAUlKEnp++jPPznuE/Lozk0g== ``` 2. Evict the kernel client, ``` ceph tell mds.0 client evict id=<client-id> ``` you can figure out the client ID by using the following command to list the clients, and matching client.metadata 3. Try unmounting for 30 sec ``` sudo umount /home/rraja/cephfs/ ``` Actual results: Umount fails (with device busy) Expected results: Umount succeeds Additional info:
> 3. Try unmounting for 30 sec ``` sudo umount /home/rraja/cephfs/ ``` Meant to say try unmounting. Ignore the 'try for 30 seconds bit'.
(In reply to Ram Raja from comment #0) > Description of problem: > Unmount on evicted Ceph kernel client blocks forever. > > Version-Release number of selected component (if applicable): > > > How reproducible: > > > Steps to Reproduce: > 1. Mount ceph filesystem using kernel client. So something like, > ``` > sudo mount.ceph 10.215.99.65:40673:/ /home/rraja/cephfs/ -o > name=admin,secret=AQAUzixbe714KxAAUlKEnp++jPPznuE/Lozk0g== > ``` > 2. Evict the kernel client, > ``` > ceph tell mds.0 client evict id=<client-id> > ``` > you can figure out the client ID by using the following command to list > the clients, and matching client.metadata > > 3. Try unmounting for 30 sec > ``` > sudo umount /home/rraja/cephfs/ ``` Just umount once, and don't need to repeat for 30 seconds > > Actual results: > Umount fails (with device busy) > > Expected results: > Umount succeeds > > > Additional info:
(In reply to Ram Raja from comment #6) > (In reply to Ram Raja from comment #0) > > Description of problem: > > Unmount on evicted Ceph kernel client blocks forever. > > > > Version-Release number of selected component (if applicable): > > > > > > How reproducible: > > > > > > Steps to Reproduce: > > 1. Mount ceph filesystem using kernel client. So something like, > > ``` > > sudo mount.ceph 10.215.99.65:40673:/ /home/rraja/cephfs/ -o > > name=admin,secret=AQAUzixbe714KxAAUlKEnp++jPPznuE/Lozk0g== > > ``` > > 2. Evict the kernel client, > > ``` > > ceph tell mds.0 client evict id=<client-id> > > ``` > > you can figure out the client ID by using the following command to list > > the clients, and matching client.metadata > > > > 3. Try unmounting for 30 sec > > ``` > > sudo umount /home/rraja/cephfs/ > ``` > > Just umount once, and don't need to repeat for 30 seconds And please force umount instead of just umount, ``` sudo umount -f /home/rraja/cephfs/ ``` > > > > > Actual results: > > Umount fails (with device busy) > > > > Expected results: > > Umount succeeds > > > > > > Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2375