2014-04-02 08:29:34 +00:00
|
|
|
btrfstune(8)
|
|
|
|
============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
btrfstune - tune various btrfs filesystem parameters
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfstune* [options] <dev> [<dev>...]
|
2014-04-02 08:29:34 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfstune* is used to tune various btrfs filesystem parameters,you can
|
2014-04-02 08:29:34 +00:00
|
|
|
enable/disable some extended features for btrfs.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-S <value>::
|
2014-05-21 08:03:57 +00:00
|
|
|
Updates the seeding value.
|
|
|
|
A positive value will enable seeding, zero will disable seeding, negtive is not allowed.
|
|
|
|
Enable seeding forces a fs readonly so that you can use it to build other filesystems.
|
2014-04-02 08:29:34 +00:00
|
|
|
-r::
|
|
|
|
Enable extended inode refs.
|
|
|
|
-x::
|
|
|
|
Enable skinny metadata extent refs.
|
2014-07-07 01:54:53 +00:00
|
|
|
-f::
|
2015-01-19 07:27:30 +00:00
|
|
|
Allow dangerous changes, e.g. clear the seeding flag. Make sure that you are
|
|
|
|
aware of the dangers.
|
2014-04-02 08:29:34 +00:00
|
|
|
|
2014-07-07 01:54:53 +00:00
|
|
|
When mounting the new device, btrfs will check whether the seeding flag is set
|
|
|
|
when try to open seeding device. If the user clears the seeding flag of the
|
|
|
|
seeding device, the new device will not be mountable. Even setting the seeding
|
|
|
|
flag back will not fix this problem, because the generation will be changed at
|
|
|
|
that time. Clear the seeding flag may damage the new filesystem.
|
2014-04-02 08:29:34 +00:00
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfstune* will return 0 if no error happened.
|
2014-04-02 08:29:34 +00:00
|
|
|
If any problems happened, 1 will be returned.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
`mkfs.btrfs`(8)
|