btrfs-select-super (8)
Leading comments
Title: btrfs-select-super Author: [FIXME: author] [see http://docbook.sf.net/el/author] Generator: DocBook XSL Stylesheets v1.79.0 <http://docbook.sf.net/> Date: 07/28/2017 Manual: Btrfs Manual Source: Btrfs v4.12 Language: English
NAME
btrfs-select-super - overwrite superblock with a backupSYNOPSIS
btrfs-select-super -s number dev
DESCRIPTION
btrfs-select-super destructively overwrites all copies of the superblock with a specified copy. This helps with certain cases of damage, especially when barriers were disabled during a power failure. You can find a valid copy of the superblock with btrfs check -s.
The filesystem specified by dev must not be mounted.
OPTIONS
-s|--super <superblock>
- use <superblock>th superblock copy, valid values are 0 up to 2 if the respective superblock offset is within the filesystem
SEE ALSO
btrfsck check(8)