table of contents
other versions
- jessie-backports 4.7.3-1~bpo8+1
- stretch 4.7.3-1
- testing 4.20.1-2
- stretch-backports 4.17-1~bpo9+1+b1
- unstable 4.20.2-1
BTRFS-SELECT-SUPER(8) | Btrfs Manual | BTRFS-SELECT-SUPER(8) |
NAME¶
btrfs-select-super - overwrite primary superblock with a backup copySYNOPSIS¶
btrfs-select-super -s number <device>DESCRIPTION¶
Destructively overwrite all copies of the superblock with a specified copy. This helps in certain cases, for example when write barriers were disabled during a power failure and not all superblocks were written, or if the primary superblock is damaged, eg. accidentally overwritten. The filesystem specified by device must not be mounted.•primary: 64KiB (65536)
•1st copy: 64MiB (67108864)
•2nd copy: 256GiB (274877906944)
A superblock size is 4KiB (4096).
OPTIONS¶
-s|--super <superblock>use 'superblock’th superblock copy, valid values
are 0 1 or 2 if the respective superblock offset is within the device
size
SEE ALSO¶
btrfs-inspect-internal(8), btrfsck check(8)10/02/2016 | Btrfs v4.7.3 |