linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to expand a BTRFS partition... backwards
@ 2010-05-02  5:32 Sebastian 'gonX' Jensen
       [not found] ` <4BDD128C.7020606@a-city.de>
       [not found] ` <j2tfc5ef2e01005021409u75d9a45fk2002e2f0f440dde5@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Sebastian 'gonX' Jensen @ 2010-05-02  5:32 UTC (permalink / raw)
  To: linux-btrfs

Hey guys,

I kinda figured out the syntax for resizing BTRFS arrays, but is it
possible to use free space that is behind the current BTRFS partition?
I kinda figure it's not, but ideally I'd like it so that there is no
unused disk space on the disk.

My partition setup looks something like this:

Partition 1: 100MB (used)
Partition 2: 256MB (not used, this is what I want to use)
Partition 3: 200GB (used, for BTRFS)
Partition 4: 50GB (not used, but this will be expanded to the current
BTRFS partition)

Also as a last note (just in case I've misunderstood something), to
resize properly, you should first delete the partition using a
partition editor like fdisk, then recreate a new partition with the
same start cylinders as the original setup, but with bigger/later end
cylinders than the original setup, right? Then e.g. btrfsctl -r +45G /
What if I have a RAID-0 array (which I do), which uses the RAID-0
routine by BTRFS (and not mdraid or dmraid). Should I then do a
"btrfsctl -R +(size*disks)G /" or btrfsctl -R +(size of all disks)G
/"?

Regards,
Sebastian J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-03  3:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-02  5:32 How to expand a BTRFS partition... backwards Sebastian 'gonX' Jensen
     [not found] ` <4BDD128C.7020606@a-city.de>
2010-05-02  6:23   ` Sebastian 'gonX' Jensen
2010-05-02  8:10     ` TAXI
     [not found] ` <j2tfc5ef2e01005021409u75d9a45fk2002e2f0f440dde5@mail.gmail.com>
     [not found]   ` <y2q8a48dc7a1005021718j3c6256f9n31ada79603893d1d@mail.gmail.com>
2010-05-03  3:15     ` Sebastian 'gonX' Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).