On Wed, 03 Jul 2013 20:50:59 +0400, Vasiliy Tolstov wrote:
> 2013/7/3 Gabriel de Perthuis:
>> Hello,
>>
>> You could use `blocks to-lvm`[1] to convert your large disk to lvm,
>> and then `blocks to-bcache` to convert the lvm volume to bcache.
>> The lvm conversion will allow you to migrate the data off the
>> prefailed disk later, either by moving it (pvmove) or by converting
>> to raid1 (lvconvert).
> 
> Why i can't do :
> 
> create /dev/md0 with /dev/sda (sata) level=1 raid-devices=1
> format /dev/md0 with bcache
> format /dev/sdb (ssd) with brache
> 
> create bcache0 with /dev/md0 and /dev/sdb

That's reasonable, if you don't have any data you need to keep.
You can use

    make-bcache -C /deb/sdb -B /dev/md0

to format the devices and attach them at the same time.


--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to