Re: reading an ex linux bcache disk

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

 



Le 28/05/2015 11:09, Pavel Goran a écrit :

got it!

echo 1 > /sys/block/sda/sda3/bcache/running

was the key :-)! thanks!

the manual says:

"make-bcache has the ability to format multiple devices at the same time"

but then:

To get started:

  mkfs.ext4 /dev/bcache0

so the word "format" is not used always with the same meaning (for me, formatting is creating a file system).

gladfully, make-bcache do *not* format the partition :-)

What I did:

* install a new system elsewhere (same distro I used with bcache). kernel 3.16.7
install bcache-tools

make-bcache -B /dev/sda8 (the old bcache backing)

tried to find /sys/block/sda/bcache, but it do not exist. Your example made me think the manual lacked a level, it have to be sys/block/sda/sda8/bcache

echo 1 > /sys/block/sda/sda3/bcache/running

and then /dev/bcache0 shows up!

mount /dev/bcache0 /mnt allows me to access the files on the partition

so good, thanks!
jdd

--
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