Linux bcache driver list
 help / color / mirror / Atom feed
* change/recreate cache device?
@ 2015-07-03 20:25 Donald Pearson
  2015-07-03 20:35 ` Yurii Kolesnykov
  0 siblings, 1 reply; 3+ messages in thread
From: Donald Pearson @ 2015-07-03 20:25 UTC (permalink / raw)
  To: linux-bcache

This is my first crack at bcache and I configured a cache device with
defaults using make-bcache -C /dev/sda

Now I've got better info on my SSD and know what the block and bucket
sizes should be, however I can't run the command again with errors
that the device is busy.

I never did anythign beyond just creating the cache and backing
devices.  I never registered the cache device, never created a
filesystem.

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

* Re: change/recreate cache device?
  2015-07-03 20:25 change/recreate cache device? Donald Pearson
@ 2015-07-03 20:35 ` Yurii Kolesnykov
  2015-07-03 20:51   ` Donald Pearson
  0 siblings, 1 reply; 3+ messages in thread
From: Yurii Kolesnykov @ 2015-07-03 20:35 UTC (permalink / raw)
  To: Donald Pearson, linux-bcache

Yes, I had same issue many times. To resolve it you need to `echo 1 > /sys/fs/bcache/<UUID>/stop`, but maybe even `echo <UUID> > /sys/block/bcacheN/bcache/detach` before it.

On 03.07.15 23:25, Donald Pearson wrote:
> This is my first crack at bcache and I configured a cache device with
> defaults using make-bcache -C /dev/sda
> 
> Now I've got better info on my SSD and know what the block and bucket
> sizes should be, however I can't run the command again with errors
> that the device is busy.
> 
> I never did anythign beyond just creating the cache and backing
> devices.  I never registered the cache device, never created a
> filesystem.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bcache" 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] 3+ messages in thread

* Re: change/recreate cache device?
  2015-07-03 20:35 ` Yurii Kolesnykov
@ 2015-07-03 20:51   ` Donald Pearson
  0 siblings, 0 replies; 3+ messages in thread
From: Donald Pearson @ 2015-07-03 20:51 UTC (permalink / raw)
  To: Yurii Kolesnykov; +Cc: linux-bcache

That was the ticket, thank you sir!

On Fri, Jul 3, 2015 at 3:35 PM, Yurii Kolesnykov <yurikoles@gmail.com> wrote:
> Yes, I had same issue many times. To resolve it you need to `echo 1 > /sys/fs/bcache/<UUID>/stop`, but maybe even `echo <UUID> > /sys/block/bcacheN/bcache/detach` before it.
>
> On 03.07.15 23:25, Donald Pearson wrote:
>> This is my first crack at bcache and I configured a cache device with
>> defaults using make-bcache -C /dev/sda
>>
>> Now I've got better info on my SSD and know what the block and bucket
>> sizes should be, however I can't run the command again with errors
>> that the device is busy.
>>
>> I never did anythign beyond just creating the cache and backing
>> devices.  I never registered the cache device, never created a
>> filesystem.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bcache" 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] 3+ messages in thread

end of thread, other threads:[~2015-07-03 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-03 20:25 change/recreate cache device? Donald Pearson
2015-07-03 20:35 ` Yurii Kolesnykov
2015-07-03 20:51   ` Donald Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox