[opensuse] reverting bcache
I have a laptop with a 25Gb included sssd. Until now I used it for bcache (and it's equivalent for windows). returning from osc-15, may be after an update, my 13.2 stopped working, with filesystem error, only booting on emmrgency mode, and I couldn't understand why (it's not a btrfs size this time). no matter. I don't have any really important data on this travel/demo machine, so I decided to reinstall a fresh 13.2. I decided also to install it directly on the sssd. I don't care of windows nor on the intel fast boot that anyway is not fast :-). no install problem. Yast installed as ext4 without question (and I better like it). But I would like to access my bcached data partition on the large disk. it's refused (unknown filesystem). I have nothing really meaningful on it and I can format it, but this machine is for learning and I would like to learn how to un-bcache his disk. Is it enough to change partition type? after all it's natively ext4? I don't really know how to search for this on google (lack of vocabulary) :-( thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed 27 May 2015 06:35:52 PM CDT, jdd wrote:
I have a laptop with a 25Gb included sssd.
Until now I used it for bcache (and it's equivalent for windows).
returning from osc-15, may be after an update, my 13.2 stopped working, with filesystem error, only booting on emmrgency mode, and I couldn't understand why (it's not a btrfs size this time). no matter.
I don't have any really important data on this travel/demo machine, so I decided to reinstall a fresh 13.2.
I decided also to install it directly on the sssd. I don't care of windows nor on the intel fast boot that anyway is not fast :-).
no install problem. Yast installed as ext4 without question (and I better like it).
But I would like to access my bcached data partition on the large disk. it's refused (unknown filesystem).
I have nothing really meaningful on it and I can format it, but this machine is for learning and I would like to learn how to un-bcache his disk. Is it enough to change partition type? after all it's natively ext4?
I don't really know how to search for this on google (lack of vocabulary) :-(
thanks jdd Hi No, you will need to run it through a bcache partition, use a USB device temporarily to move the data?
There are some commands to run for removing, but if your re-installing a wipefs on the disk should be enough.... -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default up 1 day 10:34, 4 users, load average: 0.37, 0.37, 0.26 CPU AMD A4-5150M APU @ 3.3GHz | GPU Richland Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I could make it work, thanks to Pavel Goran from the bcache mailing list, see the details below: Le 28/05/2015 11:09, Pavel Goran wrote :
echo 1 > /sys/block/sda/sda3/bcache/running
jdd answer: 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, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
jdd
-
Malcolm