You are not logged in.

#1 2017-10-06 22:53:09

pedrofleck
Member
From: Porto Alegre, Brazil
Registered: 2013-11-17
Posts: 44
Website

Little help rearranging my partitions (and removing bcache)

I'm planning on buying a new SSD, then I won't use bcache anymore, and I need some help on organizing the partitions and removing bcache without formating the partition.
My partition scheme:

- /dev/sda | SSD 120GB
----- /sda1, 2 and 3 for boot and Microsoft partitions (500mb)
----- /sda4 ntfs for Windows system (59GB)
------ /sda5 f2fs for Arch system (40GB)
------ /sda6 bcache cache partition (20GB)

- /dev/sdb | HDD 1000GB
----- /sdb1 bcache ext4 backing partition (785GB)
----- /sdb3 reiserfs /var (15GB)
----- /sdb2 ntfs Windows data (200GB)

I want to stop using bcache and then use the entire SSD for Linux and the new one for boot/Microsoft partitions and Windows (or vice versa);
In the HDD I want to keep the partitions (and ext4 on Linux data) but get rid of bcache without formating.

Offline

#2 2017-10-08 11:34:51

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Little help rearranging my partitions (and removing bcache)

Sometimes you can use a live Linux CD and "gparted". But that looks like some pretty big and complicated rearrangements, so I don't think it will work... sad

I think the best thing right now is:

...Setup three partitions on your new SSD and copy data from your old SSD.

...Format "/dev/sdb1" to EXT4 and mount it as "/storage", until you have an opportunity to re-partition the drive (for example, when you have another HDD to copy data to).

Do you have a backup of all of your data?

EDIT: I just read the last paragraph of your post... (oops!)

You're situation sounds very complicated! I'm sorry, I don't have any specific advice. I recently bought my first SSD. Instead of "copying" my Arch Linux installation, I decided to re-install Arch Linux on it. That meant I could still boot my OLD Arch Linux installation while I installed the NEW Arch Linux installation (no down-time), and it wasn't very hard to do. smile

Last edited by drcouzelis (2017-10-08 11:37:58)

Offline

#3 2017-10-08 22:54:22

pedrofleck
Member
From: Porto Alegre, Brazil
Registered: 2013-11-17
Posts: 44
Website

Re: Little help rearranging my partitions (and removing bcache)

I know about the Live CD, but I think my main problem is that I don't know how to "disable" bcache, partitions with it are not visible in Gparted

Offline

#4 2017-10-08 23:13:50

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: Little help rearranging my partitions (and removing bcache)

Searching the web for "disable bcache" showed me multiple useful results,
e.g.: https://stackoverflow.com/questions/228 … filesystem .

Offline

#5 2017-10-17 19:50:10

pedrofleck
Member
From: Porto Alegre, Brazil
Registered: 2013-11-17
Posts: 44
Website

Re: Little help rearranging my partitions (and removing bcache)

I saw this, but it wasn't clear for me if after doing this the partition would become a normal partition, detaching bcache probably would only allow me to format the caching device.

Offline

Board footer

Powered by FluxBB