Upgrade path to bcachefs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux