BTRFS: The Good, The Bad and The Ugly

Richard W.M. Jones rjones at redhat.com
Thu Jul 14 14:14:09 UTC 2011


On Thu, Jul 14, 2011 at 03:06:33PM +0100, Ric Wheeler wrote:
> On 07/14/2011 03:03 PM, Richard W.M. Jones wrote:
> >On Thu, Jul 14, 2011 at 09:13:56AM -0400, Josef Bacik wrote:
> >>Well it should be more like
> >>
> >>/boot    /dev/sda1
> >>swap    /dev/sda2
> >>btrfs
> >Maybe I don't understand this.  Is btrfs on /dev/sda3, or are the swap
> >and root filesystems somehow combined on /dev/sda2?  And if the
> >latter, how does one do that?
> >
> >Rich.
> 
> btrfs is a multi-volume file system so it would consume devices
> starting after the swap partition in the above example.
> 
> That is btrfs would start on sda3 and possibly pull in sda4, ...., sdaX.
> 
> swap is a special partition, not a file system....
> 
> Was that your question?

Sort of.  Swap is on /dev/sda2 and btrfs is on /dev/sda3.

In fact this was how I set up a guest (manually) and virt-resize
now works on these sorts of guests, so success.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


More information about the devel mailing list