Linux-bcache Archive on lore.kernel.org
 help / color / Atom feed
* Add another cache device to existing bcache disk
@ 2020-07-29 10:08 johnw
  0 siblings, 0 replies; only message in thread
From: johnw @ 2020-07-29 10:08 UTC (permalink / raw)
  To: linux-bcache

Hi, I have existing bcache0 disk/device(1 backing disk, and 1 cache
disk), is there any way to add another cache disk to the bcache0
disk/device?

Do I need detach the existing cache disk first?

Where I register the cache2 disk to the bcache0 device, I see the error
message as below in the dmesg log

bcache: register_bcache() error : device already registered
[  308.037636] bcache: bch_cached_dev_attach() Can't attach sda: already
attached
[  453.414692] bcache: __cached_dev_store() Can't attach
17ac5b8f-d787-4e46-96b7-c5ee53eb6d19
               : cache set not found

Thanks.

-- 
Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 10:08 Add another cache device to existing bcache disk johnw

Linux-bcache Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bcache/0 linux-bcache/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bcache linux-bcache/ https://lore.kernel.org/linux-bcache \
		linux-bcache@vger.kernel.org
	public-inbox-index linux-bcache

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bcache


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git