linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Chunk map/control
@ 2010-09-22 20:12 Phillip Susi
  2010-11-10 15:08 ` Phillip Susi
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2010-09-22 20:12 UTC (permalink / raw)
  To: linux-btrfs

Is there currently a way to view and manipulate the chunks?  If I
understand things correctly, a new fs has a few chunks:

1)  System chunk.  Contains tree of trees, device tree, chunk tree.
2)  Metadata chunk.  Contains the directory tree for the default subvol,
and any additional subvols/snapshots you create.  Directory entries and
inodes are in this tree.
3)  Data chunk.  Files with significant data have blocks allocated from
this chunk.

The system chunk is always mirrored, even on a single disk.  The
metadata chunk is mirrored by default, but can be changed with a
parameter to mkfs.  The data chunk is striped by default, but can be
changed via parameter to mkfs.  The chunks are all expanded as needed.
Is this correct, and is there a way to create a subvol with a new pair
of metadata/data chunks and specify how they should be striped or
mirrored across what devices?

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

* Re: Chunk map/control
  2010-09-22 20:12 Chunk map/control Phillip Susi
@ 2010-11-10 15:08 ` Phillip Susi
  0 siblings, 0 replies; 2+ messages in thread
From: Phillip Susi @ 2010-11-10 15:08 UTC (permalink / raw)
  To: linux-btrfs

On 9/22/2010 4:12 PM, Phillip Susi wrote:
> Is there currently a way to view and manipulate the chunks?  If I
> understand things correctly, a new fs has a few chunks:
> 
> 1)  System chunk.  Contains tree of trees, device tree, chunk tree.
> 2)  Metadata chunk.  Contains the directory tree for the default subvol,
> and any additional subvols/snapshots you create.  Directory entries and
> inodes are in this tree.
> 3)  Data chunk.  Files with significant data have blocks allocated from
> this chunk.
> 
> The system chunk is always mirrored, even on a single disk.  The
> metadata chunk is mirrored by default, but can be changed with a
> parameter to mkfs.  The data chunk is striped by default, but can be
> changed via parameter to mkfs.  The chunks are all expanded as needed.
> Is this correct, and is there a way to create a subvol with a new pair
> of metadata/data chunks and specify how they should be striped or
> mirrored across what devices?


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

end of thread, other threads:[~2010-11-10 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 20:12 Chunk map/control Phillip Susi
2010-11-10 15:08 ` Phillip Susi

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