public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* Adding net cache device to existing bcache
@ 2013-12-18 18:17 Vlad
  2013-12-18 18:23 ` Kent Overstreet
  0 siblings, 1 reply; 3+ messages in thread
From: Vlad @ 2013-12-18 18:17 UTC (permalink / raw)
  To: linux-bcache

Hello,

I'm trying to add new cache device to an existing bcache, but
unsuccessfully... I thought it should as simple as formating the new
cache device (make-bcache) and then attaching it to an existing bcache
device. However, this procedure won't work.
Is there any useful howto or another info about this subject.

Regards,
Vlad.

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

* Re: Adding net cache device to existing bcache
  2013-12-18 18:17 Adding net cache device to existing bcache Vlad
@ 2013-12-18 18:23 ` Kent Overstreet
  2013-12-18 18:30   ` Vlad
  0 siblings, 1 reply; 3+ messages in thread
From: Kent Overstreet @ 2013-12-18 18:23 UTC (permalink / raw)
  To: Vlad; +Cc: linux-bcache@vger.kernel.org

Can you list the commands you were using?

On Wed, Dec 18, 2013 at 10:17 AM, Vlad <vovan@vovan.nl> wrote:
> Hello,
>
> I'm trying to add new cache device to an existing bcache, but
> unsuccessfully... I thought it should as simple as formating the new
> cache device (make-bcache) and then attaching it to an existing bcache
> device. However, this procedure won't work.
> Is there any useful howto or another info about this subject.
>
> Regards,
> Vlad.
> --
> 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: Adding net cache device to existing bcache
  2013-12-18 18:23 ` Kent Overstreet
@ 2013-12-18 18:30   ` Vlad
  0 siblings, 0 replies; 3+ messages in thread
From: Vlad @ 2013-12-18 18:30 UTC (permalink / raw)
  To: linux-bcache@vger.kernel.org

After I issue "make-bcache --cache /dev/sdf3" instantly the new bcache
without backing device is registered. This could be fixed by echoing to
/sys/fs/bcache/<NEW_DEV_UUID>/stop. But I still can't attach the new
device  by doing "echo UUID >/sys/block/bcache0/bcache/attach".
I've tried to use "make-bcache --cset-uuid <EXISTING_UUID> --cache
--wipe-bcache /dev/sdf3", but kernel complains that the device already
exists.

Regards,
Vlad.

On 18/12/13 19:23, Kent Overstreet wrote:
> Can you list the commands you were using?
>
> On Wed, Dec 18, 2013 at 10:17 AM, Vlad <vovan@vovan.nl> wrote:
>> Hello,
>>
>> I'm trying to add new cache device to an existing bcache, but
>> unsuccessfully... I thought it should as simple as formating the new
>> cache device (make-bcache) and then attaching it to an existing bcache
>> device. However, this procedure won't work.
>> Is there any useful howto or another info about this subject.
>>
>> Regards,
>> Vlad.
>> --
>> 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:[~2013-12-18 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 18:17 Adding net cache device to existing bcache Vlad
2013-12-18 18:23 ` Kent Overstreet
2013-12-18 18:30   ` Vlad

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