* Converting existing partition to bcache backing device without loss of data
@ 2013-08-08 16:27 Adam Brenner
[not found] ` <CAO9TOLddUrQCSchv_2-Xf=xjp_AOfN+NyePMPfiQYwqA+gx4ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Adam Brenner @ 2013-08-08 16:27 UTC (permalink / raw)
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA
Howdy,
I am in the process of testing bcache on our HPC cluster to act as
cache for our gluster storage (~750TB).
I notice that during the setup process on our test cluster, our
backing device (where all our data is stored) will need to be
formatted in order to support bcache.
Does a way exist so we do not have to format our backing device? Or is
working being done to support this?
Thanks,
-Adam
--
Adam Brenner
Computer Science, Undergraduate Student
Donald Bren School of Information and Computer Sciences
Research Computing Support
Office of Information Technology
http://www.oit.uci.edu/rcs/
University of California, Irvine
www.ics.uci.edu/~aebrenne/
aebrenne-sXc7qaQca9o@public.gmane.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Converting existing partition to bcache backing device without loss of data
[not found] ` <CAO9TOLddUrQCSchv_2-Xf=xjp_AOfN+NyePMPfiQYwqA+gx4ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-08-09 0:29 ` Jason Warr
2013-08-09 0:36 ` Kent Overstreet
1 sibling, 0 replies; 4+ messages in thread
From: Jason Warr @ 2013-08-09 0:29 UTC (permalink / raw)
To: Adam Brenner; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA
On 08/08/2013 11:27 AM, Adam Brenner wrote:
> Howdy,
>
> I am in the process of testing bcache on our HPC cluster to act as
> cache for our gluster storage (~750TB).
>
> I notice that during the setup process on our test cluster, our
> backing device (where all our data is stored) will need to be
> formatted in order to support bcache.
You can't convert an in use block device into a backing store.
Your best bet is to replace your gluster bricks either one at a time or
in acceptable groups with bricks that are bcache backed.
But without knowing more about how your gluster setup is architect-ed
this is just a guess.
> Does a way exist so we do not have to format our backing device? Or is
> working being done to support this?
In your particular case converting in place is not likely a very good
method even if it were supported. Gluster is designed to be flexible in
such a way that you can replace existing storage bricks with new and
improved bcache backed bricks by simply replacing a replica in a set.
>
> Thanks,
> -Adam
>
> --
> Adam Brenner
> Computer Science, Undergraduate Student
> Donald Bren School of Information and Computer Sciences
>
> Research Computing Support
> Office of Information Technology
> http://www.oit.uci.edu/rcs/
>
> University of California, Irvine
> www.ics.uci.edu/~aebrenne/
> aebrenne-sXc7qaQca9o@public.gmane.org
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Converting existing partition to bcache backing device without loss of data
[not found] ` <CAO9TOLddUrQCSchv_2-Xf=xjp_AOfN+NyePMPfiQYwqA+gx4ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-09 0:29 ` Jason Warr
@ 2013-08-09 0:36 ` Kent Overstreet
2013-08-09 1:00 ` Gabriel de Perthuis
1 sibling, 1 reply; 4+ messages in thread
From: Kent Overstreet @ 2013-08-09 0:36 UTC (permalink / raw)
To: Adam Brenner, g2p.code-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA
On Thu, Aug 08, 2013 at 09:27:33AM -0700, Adam Brenner wrote:
> Howdy,
>
> I am in the process of testing bcache on our HPC cluster to act as
> cache for our gluster storage (~750TB).
>
> I notice that during the setup process on our test cluster, our
> backing device (where all our data is stored) will need to be
> formatted in order to support bcache.
>
> Does a way exist so we do not have to format our backing device? Or is
> working being done to support this?
Unfortunately, there's no general purpose way - the faq explains why (I
just fixed the wiki so it's there again :)
http://bcache.evilpiepirate.org/FAQ/
However, Gabriel de Perthuis has a tool to do in place conversion - I
can't remember if it was limited to lvm devices or not - Gabriel, what
was the link to that again? I should stick a link to it in the wiki or
give you an account on it so you can.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Converting existing partition to bcache backing device without loss of data
2013-08-09 0:36 ` Kent Overstreet
@ 2013-08-09 1:00 ` Gabriel de Perthuis
0 siblings, 0 replies; 4+ messages in thread
From: Gabriel de Perthuis @ 2013-08-09 1:00 UTC (permalink / raw)
To: Kent Overstreet, Adam Brenner; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA
ven. 09 août 2013 02:36:57 CEST, Kent Overstreet a écrit :
> On Thu, Aug 08, 2013 at 09:27:33AM -0700, Adam Brenner wrote:
>> Howdy,
>>
>> I am in the process of testing bcache on our HPC cluster to act as
>> cache for our gluster storage (~750TB).
>>
>> I notice that during the setup process on our test cluster, our
>> backing device (where all our data is stored) will need to be
>> formatted in order to support bcache.
>>
>> Does a way exist so we do not have to format our backing device? Or is
>> working being done to support this?
>
> Unfortunately, there's no general purpose way - the faq explains why (I
> just fixed the wiki so it's there again :)
>
> http://bcache.evilpiepirate.org/FAQ/
>
> However, Gabriel de Perthuis has a tool to do in place conversion - I
> can't remember if it was limited to lvm devices or not - Gabriel, what
> was the link to that again? I should stick a link to it in the wiki or
> give you an account on it so you can.
Yup, here is my conversion tool: https://github.com/g2p/blocks
I've added it to the FAQ.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-09 1:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08 16:27 Converting existing partition to bcache backing device without loss of data Adam Brenner
[not found] ` <CAO9TOLddUrQCSchv_2-Xf=xjp_AOfN+NyePMPfiQYwqA+gx4ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-09 0:29 ` Jason Warr
2013-08-09 0:36 ` Kent Overstreet
2013-08-09 1:00 ` Gabriel de Perthuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox