Skip to contentSkip to conversation

subvolid=0, ls hangs.

DISCUSSION A. James Lewis 2 participants 2 messages Feb 24, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

I've been running BTRFS for a while testing out various stuff, and I've found it to be quite stable (although reading this list makes me realize how much activity there really is).. I just hit my first bump in the road, and I wondered if someone could give me a hint how I can gather enough information to be useful here.

Basically, the filesystem I'm running is a 2 disk stripe, with mirrored metadata.. I have default subvolume set, and I'm using 2 subvolumes. I have created a few snapshots of those subvolumes by mounting with -o subvolid=0 and creating snapshots of the mounted subvolumes.

Recently (I think it started when I updated from .38rc1 to .38rc5 but that could be coincidental)... when I mount subvolid=0, if I do a 'ls' of that mount point, the filesystem hangs, and the system becomes unusable. Otherwise mounting and using the subvolumes is not affected. At one point I got a Segfault from ls, but I've not been able to repeat that.

Any suggestions would be interesting... I tried updating to rc6, but as expected, (since there didn't seem to be much in the way of BTRFS changes in that release) not much difference.

James.

#1 lore raw
Quoted 18 lines · A. James Lewis

I've been running BTRFS for a while testing out various stuff, and I've found it to be quite stable (although reading this list makes me realize how much activity there really is).. I just hit my first bump in the road, and I wondered if someone could give me a hint how I can gather enough information to be useful here.

Basically, the filesystem I'm running is a 2 disk stripe, with mirrored metadata.. I have default subvolume set, and I'm using 2 subvolumes. I have created a few snapshots of those subvolumes by mounting with -o subvolid=0 and creating snapshots of the mounted subvolumes.

Recently (I think it started when I updated from .38rc1 to .38rc5 but that could be coincidental)... when I mount subvolid=0, if I do a 'ls' of that mount point, the filesystem hangs, and the system becomes unusable. Otherwise mounting and using the subvolumes is not affected. At one point I got a Segfault from ls, but I've not been able to repeat that.

Quoted 4 lines

Any suggestions would be interesting... I tried updating to rc6, but as expected, (since there didn't seem to be much in the way of BTRFS changes in that release) not much difference.

Do a sysrq+w when it hangs, that will tell us what the box is doing. Thanks,

Josef