On Sat, Nov 10, 2012 at 11:14:46PM +0100, Swâmi Petaramesh wrote: > Hi, > > My BTRFS is mounted with space_cache,inode_cache , and I now get at boot > time the following message : > > “btrfs: free space inode generation (0) did not match free space cache > generation (189086)” > > Starting once with "clear_cache" doesn't seem to be able to fix the > issue... Any clue ?
You only need to mount with space_cache once, and after that it's "sticky". What's probably happening is that you're mounting with space_cache, which rebuilds the cache. Then, if you reboot before it's finished rebuilding the cache, the cache isn't complete, and (I think) it causes the above message -- which is harmless. The same applies to the inode cache options. Try mounting with clear_cache *once*, then remounting with space_cache,inode_cache *once*, and waiting for it to finish rebuilding the cache. Finally, remove all mention of the caches from your fstab and kernel command line before you next mount the FS. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great oxymorons of the world, no. 8: The Latest --- In Proven Technology
signature.asc
Description: Digital signature