News

BTRFS – btrfsck, and checking latest version

0

USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE AT YOUR OWN RISK)

To check if you need to upgrade your btrfs-tools, just run btrfsck –help and look at the options, if you have like no options then update it as you are behind

BEHIND – need to update:

CAUGHT UP – good to go (might still have newer versions out there, run btrfs without any options to see version number):

Note: I assume your volume is called /dev/sda3

To do a readonly harmless check (this is in both old and new btrfsck version, just run it without parameters):

To fix checksum issues use –fix-crc like this:

To fix other general issues:

NOTE: Beware first I would try mount options, this btrfsck might just blend up your situation to a worse situation so try the “restore mounts” first followed by “btrfs restore”, if the data is not critical then just try the repair: CLICK HERE FOR THAT ARTICLE

TIP: have your swap mounted, lots of ram is a plus

TO GET LATEST TOOLS:

Go HERE

Bonnie++ storage performance io test tool

Previous article

LINUX – How to clone a disk with ddrescue – gnu ddrescue also known as gddrescue – the better ddrescue tool

Next article

You may also like

Comments

Leave a reply

Your email address will not be published. Required fields are marked *

More in News