Bug #2936
closedRemounting cephfs with non-existing path causes kernel panic
0%
Description
Steps to reproduce:
First mount the root somewhere
mount -t ceph a.b.c.153:6789:/ -oname=admin,secret=... /mnt
Unmount root:
umount /mnt
Try to mount a nonexistent path:
mount -t ceph a.b.c.153:6789:/idonotexist -oname=admin,secret=... /mnt
At this point the kernel panics. The entire panic is attached.
Kernel is a stock 3.5.1 kernel. The .config file is attached.
Problem also appears on a 3.4.7 kernel
The server is running under kvm 1.0
ceph version is 0.48argonaut-1~bpo60+1
Files
Updated by Sage Weil over 11 years ago
- Project changed from Ceph to Linux kernel client
- Category deleted (
26)
Updated by Sage Weil over 11 years ago
- Status changed from New to 7
this is the same issue Yan hit, #2959.
Updated by Bartek Kania over 11 years ago
I see the change for #2959 is in the mds.
However, the kernel still shouldn't hang on bad data from the mds, so I think some additional checks need to be done in the kernel.
I am willing to test kernel patches if you need me to.
Updated by Sage Weil over 11 years ago
There are patches to do that pending, but i haven't pushed them to the tree yet because a regression in 3.6-rc1 breaks networking. Leaving these bugs testing and not resolved until that is all sorted out.