[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-bcache
Subject: Upgrade path to bcachefs
From: Killian De Volder <killian.de.volder () megasoft ! be>
Date: 2015-07-25 8:15:41
Message-ID: 55B345AD.9050204 () megasoft ! be
[Download RAW message or body]
I have been wondering:
If I recall correctly: the backing device is just a bunch of bytes right ?
(Excluding the bcache header.)
If the bcachefs header (for the backing device) isn't bigger then bcache,
one should be able to write a tool to wipe the bcache header.
Could one copy the dev.data.first_sector from the bcache-header and write a new \
bcachefs-header using this information ?
So the steps could be:
1) Remove the caching device.
2) Unmount it (could be tricky in some situation, like the root mount)
3) Run make-bcachefs --upgrade /dev/xxx
4) Add your caching device.
--
Killian De Volder
--
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic