Skip to contentSkip to conversation

Easy Q: reset space cache updated?

DISCUSSION Alex Plumbley-Jones 1 participant 1 message Sep 25, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi all,

I had been clearing the space cache on my btrfs vol (Debian 3.10.11-1 btrfs-tools 2013-7-5) by changing the fstab to "nospace_cache, clear_cache".

I ran btrfsck --repair and it said:

"cache and super generation don't match, space cache will be invalidated."

Can one of the dev's please tell me whether that message means that the space cache regeneration is now being triggered as a part this btrfsck run (so my tinkering with fstab mount options is self-defeating)?

If no please can someone confirm that
http://comments.gmane.org/gmane.comp.file-systems.btrfs/21256
is still the correct procedure to use to clear the cache.

Still very happy with how well btrfs is working for me.

Thank you.

Al.

PS: I think that there may be a problem with having a non-default boot subvol with autodefrag mount option but can't consistently reproduce in haste. I've moved to the explicit subvol=@ in the kernel load and the eventual hang has gone.

I have a ext based /boot but the remaining system is installed to a subvol to allow snapshots on it. Works fine (with above caveat) and is easy to do.