On Fri, Apr 15, 2016 at 05:42:21PM +0200, Niccolò Belli wrote:
> Hi,
> Is it 100% safe to run a btrfs check without --repair?
> Because otherwise I will have to wait for my new external drive to
> arrive and make a backup first.

   Yes, it's safe, unless there's some underlying hardware problem
that would cause the hardware to break even more by exercising it.

   For added peace of mind, use --readonly, which does nothing itself,
but conflicts with all of the options that might change things.

   Hugo.

> Thanks,
> Niccolò
> 
> On venerdì 15 aprile 2016 11:30:32 CEST, Qu Wenruo wrote:
> >Would you please run "btrfs check --readonly <your dm0>" and paste
> >the output?
> >
> >The dmesg seems very impossible:
> >
> >>BTRFS error (device dm-0): bad tree block start 245497856 245498111
> >
> >The later one is not even aligned to 2.
> >
> >But you system still seems mountable as you succeeded in running
> >btrfs scrub.
> >
> >So I assume either the tree block is not a critical one or the
> >copy saved you.
> >
> >Thanks,
> >Qu

-- 
Hugo Mills             | What part of "gestalt" don't you understand?
hugo@... carfax.org.uk |
http://carfax.org.uk/  |
PGP: E2AB1DE4          |

Attachment: signature.asc
Description: Digital signature

Reply via email to