linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* File space cache
@ 2013-03-12 16:17 Alex
  2013-03-13  5:31 ` dima
  0 siblings, 1 reply; 4+ messages in thread
From: Alex @ 2013-03-12 16:17 UTC (permalink / raw)
  To: linux-btrfs

Hi All,

It seems my btrfs file space cache is corrupt; I had to run clear the log
through a kernel problem.

I've seen messages that the cache is rebuilt automatically, but this doesn't
seem to be true as the messages that the free space is what is expected keep
coming.

I'm running kernel 3.8.2 (Siduction) on Debian testing.

As a subsidiary question, please, should the <pass> value in fstab be zero or
non-zero?

Kind regards.

Al.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File space cache
  2013-03-12 16:17 File space cache Alex
@ 2013-03-13  5:31 ` dima
  2013-03-13  8:53   ` Hugo Mills
  0 siblings, 1 reply; 4+ messages in thread
From: dima @ 2013-03-13  5:31 UTC (permalink / raw)
  To: Alex; +Cc: linux-btrfs

Hello Alex,

On 03/13/2013 01:17 AM, Alex wrote:
> Hi All,
>
> It seems my btrfs file space cache is corrupt; I had to run clear the log
> through a kernel problem.
>
> I've seen messages that the cache is rebuilt automatically, but this doesn't
> seem to be true as the messages that the free space is what is expected keep
> coming.
>
> I'm running kernel 3.8.2 (Siduction) on Debian testing.


I believe you may try clear_cache mount option
https://btrfs.wiki.kernel.org/index.php/Mount_options


>
> As a subsidiary question, please, should the <pass> value in fstab be zero or
> non-zero?


It should be zero. But since fsck.btrfs is non-existent, it does not 
really matter I guess.


~dima


> Kind regards.
>
> Al.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File space cache
  2013-03-13  5:31 ` dima
@ 2013-03-13  8:53   ` Hugo Mills
  2013-03-13  9:28     ` dima
  0 siblings, 1 reply; 4+ messages in thread
From: Hugo Mills @ 2013-03-13  8:53 UTC (permalink / raw)
  To: dima; +Cc: Alex, linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

On Wed, Mar 13, 2013 at 02:31:27PM +0900, dima wrote:
> Hello Alex,
> 
> On 03/13/2013 01:17 AM, Alex wrote:
> >Hi All,
> >
> >It seems my btrfs file space cache is corrupt; I had to run clear the log
> >through a kernel problem.
> >
> >I've seen messages that the cache is rebuilt automatically, but this doesn't
> >seem to be true as the messages that the free space is what is expected keep
> >coming.
> >
> >I'm running kernel 3.8.2 (Siduction) on Debian testing.
> 
> 
> I believe you may try clear_cache mount option
> https://btrfs.wiki.kernel.org/index.php/Mount_options
> 
> 
> >
> >As a subsidiary question, please, should the <pass> value in fstab be zero or
> >non-zero?
> 
> 
> It should be zero. But since fsck.btrfs is non-existent, it does not
> really matter I guess.

   Eh? We've had a functional btrfsck for nearly a year.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- But somewhere along the line, it seems / That pimp became ---    
                       cool,  and punk mainstream.                       

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File space cache
  2013-03-13  8:53   ` Hugo Mills
@ 2013-03-13  9:28     ` dima
  0 siblings, 0 replies; 4+ messages in thread
From: dima @ 2013-03-13  9:28 UTC (permalink / raw)
  To: linux-btrfs

On 03/13/2013 05:53 PM, Hugo Mills wrote:
> On Wed, Mar 13, 2013 at 02:31:27PM +0900, dima wrote:
>> Hello Alex,
>>
>> On 03/13/2013 01:17 AM, Alex wrote:
>>> Hi All,
>>>
>>> It seems my btrfs file space cache is corrupt; I had to run clear the log
>>> through a kernel problem.
>>>
>>> I've seen messages that the cache is rebuilt automatically, but this doesn't
>>> seem to be true as the messages that the free space is what is expected keep
>>> coming.
>>>
>>> I'm running kernel 3.8.2 (Siduction) on Debian testing.
>>
>>
>> I believe you may try clear_cache mount option
>> https://btrfs.wiki.kernel.org/index.php/Mount_options
>>
>>
>>>
>>> As a subsidiary question, please, should the <pass> value in fstab be zero or
>>> non-zero?
>>
>>
>> It should be zero. But since fsck.btrfs is non-existent, it does not
>> really matter I guess.
>
>     Eh? We've had a functional btrfsck for nearly a year.


Right. But it is not something that you run on boot, is it. That is why 
I mentioned fsck.btrfs



>     Hugo.
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-13  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 16:17 File space cache Alex
2013-03-13  5:31 ` dima
2013-03-13  8:53   ` Hugo Mills
2013-03-13  9:28     ` dima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).