mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-03 00:00:07 +03:00
27 lines
762 B
Groff
27 lines
762 B
Groff
|
.TH make-bcache 8
|
||
|
.SH NAME
|
||
|
make-bcache \- create a cache device
|
||
|
.SH SYNOPSIS
|
||
|
.B make-bcache
|
||
|
[\fB \-U\ \fIUUID\fR ]
|
||
|
[\fB \-b\ \fIbucket-size\fR ]
|
||
|
.I device
|
||
|
.SH OPTIONS
|
||
|
.TP
|
||
|
.BR \-C
|
||
|
Create a cache
|
||
|
.TP
|
||
|
.BR \-B
|
||
|
Create a backing device (kernel functionality not yet implemented)
|
||
|
.TP
|
||
|
.BR \-U\ \fIUUID
|
||
|
Create a cache device with the specified UUID
|
||
|
.TP
|
||
|
.BR \-b\ \fIbucket-size
|
||
|
Spcifies the bucket size. Allocation is done in terms of buckets, and cache
|
||
|
hits are counted per bucket; thus a smaller bucket size will give better cache
|
||
|
utilization, but poorer write performance. The bucket size is intended to be
|
||
|
equal to the size of your SSD's erase blocks, which seems to be 128k-512k for
|
||
|
most SSDs. Must be a power of two; accepts human readable units. Defaults to
|
||
|
128k.
|